[PATCH v2 2/8] arm: dts: lpc32xx: add labels to all defined peripheral nodes
Vladimir Zapolskiy
vz at mleia.com
Sat Oct 17 14:35:51 PDT 2015
To simplify writing of dts files for all lpc32xx.dtsi users who adjust
device node properties, add labels to all defined peripheral device
nodes in lpc32xx.dtsi.
Signed-off-by: Vladimir Zapolskiy <vz at mleia.com>
---
Changes from v1 to v2:
- none
arch/arm/boot/dts/lpc32xx.dtsi | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm/boot/dts/lpc32xx.dtsi b/arch/arm/boot/dts/lpc32xx.dtsi
index f35e982..00570b3 100644
--- a/arch/arm/boot/dts/lpc32xx.dtsi
+++ b/arch/arm/boot/dts/lpc32xx.dtsi
@@ -49,7 +49,7 @@
status = "disabled";
};
- dma at 31000000 {
+ dma: dma at 31000000 {
compatible = "arm,pl080", "arm,primecell";
reg = <0x31000000 0x1000>;
interrupts = <0x1c 0>;
@@ -58,21 +58,21 @@
/*
* Enable either ohci or usbd (gadget)!
*/
- ohci at 31020000 {
+ ohci: ohci at 31020000 {
compatible = "nxp,ohci-nxp", "usb-ohci";
reg = <0x31020000 0x300>;
interrupts = <0x3b 0>;
status = "disabled";
};
- usbd at 31020000 {
+ usbd: usbd at 31020000 {
compatible = "nxp,lpc3220-udc";
reg = <0x31020000 0x300>;
interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>;
status = "disabled";
};
- clcd at 31040000 {
+ clcd: clcd at 31040000 {
compatible = "arm,pl110", "arm,primecell";
reg = <0x31040000 0x1000>;
interrupts = <0x0e 0>;
@@ -118,7 +118,7 @@
reg = <0x20094000 0x1000>;
};
- sd at 20098000 {
+ sd: sd at 20098000 {
compatible = "arm,pl18x", "arm,primecell";
reg = <0x20098000 0x1000>;
interrupts = <0x0f 0>, <0x0d 0>;
@@ -243,7 +243,7 @@
status = "disabled";
};
- rtc at 40024000 {
+ rtc: rtc at 40024000 {
compatible = "nxp,lpc3220-rtc";
reg = <0x40024000 0x1000>;
interrupts = <0x34 0>;
@@ -256,7 +256,7 @@
#gpio-cells = <3>; /* bank, pin, flags */
};
- watchdog at 4003C000 {
+ watchdog: watchdog at 4003C000 {
compatible = "nxp,pnx4008-wdt";
reg = <0x4003C000 0x1000>;
};
@@ -268,21 +268,21 @@
* them
*/
- adc at 40048000 {
+ adc: adc at 40048000 {
compatible = "nxp,lpc3220-adc";
reg = <0x40048000 0x1000>;
interrupts = <0x27 0>;
status = "disabled";
};
- tsc at 40048000 {
+ tsc: tsc at 40048000 {
compatible = "nxp,lpc3220-tsc";
reg = <0x40048000 0x1000>;
interrupts = <0x27 0>;
status = "disabled";
};
- key at 40050000 {
+ key: key at 40050000 {
compatible = "nxp,lpc3220-key";
reg = <0x40050000 0x1000>;
interrupts = <54 0>;
--
2.1.4
More information about the linux-arm-kernel
mailing list