tests: drivers: gpio: fix cs gpios reg property

Adjust the reg of the CS gpios to fix the warning
about the same value used for all existing nodes.

Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
This commit is contained in:
Bartosz Bilas 2023-11-06 08:43:38 +01:00 committed by Carles Cufí
commit 00badc243d

View file

@ -221,30 +221,30 @@
ngpios = <16>; ngpios = <16>;
}; };
test_spi_mcp23sxx: mcp23sxx@0 { test_spi_mcp23sxx: mcp23sxx@1 {
compatible = "microchip,mcp23sxx"; compatible = "microchip,mcp23sxx";
spi-max-frequency = <0>; spi-max-frequency = <0>;
reg = <0x0>; reg = <0x01>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
ngpios = <16>; ngpios = <16>;
}; };
test_spi_bd8lb600fs: bd8lb600fs@0 { test_spi_bd8lb600fs: bd8lb600fs@2 {
compatible = "rohm,bd8lb600fs"; compatible = "rohm,bd8lb600fs";
spi-max-frequency = <0>; spi-max-frequency = <0>;
reg = <0x0>; reg = <0x02>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
ngpios = <8>; ngpios = <8>;
reset-gpios = <&test_gpio 0 0>; reset-gpios = <&test_gpio 0 0>;
}; };
test_spi_ads114s08: ads114s08@0 { test_spi_ads114s08: ads114s08@3 {
compatible = "ti,ads114s08"; compatible = "ti,ads114s08";
status = "okay"; status = "okay";
spi-max-frequency = <10000000>; spi-max-frequency = <10000000>;
reg = <0x0>; reg = <0x03>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
#io-channel-cells = <1>; #io-channel-cells = <1>;