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>
This commit is contained in:
parent
eeadc20c6a
commit
3a572c4aa9
|
@ -45,50 +45,50 @@
|
||||||
poll-interval = <100>;
|
poll-interval = <100>;
|
||||||
autorepeat;
|
autorepeat;
|
||||||
|
|
||||||
button@0 {
|
button0 {
|
||||||
label = "joy:right";
|
label = "joy:right";
|
||||||
linux,code = <KEY_RIGHT>;
|
linux,code = <KEY_RIGHT>;
|
||||||
gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@1 {
|
button1 {
|
||||||
label = "joy:up";
|
label = "joy:up";
|
||||||
linux,code = <KEY_UP>;
|
linux,code = <KEY_UP>;
|
||||||
gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
button@2 {
|
button2 {
|
||||||
label = "joy:enter";
|
label = "joy:enter";
|
||||||
linux,code = <KEY_ENTER>;
|
linux,code = <KEY_ENTER>;
|
||||||
gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@3 {
|
button3 {
|
||||||
label = "joy:left";
|
label = "joy:left";
|
||||||
linux,code = <KEY_LEFT>;
|
linux,code = <KEY_LEFT>;
|
||||||
gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@4 {
|
button4 {
|
||||||
label = "joy:down";
|
label = "joy:down";
|
||||||
linux,code = <KEY_DOWN>;
|
linux,code = <KEY_DOWN>;
|
||||||
gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@5 {
|
button5 {
|
||||||
label = "user:sw3";
|
label = "user:sw3";
|
||||||
linux,code = <KEY_F1>;
|
linux,code = <KEY_F1>;
|
||||||
gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@6 {
|
button6 {
|
||||||
label = "user:sw4";
|
label = "user:sw4";
|
||||||
linux,code = <KEY_F2>;
|
linux,code = <KEY_F2>;
|
||||||
gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>;
|
||||||
};
|
};
|
||||||
|
|
||||||
button@7 {
|
button7 {
|
||||||
label = "user:sw5";
|
label = "user:sw5";
|
||||||
linux,code = <KEY_F3>;
|
linux,code = <KEY_F3>;
|
||||||
gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>;
|
gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>;
|
||||||
|
@ -453,7 +453,7 @@
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&spifi_pins>;
|
pinctrl-0 = <&spifi_pins>;
|
||||||
|
|
||||||
flash@0 {
|
flash {
|
||||||
compatible = "jedec,spi-nor";
|
compatible = "jedec,spi-nor";
|
||||||
spi-rx-bus-width = <4>;
|
spi-rx-bus-width = <4>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
|
|
Loading…
Reference in New Issue