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

ARM: dts: lpc4350-hitex-eval: 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 /pca_buttons/button@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@4 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@5 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@6 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button@7 has a unit name, but no reg property

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

+9 -9
+9 -9
arch/arm/boot/dts/lpc4350-hitex-eval.dts
··· 45 45 poll-interval = <100>; 46 46 autorepeat; 47 47 48 - button@0 { 48 + button0 { 49 49 label = "joy:right"; 50 50 linux,code = <KEY_RIGHT>; 51 51 gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>; 52 52 }; 53 53 54 - button@1 { 54 + button1 { 55 55 label = "joy:up"; 56 56 linux,code = <KEY_UP>; 57 57 gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>; 58 58 }; 59 59 60 60 61 - button@2 { 61 + button2 { 62 62 label = "joy:enter"; 63 63 linux,code = <KEY_ENTER>; 64 64 gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>; 65 65 }; 66 66 67 - button@3 { 67 + button3 { 68 68 label = "joy:left"; 69 69 linux,code = <KEY_LEFT>; 70 70 gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>; 71 71 }; 72 72 73 - button@4 { 73 + button4 { 74 74 label = "joy:down"; 75 75 linux,code = <KEY_DOWN>; 76 76 gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>; 77 77 }; 78 78 79 - button@5 { 79 + button5 { 80 80 label = "user:sw3"; 81 81 linux,code = <KEY_F1>; 82 82 gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>; 83 83 }; 84 84 85 - button@6 { 85 + button6 { 86 86 label = "user:sw4"; 87 87 linux,code = <KEY_F2>; 88 88 gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>; 89 89 }; 90 90 91 - button@7 { 91 + button7 { 92 92 label = "user:sw5"; 93 93 linux,code = <KEY_F3>; 94 94 gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>; ··· 453 453 pinctrl-names = "default"; 454 454 pinctrl-0 = <&spifi_pins>; 455 455 456 - flash@0 { 456 + flash { 457 457 compatible = "jedec,spi-nor"; 458 458 spi-rx-bus-width = <4>; 459 459 #address-cells = <1>;