Minor improvements in ARM DTS for v6.2, part two

Few cleanups which should not have any functional impact:
 1. Trim addresses in "reg" to 8 digits.
 2. Align LED node names with dtschema.
 3. omap: echo: Use preferred enable-gpios property for LP5523 LED.
 -----BEGIN PGP SIGNATURE-----
 
 iQJEBAABCgAuFiEE3dJiKD0RGyM7briowTdm5oaLg9cFAmOMWdsQHGtyemtAa2Vy
 bmVsLm9yZwAKCRDBN2bmhouD1+bdD/43Q8ZSMReus2CDPPlM1sknklHHvlPvMbQX
 8o9NH9Bh1z1KXMDDmu2Xly26NnWsVm+UU5vfeyd6SmQIdoyK57W+EU/souKI3KOP
 1ehCA0XXTxIGtDOcpbud41z7CQQsxZ4+4Zo+1ljotlalDWHFvalbVkWPu4U0MZE7
 bDG/DQPOmk7cLCCXt1tuQ8g5UYsF0ViTI/bKYVez4yFJAgXf6htxVKoklQMUwU77
 W2vmJ6sAl1PjXnm/Zo9tzAe/AJSjsfrVdGeSLERVEqd061qijIlnHyhyNUxe1xhn
 5oAmyDF6W0Q7Y+shMLAwVrIhWhay/uTX4XgLcmaNbAYbn6FhBnU9NQpA2lbRYVUa
 9twiJlSxC+a4jzRk7rG4whDZb0Rnajqb+7WMnyEk2kRGlSq+8UqLZZH13D55D5jN
 FV75sTFxoXeXfTnwdLERyLsxyxpi87SWIzpa112X5ldM7sKgLfVhl582xDPmbRix
 OKKzL9pxXRgPBLZJKdaezfbxTnkA4+SwOe4StN4HQCMMNCsbd1RBvxMoPVvvJSA/
 uDIgOzxq7bQXftmjMMWCIWzgr16Q+FwddOV0ktM5wmSfWBmdkeVOtztojP3PHyUI
 4lMh4a0NxJ4Gm00QjqaM1AmxvgnDw5WbkKNcygXB64NT0qo2EItFRtsNVA586Kvs
 VaWZy33vZw==
 =TERX
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCgAdFiEEo6/YBQwIrVS28WGKmmx57+YAGNkFAmOMjAEACgkQmmx57+YA
 GNmqDA/+KOknX4g8MM8lcMH4D+sTZdBfQlJt5Wjca1DSuXerVpSzfNph4Jn6i8d8
 ic1hSIH5HNi9LS4/Fvf5Js8Yc82VjcJG+BGz2xNPbOeO7n0b5/OsQeJJnNYG0EF+
 26xtVhWXC/wrmEpkbc6tOffKbKKtrHWZ3KhlXSA5aVD1nMl29hOYanEy+NrWZEKT
 hCrB0P+nV52DF9KvdUm5ZLrOhO3DB3o2BFeuJkG0Y1LbyGToNz5efRrU/RKaeBt/
 jps8Rhea7brneqqepdEOcrRte7NCKWk4zaptVQWWX4Wu+0H5W76i78aaKs6kquVn
 rmvIP+4zW/dEJmfkMmh4z2Mt4HRFd9C5O1vlWOAPPa2yTmTwxSvimOc4Ns9bfFJZ
 LUbG1bt1TcEykFG5zKJ6cL/YNXexVnf/JJlX0RUbP1otr3BTvvC5G/4kEaKq8bf4
 SCFS38Yr83W1eXwEgqBD/fl6d4dsRJKmRX5pjYZg16x5IvCwxnvwjIa2oRlaGKGs
 sBL57pw7Z9IhalRMqqJpM0bt32jZEwcO8jWENCmicRTcCug5jUr5gr5p9luTLvwf
 Yffak5cuXujVqCdG8AiL4eurCQ4J1+TOwwqtkl87jm3Sh1xXTuPrh8M+WfKXVi1o
 nI0pCswqmxV+GVR8PCq0wADnxIGA+mjlmKORB8Qkvr8dRn1AGn8=
 =5zhf
 -----END PGP SIGNATURE-----

Merge tag 'dt-cleanup-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt into soc/dt

Minor improvements in ARM DTS for v6.2, part two

Few cleanups which should not have any functional impact:
1. Trim addresses in "reg" to 8 digits.
2. Align LED node names with dtschema.
3. omap: echo: Use preferred enable-gpios property for LP5523 LED.

* tag 'dt-cleanup-6.2-2' of https://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux-dt:
  ARM: dts: sti: align LED node names with dtschema
  ARM: dts: am335x: align LED node names with dtschema
  ARM: dts: omap: echo: use preferred enable-gpios for LP5523 LED
  ARM: dts: omap: align LED node names with dtschema
  ARM: dts: logicpd: align LED node names with dtschema
  ARM: dts: lpc32xx: trim addresses to 8 digits
  ARM: dts: imx: trim addresses to 8 digits
  ARM: dts: omap: trim addresses to 8 digits

Link: https://lore.kernel.org/r/20221204082909.5649-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2022-12-04 13:00:38 +01:00
commit 9ebe898a37
31 changed files with 57 additions and 57 deletions

View File

@ -17,18 +17,18 @@ leds {
compatible = "gpio-leds";
power {
led-power {
label = "onrisc:red:power";
linux,default-trigger = "default-on";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
default-state = "on";
};
wlan {
led-wlan {
label = "onrisc:blue:wlan";
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
default-state = "off";
};
app {
led-app {
label = "onrisc:green:app";
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
default-state = "off";

View File

@ -544,7 +544,7 @@ nand@0,0 {
#size-cells = <1>;
partition@0 {
label = "NAND.SPL";
reg = <0x00000000 0x000020000>;
reg = <0x00000000 0x00020000>;
};
partition@1 {
label = "NAND.SPL.backup1";

View File

@ -168,7 +168,7 @@ nand@0,0 {
/* MTD partition table */
partition@0 {
label = "SPL";
reg = <0x00000000 0x000080000>;
reg = <0x00000000 0x00080000>;
};
partition@1 {
@ -188,7 +188,7 @@ partition@3 {
partition@4 {
label = "File System";
reg = <0x00780000 0x007880000>;
reg = <0x00780000 0x07880000>;
};
};
};

View File

@ -23,28 +23,28 @@ leds {
compatible = "gpio-leds";
usr0 {
led-usr0 {
label = "beaglebone:green:usr0";
gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
usr1 {
led-usr1 {
label = "beaglebone:green:usr1";
gpios = <&gpio1 22 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";
default-state = "off";
};
usr2 {
led-usr2 {
label = "beaglebone:green:usr2";
gpios = <&gpio1 23 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "cpu0";
default-state = "off";
};
usr3 {
led-usr3 {
label = "beaglebone:green:usr3";
gpios = <&gpio1 24 GPIO_ACTIVE_HIGH>;
default-state = "off";

View File

@ -452,7 +452,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.U_BOOT";
reg = <0x00000000 0x000080000>;
reg = <0x00000000 0x00080000>;
};
partition@1 {
label = "QSPI.U_BOOT.backup";

View File

@ -763,7 +763,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.U_BOOT";
reg = <0x00000000 0x000080000>;
reg = <0x00000000 0x00080000>;
};
partition@1 {
label = "QSPI.U_BOOT.backup";

View File

@ -919,7 +919,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.U_BOOT";
reg = <0x00000000 0x000080000>;
reg = <0x00000000 0x00080000>;
};
partition@1 {
label = "QSPI.U_BOOT.backup";

View File

@ -542,7 +542,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.SPL";
reg = <0x00000000 0x000040000>;
reg = <0x00000000 0x00040000>;
};
partition@1 {
label = "QSPI.u-boot";

View File

@ -151,7 +151,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.SPL";
reg = <0x00000000 0x000010000>;
reg = <0x00000000 0x00010000>;
};
partition@1 {
label = "QSPI.SPL.backup1";

View File

@ -483,7 +483,7 @@ nand@0,0 {
#size-cells = <1>;
partition@0 {
label = "NAND.SPL";
reg = <0x00000000 0x000020000>;
reg = <0x00000000 0x00020000>;
};
partition@1 {
label = "NAND.SPL.backup1";

View File

@ -356,7 +356,7 @@ nand@0,0 {
#size-cells = <1>;
partition@0 {
label = "NAND.SPL";
reg = <0x00000000 0x000020000>;
reg = <0x00000000 0x00020000>;
};
partition@1 {
label = "NAND.SPL.backup1";
@ -490,7 +490,7 @@ flash@0 {
*/
partition@0 {
label = "QSPI.SPL";
reg = <0x00000000 0x000010000>;
reg = <0x00000000 0x00010000>;
};
partition@1 {
label = "QSPI.SPL.backup1";

View File

@ -1391,7 +1391,7 @@ pwm7: pwm@22ac000 {
pwm8: pwm@22b0000 {
compatible = "fsl,imx6sx-pwm", "fsl,imx27-pwm";
reg = <0x0022b0000 0x4000>;
reg = <0x022b0000 0x4000>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clks IMX6SX_CLK_PWM8>,
<&clks IMX6SX_CLK_PWM8>;

View File

@ -20,7 +20,7 @@ memory@80000000 {
leds {
compatible = "gpio-leds";
user0 {
led-user0 {
label = "user0";
gpios = <&twl_gpio 18 GPIO_ACTIVE_LOW>; /* LEDA */
linux,default-trigger = "none";

View File

@ -315,7 +315,7 @@ fab {
/* System Control Block */
scb {
compatible = "simple-bus";
ranges = <0x0 0x040004000 0x00001000>;
ranges = <0x0 0x40004000 0x00001000>;
#address-cells = <1>;
#size-cells = <1>;

View File

@ -28,18 +28,18 @@ aliases {
leds {
compatible = "gpio-leds";
pmu_stat {
led-pmu-stat {
label = "beagleboard::pmu_stat";
gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
};
heartbeat {
led-heartbeat {
label = "beagleboard::usr0";
gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* 150 -> D6 LED */
linux,default-trigger = "heartbeat";
};
mmc {
led-mmc {
label = "beagleboard::usr1";
gpios = <&gpio5 21 GPIO_ACTIVE_HIGH>; /* 149 -> D7 LED */
linux,default-trigger = "mmc0";

View File

@ -15,28 +15,28 @@ memory@80000000 {
leds {
compatible = "gpio-leds";
heartbeat {
led-heartbeat {
label = "devkit8000::led1";
gpios = <&gpio6 26 GPIO_ACTIVE_HIGH>; /* 186 -> LED1 */
default-state = "on";
linux,default-trigger = "heartbeat";
};
mmc {
led-mmc {
label = "devkit8000::led2";
gpios = <&gpio6 3 GPIO_ACTIVE_HIGH>; /* 163 -> LED2 */
default-state = "on";
linux,default-trigger = "none";
};
usr {
led-usr {
label = "devkit8000::led3";
gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>; /* 164 -> LED3 */
default-state = "on";
linux,default-trigger = "usr";
};
pmu_stat {
led-pmu-stat {
label = "devkit8000::pmu_stat";
gpios = <&twl_gpio 19 GPIO_ACTIVE_HIGH>; /* LEDB */
};

View File

@ -146,7 +146,7 @@ lp5523A: lp5523A@32 {
label = "q1";
reg = <0x32>;
clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
enable-gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */
enable-gpios = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */
multi-led@0 {
#address-cells = <1>;

View File

@ -49,7 +49,7 @@ cpu@0 {
leds {
compatible = "gpio-leds";
heartbeat {
led-heartbeat {
label = "debug::sleep";
gpios = <&gpio6 2 GPIO_ACTIVE_HIGH>; /* 162 */
linux,default-trigger = "default-on";

View File

@ -17,19 +17,19 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
gpio148 {
led-gpio148 {
label = "overo:red:gpio148";
gpios = <&gpio5 20 GPIO_ACTIVE_HIGH>; /* gpio 148 */
};
gpio150 {
led-gpio150 {
label = "overo:yellow:gpio150";
gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>; /* gpio 150 */
};
gpio151 {
led-gpio151 {
label = "overo:blue:gpio151";
gpios = <&gpio5 23 GPIO_ACTIVE_HIGH>; /* gpio 151 */
};
gpio170 {
led-gpio170 {
label = "overo:green:gpio170";
gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* gpio 170 */
};

View File

@ -17,12 +17,12 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
linux,default-trigger = "heartbeat";
};
gpio22 {
led-gpio22 {
label = "overo:blue:gpio22";
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
};

View File

@ -17,12 +17,12 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
linux,default-trigger = "heartbeat";
};
gpio22 {
led-gpio22 {
label = "overo:blue:gpio22";
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
};

View File

@ -17,12 +17,12 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
linux,default-trigger = "heartbeat";
};
gpio22 {
led-gpio22 {
label = "overo:blue:gpio22";
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
};

View File

@ -17,12 +17,12 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
linux,default-trigger = "heartbeat";
};
gpio22 {
led-gpio22 {
label = "overo:blue:gpio22";
gpios = <&gpio1 22 GPIO_ACTIVE_LOW>; /* gpio_22 */
};

View File

@ -15,7 +15,7 @@ leds {
compatible = "gpio-leds";
pinctrl-names = "default";
pinctrl-0 = <&led_pins>;
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>; /* gpio_21 */
linux,default-trigger = "heartbeat";

View File

@ -13,7 +13,7 @@
/ {
leds {
compatible = "gpio-leds";
heartbeat {
led-heartbeat {
label = "overo:red:gpio21";
gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";

View File

@ -49,13 +49,13 @@ leds: leds {
&led_wkgpio_pins
>;
heartbeat {
led-heartbeat {
label = "pandaboard::status1";
gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
mmc {
led-mmc {
label = "pandaboard::status2";
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "mmc0";

View File

@ -79,10 +79,10 @@ &led_gpio_pins
&led_wkgpio_pins
>;
heartbeat {
led-heartbeat {
gpios = <&gpio4 14 GPIO_ACTIVE_HIGH>;
};
mmc {
led-mmc {
gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
};
};

View File

@ -27,26 +27,26 @@ aliases {
leds {
compatible = "gpio-leds";
user_green_1 {
led-user-green-1 {
label = "User_green_1";
gpios = <&pio1 3 GPIO_ACTIVE_LOW>;
linux,default-trigger = "heartbeat";
default-state = "off";
};
user_green_2 {
led-user-green-2 {
label = "User_green_2";
gpios = <&pio4 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
user_green_3 {
led-user-green-3 {
label = "User_green_3";
gpios = <&pio2 1 GPIO_ACTIVE_LOW>;
default-state = "off";
};
user_green_4 {
led-user-green-4 {
label = "User_green_4";
gpios = <&pio2 5 GPIO_ACTIVE_LOW>;
default-state = "off";

View File

@ -26,12 +26,12 @@ aliases {
leds {
compatible = "gpio-leds";
red {
led-red {
label = "Front Panel LED";
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
led-green {
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};

View File

@ -76,7 +76,7 @@ aliases {
soc {
leds {
compatible = "gpio-leds";
green {
led-green {
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};

View File

@ -9,12 +9,12 @@
/ {
leds {
compatible = "gpio-leds";
red {
led-red {
label = "Front Panel LED";
gpios = <&pio4 1 GPIO_ACTIVE_HIGH>;
linux,default-trigger = "heartbeat";
};
green {
led-green {
gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off";
};