Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: lpc4357-ea4357: fix unit name warnings from dtc

Fix the following warnings from dtc by either adding or removing
the unit name from the node.

Warning (unit_address_vs_reg): Node /soc/flash-controller@40003000/flash@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@4 has a unit name, but no reg property

Signed-off-by: Joachim Eastwood <manabian@gmail.com>

+6 -6
+6 -6
arch/arm/boot/dts/lpc4357-ea4357-devkit.dts
··· 62 62 poll-interval = <100>; 63 63 autorepeat; 64 64 65 - button@0 { 65 + button0 { 66 66 label = "joy_enter"; 67 67 linux,code = <KEY_ENTER>; 68 68 gpios = <&gpio LPC_GPIO(4,8) GPIO_ACTIVE_LOW>; 69 69 }; 70 70 71 - button@1 { 71 + button1 { 72 72 label = "joy_left"; 73 73 linux,code = <KEY_LEFT>; 74 74 gpios = <&gpio LPC_GPIO(4,9) GPIO_ACTIVE_LOW>; 75 75 }; 76 76 77 - button@2 { 77 + button2 { 78 78 label = "joy_up"; 79 79 linux,code = <KEY_UP>; 80 80 gpios = <&gpio LPC_GPIO(4,10) GPIO_ACTIVE_LOW>; 81 81 }; 82 82 83 - button@3 { 83 + button3 { 84 84 label = "joy_right"; 85 85 linux,code = <KEY_RIGHT>; 86 86 gpios = <&gpio LPC_GPIO(4,12) GPIO_ACTIVE_LOW>; 87 87 }; 88 88 89 - button@4 { 89 + button4 { 90 90 label = "joy_down"; 91 91 linux,code = <KEY_DOWN>; 92 92 gpios = <&gpio LPC_GPIO(4,13) GPIO_ACTIVE_LOW>; ··· 584 584 pinctrl-names = "default"; 585 585 pinctrl-0 = <&spifi_pins>; 586 586 587 - flash@0 { 587 + flash { 588 588 compatible = "jedec,spi-nor"; 589 589 spi-cpol; 590 590 spi-cpha;