Skip to content

Commit 6779bd7

Browse files
notropopcornmix
authored andcommitted
BCM270X_DT: Add bcm2835-pm-wdt and bcm2835-rng
This makes it possible to use the mainline watchdog and random generator drivers: dtparam=watchdog=on dtparam=random=on bcm2708_wdog and bcm2708-rng can still be used. Signed-off-by: Noralf Trønnes <noralf@tronnes.org>
1 parent 34638ff commit 6779bd7

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

arch/arm/boot/dts/bcm2708-rpi-b-plus.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,7 @@
124124
pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
125125

126126
audio = <&audio>,"status";
127+
watchdog = <&watchdog>,"status";
128+
random = <&random>,"status";
127129
};
128130
};

arch/arm/boot/dts/bcm2708-rpi-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,7 @@
114114
act_led_trigger = <&act_led>,"linux,default-trigger";
115115

116116
audio = <&audio>,"status";
117+
watchdog = <&watchdog>,"status";
118+
random = <&random>,"status";
117119
};
118120
};

arch/arm/boot/dts/bcm2708_common.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@
4343
#interrupt-cells = <2>;
4444
};
4545

46+
watchdog: watchdog@7e100000 {
47+
compatible = "brcm,bcm2835-pm-wdt";
48+
reg = <0x7e100000 0x28>;
49+
status = "disabled";
50+
};
51+
52+
random: rng@7e104000 {
53+
compatible = "brcm,bcm2835-rng";
54+
reg = <0x7e104000 0x10>;
55+
status = "disabled";
56+
};
57+
4658
mailbox: mailbox@7e00b800 {
4759
compatible = "brcm,bcm2708-vcio";
4860
reg = <0x7e00b880 0x40>;

arch/arm/boot/dts/bcm2709-rpi-2-b.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,5 +124,7 @@
124124
pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
125125

126126
audio = <&audio>,"status";
127+
watchdog = <&watchdog>,"status";
128+
random = <&random>,"status";
127129
};
128130
};

0 commit comments

Comments
 (0)