Add a sample DTS which will allow bootup of a board populated
with the BCM7445 chip.

Signed-off-by: Marc Carino <[email protected]>
Acked-by: Florian Fainelli <[email protected]>
---
 arch/arm/boot/dts/brcmstb-7445.dts |  115 ++++++++++++++++++++++++++++++++++++
 1 files changed, 115 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/brcmstb-7445.dts

diff --git a/arch/arm/boot/dts/brcmstb-7445.dts 
b/arch/arm/boot/dts/brcmstb-7445.dts
new file mode 100644
index 0000000..a8b74c5
--- /dev/null
+++ b/arch/arm/boot/dts/brcmstb-7445.dts
@@ -0,0 +1,115 @@
+/dts-v1/;
+/include/ "skeleton.dtsi"
+
+/ {
+       #address-cells = <0x1>;
+       #size-cells = <0x1>;
+       model = "Broadcom STB (7445)";
+       compatible = "brcm,brcmstb";
+       interrupt-parent = <&gic>;
+
+       chosen {
+               bootargs = "earlyprintk console=ttyS0,115200";
+       };
+
+       memory {
+               #address-cells = <0x1>;
+               #size-cells = <0x1>;
+               device_type = "memory";
+               reg = <0x0 0x40000000 0x40000000 0x40000000 0x80000000 
0x40000000>;
+       };
+
+       cpupll: cpupll@0 {
+               compatible = "fixed-clock";
+               #clock-cells = <0x0>;
+               clock-frequency = <1500000000>;
+       };
+
+       cpuclk: cpu-clk-div@0 {
+               compatible = "brcm,brcmstb-cpu-clk-div";
+               reg = <0xf03e257c 0x4>;
+               #clock-cells = <0x0>;
+               clocks = <&cpupll>;
+               div-table = <0x0 0x1 0x11 0x2 0x12 0x4 0x13 0x8 0x14 0x10>;
+       };
+
+       cpus {
+               #address-cells = <0x1>;
+               #size-cells = <0x0>;
+
+               cpu@0 {
+                       operating-points = <0x16e360 0x0
+                                                               0xb71b0 0x0
+                                                               0x5b8d8 0x0
+                                                               0x2dc6c 0x0
+                                                               0x16e36 0x0>;
+                       clocks = <&cpuclk>;
+                       device_type = "cpu";
+                       compatible = "brcm,brahma15";
+                       reg = <0x0>;
+                       clock-frequency = <1500000000>;
+               };
+
+               cpu@1 {
+                       device_type = "cpu";
+                       compatible = "brcm,brahma15";
+                       reg = <0x1>;
+                       clock-frequency = <1500000000>;
+               };
+
+               cpu@2 {
+                       device_type = "cpu";
+                       compatible = "brcm,brahma15";
+                       reg = <0x2>;
+                       clock-frequency = <1500000000>;
+               };
+
+               cpu@3 {
+                       device_type = "cpu";
+                       compatible = "brcm,brahma15";
+                       reg = <0x3>;
+                       clock-frequency = <1500000000>;
+               };
+       };
+
+       gic: interrupt-controller@ffd00000 {
+               compatible = "brcm,brahma15-gic", "arm,cortex-a15-gic";
+               interrupt-controller;
+               #interrupt-cells = <0x3>;
+               reg = <0xffd01000 0x1000 0xffd02000 0x2000>;
+       };
+
+       timer {
+               compatible = "arm,armv7-timer";
+               interrupts = <0x1 0xd 0xf08 0x1 0xe 0xf08 0x1 0xb 0xf08 0x1 0xa 
0xf08>;
+       };
+
+       serial@f0406b00 {
+               compatible = "ns16550a";
+               reg = <0xf0406b00 0x20>;
+               reg-shift = <0x2>;
+               reg-io-width = <0x4>;
+               interrupts = <0x0 0x4b 0x4>;
+               clock-frequency = <0x4d3f640>;
+       };
+
+       sun-top-ctrl@f0404000 {
+               compatible = "brcm,brcmstb-sun-top-ctrl";
+               reg = <0xf0404000 0x51c>;
+               reset-source-enable-reg = <0x304>;
+               sw-master-reset-reg = <0x308>;
+       };
+
+       cpu-biu-ctrl@f03e2400 {
+               compatible = "brcm,brcmstb-cpu-biu-ctrl";
+               reg = <0xf03e2400 0x5b4>;
+               cpu-reset-config-reg = <0x178>;
+               cpu0-pwr-zone-ctrl-reg = <0x88>;
+       };
+
+       hif-continuation@f0452000 {
+               compatible = "brcm,brcmstb-hif-continuation";
+               reg = <0xf0452000 0x100>;
+               stb-boot-hi-addr0-reg = <0x0>;
+       };
+};
-- 
1.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to