From: manabian@gmail.com (Joachim Eastwood)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 5/7] ARM: dts: lpc4350-hitex-eval: fix unit name warnings from dtc
Date: Wed, 30 Mar 2016 00:30:44 +0200 [thread overview]
Message-ID: <1459290646-3592-6-git-send-email-manabian@gmail.com> (raw)
In-Reply-To: <1459290646-3592-1-git-send-email-manabian@gmail.com>
Fix the following warnings from dtc by either adding or removing
the unit name from the node.
Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
Warning (unit_address_vs_reg): Node /soc/flash-controller at 40003000/flash at 0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 4 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 5 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 6 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /pca_buttons/button at 7 has a unit name, but no reg property
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
---
arch/arm/boot/dts/lpc4350-hitex-eval.dts | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boot/dts/lpc4350-hitex-eval.dts b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
index 6d0c698..cb65352 100644
--- a/arch/arm/boot/dts/lpc4350-hitex-eval.dts
+++ b/arch/arm/boot/dts/lpc4350-hitex-eval.dts
@@ -33,7 +33,7 @@
stdout-path = &uart0;
};
- memory {
+ memory at 28000000 {
device_type = "memory";
reg = <0x28000000 0x800000>; /* 8 MB */
};
@@ -45,50 +45,50 @@
poll-interval = <100>;
autorepeat;
- button at 0 {
+ button0 {
label = "joy:right";
linux,code = <KEY_RIGHT>;
gpios = <&pca_gpio 8 GPIO_ACTIVE_LOW>;
};
- button at 1 {
+ button1 {
label = "joy:up";
linux,code = <KEY_UP>;
gpios = <&pca_gpio 9 GPIO_ACTIVE_LOW>;
};
- button at 2 {
+ button2 {
label = "joy:enter";
linux,code = <KEY_ENTER>;
gpios = <&pca_gpio 10 GPIO_ACTIVE_LOW>;
};
- button at 3 {
+ button3 {
label = "joy:left";
linux,code = <KEY_LEFT>;
gpios = <&pca_gpio 11 GPIO_ACTIVE_LOW>;
};
- button at 4 {
+ button4 {
label = "joy:down";
linux,code = <KEY_DOWN>;
gpios = <&pca_gpio 12 GPIO_ACTIVE_LOW>;
};
- button at 5 {
+ button5 {
label = "user:sw3";
linux,code = <KEY_F1>;
gpios = <&pca_gpio 13 GPIO_ACTIVE_LOW>;
};
- button at 6 {
+ button6 {
label = "user:sw4";
linux,code = <KEY_F2>;
gpios = <&pca_gpio 14 GPIO_ACTIVE_LOW>;
};
- button at 7 {
+ button7 {
label = "user:sw5";
linux,code = <KEY_F3>;
gpios = <&pca_gpio 15 GPIO_ACTIVE_LOW>;
@@ -453,7 +453,7 @@
pinctrl-names = "default";
pinctrl-0 = <&spifi_pins>;
- flash at 0 {
+ flash {
compatible = "jedec,spi-nor";
spi-rx-bus-width = <4>;
#address-cells = <1>;
--
2.7.4
next prev parent reply other threads:[~2016-03-29 22:30 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-29 22:30 [PATCH 0/7] fix unit name warnings on lpc18xx Joachim Eastwood
2016-03-29 22:30 ` [PATCH 1/7] ARM: dts: armv7-m: add unit name to interrupt-controller Joachim Eastwood
2016-04-04 6:05 ` Uwe Kleine-König
2016-04-04 6:42 ` Joachim Eastwood
2016-04-04 6:51 ` Stefan Agner
2016-04-04 7:30 ` Uwe Kleine-König
2016-03-29 22:30 ` [PATCH 2/7] ARM: dts: skeleton: add unit name to memory node Joachim Eastwood
2016-03-30 10:12 ` Vladimir Zapolskiy
2016-03-30 11:06 ` Mark Rutland
2016-03-30 12:36 ` Joachim Eastwood
2016-03-30 13:06 ` Vladimir Zapolskiy
2016-03-30 13:41 ` Mark Rutland
2016-03-30 16:15 ` Joachim Eastwood
2016-03-30 17:06 ` Mark Rutland
2016-03-30 20:45 ` Joachim Eastwood
2016-03-31 10:38 ` Mark Rutland
2016-03-31 15:21 ` Joachim Eastwood
2016-03-31 16:34 ` Joachim Eastwood
2016-04-12 22:45 ` Rob Herring
2016-04-12 23:03 ` Joachim Eastwood
2016-03-31 16:27 ` Rob Herring
2016-03-31 16:31 ` Rob Herring
2016-03-31 16:33 ` Joachim Eastwood
2016-03-29 22:30 ` [PATCH 3/7] ARM: dts: lpc18xx: remove unit addresses from creg childs Joachim Eastwood
2016-03-29 22:30 ` [PATCH 4/7] ARM: dts: lpc4357-ea4357: fix unit name warnings from dtc Joachim Eastwood
2016-03-29 22:30 ` Joachim Eastwood [this message]
2016-03-29 22:30 ` [PATCH 6/7] ARM: dts: lpc4337-ciaa:: fix unit name warning " Joachim Eastwood
2016-03-29 22:30 ` [PATCH 7/7] dt-bindings: phy-lpc18xx-usb-otg: remove unit address from binding Joachim Eastwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1459290646-3592-6-git-send-email-manabian@gmail.com \
--to=manabian@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).