Skip to content

Commit 5923383

Browse files
BWhittencristibirsan
authored andcommitted
ARM: dts: at91: add labels to soc dtsi for derivative boards
This adds labels to commonly used device-tree nodes so that derivative boards can avoid ahb/apb hierarchy. Signed-off-by: Ben Whitten <ben.whitten@lairdtech.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 208f330 commit 5923383

2 files changed

Lines changed: 8 additions & 8 deletions

File tree

arch/arm/boot/dts/at91sam9x5.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -389,13 +389,13 @@
389389
};
390390
};
391391

392-
rstc@fffffe00 {
392+
reset_controller: rstc@fffffe00 {
393393
compatible = "atmel,at91sam9g45-rstc";
394394
reg = <0xfffffe00 0x10>;
395395
clocks = <&clk32k>;
396396
};
397397

398-
shdwc@fffffe10 {
398+
shutdown_controller: shdwc@fffffe10 {
399399
compatible = "atmel,at91sam9x5-shdwc";
400400
reg = <0xfffffe10 0x10>;
401401
clocks = <&clk32k>;
@@ -470,7 +470,7 @@
470470
clock-names = "dma_clk";
471471
};
472472

473-
pinctrl@fffff400 {
473+
pinctrl: pinctrl@fffff400 {
474474
#address-cells = <1>;
475475
#size-cells = <1>;
476476
compatible = "atmel,at91sam9x5-pinctrl", "atmel,at91rm9200-pinctrl", "simple-bus";
@@ -1206,7 +1206,7 @@
12061206
};
12071207
};
12081208

1209-
watchdog@fffffe40 {
1209+
watchdog: watchdog@fffffe40 {
12101210
compatible = "atmel,at91sam9260-wdt";
12111211
reg = <0xfffffe40 0x10>;
12121212
interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;

arch/arm/boot/dts/sama5d3.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@
494494
atmel,external-irqs = <47>;
495495
};
496496

497-
pinctrl@fffff200 {
497+
pinctrl: pinctrl@fffff200 {
498498
#address-cells = <1>;
499499
#size-cells = <1>;
500500
compatible = "atmel,sama5d3-pinctrl", "atmel,at91sam9x5-pinctrl", "simple-bus";
@@ -1340,13 +1340,13 @@
13401340
};
13411341
};
13421342

1343-
rstc@fffffe00 {
1343+
reset_controller: rstc@fffffe00 {
13441344
compatible = "atmel,sama5d3-rstc", "atmel,at91sam9g45-rstc";
13451345
reg = <0xfffffe00 0x10>;
13461346
clocks = <&clk32k>;
13471347
};
13481348

1349-
shutdown-controller@fffffe10 {
1349+
shutdown_controller: shutdown-controller@fffffe10 {
13501350
compatible = "atmel,at91sam9x5-shdwc";
13511351
reg = <0xfffffe10 0x10>;
13521352
clocks = <&clk32k>;
@@ -1359,7 +1359,7 @@
13591359
clocks = <&mck>;
13601360
};
13611361

1362-
watchdog@fffffe40 {
1362+
watchdog: watchdog@fffffe40 {
13631363
compatible = "atmel,at91sam9260-wdt";
13641364
reg = <0xfffffe40 0x10>;
13651365
interrupts = <4 IRQ_TYPE_LEVEL_HIGH 7>;

0 commit comments

Comments
 (0)