tests: drivers: build_all: display: clean up reg addresses
Clean up register addresses for devices defined as children of the dummy SPI bus, so that they start from zero. This ensures all SPI chip select gpio indices will be used Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
This commit is contained in:
parent
be23e70fff
commit
1893928d94
1 changed files with 4 additions and 4 deletions
|
@ -153,9 +153,9 @@
|
||||||
&test_gpio 0 3 &test_gpio 0 4 &test_gpio 0 5
|
&test_gpio 0 3 &test_gpio 0 4 &test_gpio 0 5
|
||||||
&test_gpio 0 6>;
|
&test_gpio 0 6>;
|
||||||
|
|
||||||
test_led_strip_0: lpd8806@2 {
|
test_led_strip_0: lpd8806@0 {
|
||||||
compatible = "greeled,lpd8806";
|
compatible = "greeled,lpd8806";
|
||||||
reg = <2>;
|
reg = <0>;
|
||||||
spi-max-frequency = <2000000>;
|
spi-max-frequency = <2000000>;
|
||||||
chain-length = <1>;
|
chain-length = <1>;
|
||||||
color-mapping = <LED_COLOR_ID_RED
|
color-mapping = <LED_COLOR_ID_RED
|
||||||
|
@ -163,9 +163,9 @@
|
||||||
LED_COLOR_ID_BLUE>;
|
LED_COLOR_ID_BLUE>;
|
||||||
};
|
};
|
||||||
|
|
||||||
test_led_strip_1: ws2812_spi@3 {
|
test_led_strip_1: ws2812_spi@1 {
|
||||||
compatible = "worldsemi,ws2812-spi";
|
compatible = "worldsemi,ws2812-spi";
|
||||||
reg = <3>;
|
reg = <1>;
|
||||||
spi-max-frequency = <2000000>;
|
spi-max-frequency = <2000000>;
|
||||||
spi-one-frame = <1>;
|
spi-one-frame = <1>;
|
||||||
spi-zero-frame = <1>;
|
spi-zero-frame = <1>;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue