Add Broadcom / Netgear changes from RAXE 1.0.0.48
[project/bcm63xx/u-boot.git] / arch / arm / dts / bcm947622ref1sg.dts
diff --git a/arch/arm/dts/bcm947622ref1sg.dts b/arch/arm/dts/bcm947622ref1sg.dts
new file mode 100644 (file)
index 0000000..4bbbc24
--- /dev/null
@@ -0,0 +1,228 @@
+
+/dts-v1/;
+
+#include "bcm47622-pinctrl.dtsi"
+
+/ {
+       model = "Broadcom bcm947622";
+       compatible = "broadcom,bcm947622" ,"bcmbrcm,brcm-v7";
+       #address-cells = <0x1>;
+       #size-cells = <0x1>;
+
+       aliases {
+               serial0 = &uart0;
+               spi0 = &hsspi;
+       };
+
+
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
+       memory {
+               device_type = "memory";
+               reg = <0x0 0x20000000>;
+       };
+
+       clocks {
+               compatible = "simple-bus";
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges;
+               u-boot,dm-pre-reloc;
+
+               periph_osc: periph-osc {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <200000000>;
+                       u-boot,dm-pre-reloc;
+               };
+
+               hsspi_pll: hsspi-pll {
+                       compatible = "fixed-factor-clock";
+                       #clock-cells = <0>;
+                       clocks = <&periph_osc>;
+                       clock-mult = <1>;
+                       clock-div = <1>;
+               };
+
+               refclk50mhz: refclk50mhz {
+                       compatible = "fixed-clock";
+                       #clock-cells = <0>;
+                       clock-frequency = <50000000>;
+               };
+       };
+
+       ubus@ff800000 {
+               compatible = "simple-bus";
+               #address-cells = <0x1>;
+               #size-cells = <0x1>;
+               u-boot,dm-pre-reloc;
+
+               uart0: serial@ff812000 {        
+                       u-boot,dm-pre-reloc;
+                       compatible = "arm,pl011", "arm,primecell";
+                       reg = <0xff812000 0x1000>;
+                       clock = <50000000>;
+                       status = "okay";
+               };
+
+               wdt1: watchdog@ff800480 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0xff800480 0x14>;
+                       clocks = <&refclk50mhz>;
+               };
+
+               wdt2: watchdog@ff8004c0 {
+                       compatible = "brcm,bcm6345-wdt";
+                       reg = <0xff8004c0 0x14>;
+                       clocks = <&refclk50mhz>;
+               };
+
+               wdt-reboot {
+                       compatible = "wdt-reboot";
+                       wdt = <&wdt1>;
+               };
+
+               hsspi: spi@ff801000 {
+                       #address-cells = <0x1>;
+                       #size-cells = <0x0>;
+                       compatible = "brcm,bcm6328-hsspi";
+                       reg = <0xff801000 0x600>;
+                       clocks = <&hsspi_pll>, <&hsspi_pll>;
+                       clock-names = "hsspi", "pll";
+                       spi-max-frequency = <67000000>;
+                       num-cs = <0x8>;
+                       cs-gpios = <0x0 0x0>;
+                       status = "okay";
+               };
+
+               nand: nand-controller@ff801800 {
+                       compatible = "brcm,nand-bcmbca",
+                                    "brcm,brcmnand-v7.1",
+                                    "brcm,brcmnand";
+                       reg-names = "nand", "nand-int-base", "nand-cache";
+                       reg = <0xff801800 0x400>,
+                             <0xff802000 0x10>,
+                             <0xff801c00 0x200>;
+                       parameter-page-big-endian = <0>;
+                       status = "okay";
+                       write-protect = <0>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+
+                       nandcs@0 {
+                               compatible = "brcm,nandcs";
+                               reg = <0>;
+                               nand-ecc-strength = <4>;
+                               nand-ecc-step-size = <512>;
+                               brcm,nand-oob-sector-size = <16>;
+                       };
+               };
+
+               sdhci: sdhci@ff810000 {
+                       compatible = "brcm,bcm63xx-sdhci",
+                                    "brcm,sdhci-brcmbca";
+                       reg-names = "sdhci-base", "sdhci-boot";
+                       reg = <0xff810000 0x100>,
+                             <0xff810200 0x40>;        
+                       bus-width = <8>;
+                       u-boot,dm-pre-reloc;
+               };
+       sysport: systemport@0x80400000 {
+               compatible = "brcm,bcmbca-systemport-v2.0";
+               sphy-available=<0x01>;
+               reg-names =
+               "systemport-rbuf-base",
+               "systemport-rdma-base",
+               "systemport-tdma-base",
+               "systemport-umac-base",
+               "systemport-topctrl-base",
+               "systemport1-rbuf-base",
+               "systemport1-rdma-base",
+               "systemport1-tdma-base",
+               "systemport1-umac-base",
+               "systemport1-topctrl-base",
+               "systemport-switchmdio-base",
+               "sphy-ctrl",
+               "phy-test-ctrl";
+               reg =   <0x80400400 0x14>,
+                       <0x80402000 0x1300>,
+                       <0x80404000 0x8ff>,
+                       <0x80400800 0x350>,
+                       <0x80400000 0x40>,
+                   <0x80500400 0x14>,
+                       <0x80502000 0x1300>,
+                       <0x80504000 0x8ff>,
+                       <0x80500800 0x350>,
+                       <0x80500000 0x40>,
+                       <0x80411300 0x10>,
+                       <0x804110c0 0x04>,
+                       <0x804110bc 0x04>;
+               phy_base = <0x8>;
+               phy_wkard_timeout = <25000>;
+               ethsw = <&switch_ext>;
+               };
+
+       switch_ext:switch_ext {
+               compatible = "brcm,bcmbca-extsw";
+               pinctrl-0 = <&xmii_1_pins>;
+               pinctrl-names="default";
+               reg-names ="systemport-serdes-cntrl";
+               reg = <0x804110a8 0x8>;
+               extswsgmii_addr = <0x6>;
+       };
+
+       pinctrl: pinctrl {
+               compatible = "brcm,bcmbca-pinctrl";
+               reg = <0xff800554 0x14>;
+               };
+
+       boot_state {
+               u-boot,dm-pre-reloc;
+               compatible = "brcm,bcmbca-bootstate-v2";
+               reg-names = "reset_reason", "reset_status";
+               reg =   <0x00 0xff802628 0x00 0x04>,
+                       <0x00 0xff85a03c 0x00 0x04>;
+               };
+
+       usb_ctrl:usb_ctrl {
+               compatible = "brcm,bcmbca-usb-ctrl";
+               reg-names = "usb-ctrl";
+               reg = <0x8000c200 0x100>;
+               pwron-bias-pull-up;
+               status = "okay";
+               };
+
+       usb0: usb@0x8000c300 {
+               compatible = "brcm,bcmbca-ehci";
+               reg-names = "usb-ehci";
+               reg = <0x8000c300 0x100>;
+               status = "okay";
+               pinctrl-0 = <&usb0_pwr_pins>;
+               pinctrl-names="default";
+               };
+
+       usb1: usb@0x8000c500 {
+               compatible = "brcm,bcmbca-ehci";
+               reg-names = "usb-ehci";
+               reg = <0x8000c500 0x100>;
+               status = "okay";
+               pinctrl-0 = <&usb1_pwr_pins>;
+               pinctrl-names="default";
+               };
+
+       usb_ohci0: usb_ohci@0x8000c400 {
+               compatible = "brcm,bcmbca-ohci";
+               reg-names = "usb-ohci";
+               reg = <0x8000c400 0x100>;
+               };
+
+       usb_ohci1: usb_ohci@0x8000c600 {
+               compatible = "brcm,bcmbca-ohci";
+               reg-names = "usb-ohci";
+               reg = <0x8000c600 0x100>;
+               };
+       };
+
+};