diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 14:07:07 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-04-08 14:07:07 -0400 |
commit | e52ec42853697da0a363a20fad2087b8bfd6a43a (patch) | |
tree | cbc1fc1927e575e80c1e61d6fd7ffb9fc8f78273 /arch/arm/boot/dts/bcm2835.dtsi | |
parent | 9c23ad0d4e3ca505549f169b37f7d4e95321d0cc (diff) | |
parent | a1bf70828ea0547b4e3d7eaeb63ae3eb2400cb93 (diff) |
Merge tag 'bcm2835-for-3.10-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi into next/dt
From Stephen Warren <swarren@wwwdotorg.org>:
ARM: bcm2835: device tree updates
This branch adds two devices to the BCM2835 SoC device tree: the SPI
controller and the HW random number generator.
The SPI controller isn't actually instantiated in the Raspberry Pi
device tree, since there are no on-board SPI devices; it's up to the
end-user to modify their own device-tree to describe whatever they
have attached.
* tag 'bcm2835-for-3.10-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/swarren/linux-rpi:
ARM: bcm2835: add Broadcom BCM2835 RNG to the device tree
ARM: bcm2835: add SPI device to DT
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/boot/dts/bcm2835.dtsi')
-rw-r--r-- | arch/arm/boot/dts/bcm2835.dtsi | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm2835.dtsi b/arch/arm/boot/dts/bcm2835.dtsi index 7e0481e2441a..f0052dccf9a8 100644 --- a/arch/arm/boot/dts/bcm2835.dtsi +++ b/arch/arm/boot/dts/bcm2835.dtsi | |||
@@ -34,6 +34,11 @@ | |||
34 | reg = <0x7e100000 0x28>; | 34 | reg = <0x7e100000 0x28>; |
35 | }; | 35 | }; |
36 | 36 | ||
37 | rng { | ||
38 | compatible = "brcm,bcm2835-rng"; | ||
39 | reg = <0x7e104000 0x10>; | ||
40 | }; | ||
41 | |||
37 | uart@20201000 { | 42 | uart@20201000 { |
38 | compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; | 43 | compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell"; |
39 | reg = <0x7e201000 0x1000>; | 44 | reg = <0x7e201000 0x1000>; |
@@ -64,6 +69,16 @@ | |||
64 | #interrupt-cells = <2>; | 69 | #interrupt-cells = <2>; |
65 | }; | 70 | }; |
66 | 71 | ||
72 | spi: spi@20204000 { | ||
73 | compatible = "brcm,bcm2835-spi"; | ||
74 | reg = <0x7e204000 0x1000>; | ||
75 | interrupts = <2 22>; | ||
76 | clocks = <&clk_spi>; | ||
77 | #address-cells = <1>; | ||
78 | #size-cells = <0>; | ||
79 | status = "disabled"; | ||
80 | }; | ||
81 | |||
67 | i2c0: i2c@20205000 { | 82 | i2c0: i2c@20205000 { |
68 | compatible = "brcm,bcm2835-i2c"; | 83 | compatible = "brcm,bcm2835-i2c"; |
69 | reg = <0x7e205000 0x1000>; | 84 | reg = <0x7e205000 0x1000>; |
@@ -107,5 +122,12 @@ | |||
107 | #clock-cells = <0>; | 122 | #clock-cells = <0>; |
108 | clock-frequency = <250000000>; | 123 | clock-frequency = <250000000>; |
109 | }; | 124 | }; |
125 | |||
126 | clk_spi: spi { | ||
127 | compatible = "fixed-clock"; | ||
128 | reg = <2>; | ||
129 | #clock-cells = <0>; | ||
130 | clock-frequency = <250000000>; | ||
131 | }; | ||
110 | }; | 132 | }; |
111 | }; | 133 | }; |