|
@@ -32,6 +32,7 @@
|
|
|
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
+#include <dt-bindings/clock/bcm-cygnus.h>
|
|
|
|
|
|
#include "skeleton.dtsi"
|
|
|
|
|
@@ -54,197 +55,212 @@
|
|
|
|
|
|
/include/ "bcm-cygnus-clock.dtsi"
|
|
|
|
|
|
- pinctrl: pinctrl@0x0301d0c8 {
|
|
|
- compatible = "brcm,cygnus-pinmux";
|
|
|
- reg = <0x0301d0c8 0x30>,
|
|
|
- <0x0301d24c 0x2c>;
|
|
|
- };
|
|
|
-
|
|
|
- gpio_crmu: gpio@03024800 {
|
|
|
- compatible = "brcm,cygnus-crmu-gpio";
|
|
|
- reg = <0x03024800 0x50>,
|
|
|
- <0x03024008 0x18>;
|
|
|
- #gpio-cells = <2>;
|
|
|
- gpio-controller;
|
|
|
- };
|
|
|
-
|
|
|
- gpio_ccm: gpio@1800a000 {
|
|
|
- compatible = "brcm,cygnus-ccm-gpio";
|
|
|
- reg = <0x1800a000 0x50>,
|
|
|
- <0x0301d164 0x20>;
|
|
|
- #gpio-cells = <2>;
|
|
|
- gpio-controller;
|
|
|
- interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- interrupt-controller;
|
|
|
- };
|
|
|
+ core {
|
|
|
+ compatible = "simple-bus";
|
|
|
+ ranges = <0x00000000 0x19000000 0x1000000>;
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <1>;
|
|
|
|
|
|
- gpio_asiu: gpio@180a5000 {
|
|
|
- compatible = "brcm,cygnus-asiu-gpio";
|
|
|
- reg = <0x180a5000 0x668>;
|
|
|
- #gpio-cells = <2>;
|
|
|
- gpio-controller;
|
|
|
+ timer@20200 {
|
|
|
+ compatible = "arm,cortex-a9-global-timer";
|
|
|
+ reg = <0x20200 0x100>;
|
|
|
+ interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&periph_clk>;
|
|
|
+ };
|
|
|
|
|
|
- pinmux = <&pinctrl>;
|
|
|
+ gic: interrupt-controller@21000 {
|
|
|
+ compatible = "arm,cortex-a9-gic";
|
|
|
+ #interrupt-cells = <3>;
|
|
|
+ #address-cells = <0>;
|
|
|
+ interrupt-controller;
|
|
|
+ reg = <0x21000 0x1000>,
|
|
|
+ <0x20100 0x100>;
|
|
|
+ };
|
|
|
|
|
|
- interrupt-controller;
|
|
|
- interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ L2: l2-cache {
|
|
|
+ compatible = "arm,pl310-cache";
|
|
|
+ reg = <0x22000 0x1000>;
|
|
|
+ cache-unified;
|
|
|
+ cache-level = <2>;
|
|
|
+ };
|
|
|
};
|
|
|
|
|
|
- amba {
|
|
|
+ axi {
|
|
|
+ compatible = "simple-bus";
|
|
|
+ ranges;
|
|
|
#address-cells = <1>;
|
|
|
#size-cells = <1>;
|
|
|
- compatible = "arm,amba-bus", "simple-bus";
|
|
|
- interrupt-parent = <&gic>;
|
|
|
- ranges;
|
|
|
|
|
|
- wdt@18009000 {
|
|
|
- compatible = "arm,sp805" , "arm,primecell";
|
|
|
- reg = <0x18009000 0x1000>;
|
|
|
- interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&axi81_clk>;
|
|
|
- clock-names = "apb_pclk";
|
|
|
+ pinctrl: pinctrl@0x0301d0c8 {
|
|
|
+ compatible = "brcm,cygnus-pinmux";
|
|
|
+ reg = <0x0301d0c8 0x30>,
|
|
|
+ <0x0301d24c 0x2c>;
|
|
|
};
|
|
|
- };
|
|
|
|
|
|
- i2c0: i2c@18008000 {
|
|
|
- compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
|
|
|
- reg = <0x18008000 0x100>;
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <0>;
|
|
|
- interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
|
|
|
- clock-frequency = <100000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ gpio_crmu: gpio@03024800 {
|
|
|
+ compatible = "brcm,cygnus-crmu-gpio";
|
|
|
+ reg = <0x03024800 0x50>,
|
|
|
+ <0x03024008 0x18>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ };
|
|
|
|
|
|
- i2c1: i2c@1800b000 {
|
|
|
- compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
|
|
|
- reg = <0x1800b000 0x100>;
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <0>;
|
|
|
- interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
|
|
|
- clock-frequency = <100000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ i2c0: i2c@18008000 {
|
|
|
+ compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
|
|
|
+ reg = <0x18008000 0x100>;
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <0>;
|
|
|
+ interrupts = <GIC_SPI 85 IRQ_TYPE_NONE>;
|
|
|
+ clock-frequency = <100000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- pcie0: pcie@18012000 {
|
|
|
- compatible = "brcm,iproc-pcie";
|
|
|
- reg = <0x18012000 0x1000>;
|
|
|
+ wdt0: wdt@18009000 {
|
|
|
+ compatible = "arm,sp805" , "arm,primecell";
|
|
|
+ reg = <0x18009000 0x1000>;
|
|
|
+ interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&axi81_clk>;
|
|
|
+ clock-names = "apb_pclk";
|
|
|
+ };
|
|
|
|
|
|
- #interrupt-cells = <1>;
|
|
|
- interrupt-map-mask = <0 0 0 0>;
|
|
|
- interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>;
|
|
|
+ gpio_ccm: gpio@1800a000 {
|
|
|
+ compatible = "brcm,cygnus-ccm-gpio";
|
|
|
+ reg = <0x1800a000 0x50>,
|
|
|
+ <0x0301d164 0x20>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ interrupt-controller;
|
|
|
+ };
|
|
|
|
|
|
- linux,pci-domain = <0>;
|
|
|
+ i2c1: i2c@1800b000 {
|
|
|
+ compatible = "brcm,cygnus-iproc-i2c", "brcm,iproc-i2c";
|
|
|
+ reg = <0x1800b000 0x100>;
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <0>;
|
|
|
+ interrupts = <GIC_SPI 86 IRQ_TYPE_NONE>;
|
|
|
+ clock-frequency = <100000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- bus-range = <0x00 0xff>;
|
|
|
+ pcie0: pcie@18012000 {
|
|
|
+ compatible = "brcm,iproc-pcie";
|
|
|
+ reg = <0x18012000 0x1000>;
|
|
|
|
|
|
- #address-cells = <3>;
|
|
|
- #size-cells = <2>;
|
|
|
- device_type = "pci";
|
|
|
- ranges = <0x81000000 0 0 0x28000000 0 0x00010000
|
|
|
- 0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
|
|
|
+ #interrupt-cells = <1>;
|
|
|
+ interrupt-map-mask = <0 0 0 0>;
|
|
|
+ interrupt-map = <0 0 0 0 &gic GIC_SPI 100 IRQ_TYPE_NONE>;
|
|
|
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ linux,pci-domain = <0>;
|
|
|
|
|
|
- pcie1: pcie@18013000 {
|
|
|
- compatible = "brcm,iproc-pcie";
|
|
|
- reg = <0x18013000 0x1000>;
|
|
|
+ bus-range = <0x00 0xff>;
|
|
|
|
|
|
- #interrupt-cells = <1>;
|
|
|
- interrupt-map-mask = <0 0 0 0>;
|
|
|
- interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>;
|
|
|
+ #address-cells = <3>;
|
|
|
+ #size-cells = <2>;
|
|
|
+ device_type = "pci";
|
|
|
+ ranges = <0x81000000 0 0 0x28000000 0 0x00010000
|
|
|
+ 0x82000000 0 0x20000000 0x20000000 0 0x04000000>;
|
|
|
|
|
|
- linux,pci-domain = <1>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- bus-range = <0x00 0xff>;
|
|
|
+ pcie1: pcie@18013000 {
|
|
|
+ compatible = "brcm,iproc-pcie";
|
|
|
+ reg = <0x18013000 0x1000>;
|
|
|
|
|
|
- #address-cells = <3>;
|
|
|
- #size-cells = <2>;
|
|
|
- device_type = "pci";
|
|
|
- ranges = <0x81000000 0 0 0x48000000 0 0x00010000
|
|
|
- 0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
|
|
|
+ #interrupt-cells = <1>;
|
|
|
+ interrupt-map-mask = <0 0 0 0>;
|
|
|
+ interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_NONE>;
|
|
|
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ linux,pci-domain = <1>;
|
|
|
|
|
|
- uart0: serial@18020000 {
|
|
|
- compatible = "snps,dw-apb-uart";
|
|
|
- reg = <0x18020000 0x100>;
|
|
|
- reg-shift = <2>;
|
|
|
- reg-io-width = <4>;
|
|
|
- interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&axi81_clk>;
|
|
|
- clock-frequency = <100000000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ bus-range = <0x00 0xff>;
|
|
|
|
|
|
- uart1: serial@18021000 {
|
|
|
- compatible = "snps,dw-apb-uart";
|
|
|
- reg = <0x18021000 0x100>;
|
|
|
- reg-shift = <2>;
|
|
|
- reg-io-width = <4>;
|
|
|
- interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&axi81_clk>;
|
|
|
- clock-frequency = <100000000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ #address-cells = <3>;
|
|
|
+ #size-cells = <2>;
|
|
|
+ device_type = "pci";
|
|
|
+ ranges = <0x81000000 0 0 0x48000000 0 0x00010000
|
|
|
+ 0x82000000 0 0x40000000 0x40000000 0 0x04000000>;
|
|
|
|
|
|
- uart2: serial@18022000 {
|
|
|
- compatible = "snps,dw-apb-uart";
|
|
|
- reg = <0x18020000 0x100>;
|
|
|
- reg-shift = <2>;
|
|
|
- reg-io-width = <4>;
|
|
|
- interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&axi81_clk>;
|
|
|
- clock-frequency = <100000000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- uart3: serial@18023000 {
|
|
|
- compatible = "snps,dw-apb-uart";
|
|
|
- reg = <0x18023000 0x100>;
|
|
|
- reg-shift = <2>;
|
|
|
- reg-io-width = <4>;
|
|
|
- interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&axi81_clk>;
|
|
|
- clock-frequency = <100000000>;
|
|
|
- status = "disabled";
|
|
|
- };
|
|
|
+ uart0: serial@18020000 {
|
|
|
+ compatible = "snps,dw-apb-uart";
|
|
|
+ reg = <0x18020000 0x100>;
|
|
|
+ reg-shift = <2>;
|
|
|
+ reg-io-width = <4>;
|
|
|
+ interrupts = <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&axi81_clk>;
|
|
|
+ clock-frequency = <100000000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- nand: nand@18046000 {
|
|
|
- compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1", "brcm,brcmnand";
|
|
|
- reg = <0x18046000 0x600>, <0xf8105408 0x600>, <0x18046f00 0x20>;
|
|
|
- reg-names = "nand", "iproc-idm", "iproc-ext";
|
|
|
- interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ uart1: serial@18021000 {
|
|
|
+ compatible = "snps,dw-apb-uart";
|
|
|
+ reg = <0x18021000 0x100>;
|
|
|
+ reg-shift = <2>;
|
|
|
+ reg-io-width = <4>;
|
|
|
+ interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&axi81_clk>;
|
|
|
+ clock-frequency = <100000000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- #address-cells = <1>;
|
|
|
- #size-cells = <0>;
|
|
|
+ uart2: serial@18022000 {
|
|
|
+ compatible = "snps,dw-apb-uart";
|
|
|
+ reg = <0x18020000 0x100>;
|
|
|
+ reg-shift = <2>;
|
|
|
+ reg-io-width = <4>;
|
|
|
+ interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&axi81_clk>;
|
|
|
+ clock-frequency = <100000000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- brcm,nand-has-wp;
|
|
|
- };
|
|
|
+ uart3: serial@18023000 {
|
|
|
+ compatible = "snps,dw-apb-uart";
|
|
|
+ reg = <0x18023000 0x100>;
|
|
|
+ reg-shift = <2>;
|
|
|
+ reg-io-width = <4>;
|
|
|
+ interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ clocks = <&axi81_clk>;
|
|
|
+ clock-frequency = <100000000>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
|
|
|
- gic: interrupt-controller@19021000 {
|
|
|
- compatible = "arm,cortex-a9-gic";
|
|
|
- #interrupt-cells = <3>;
|
|
|
- #address-cells = <0>;
|
|
|
- interrupt-controller;
|
|
|
- reg = <0x19021000 0x1000>,
|
|
|
- <0x19020100 0x100>;
|
|
|
- };
|
|
|
+ nand: nand@18046000 {
|
|
|
+ compatible = "brcm,nand-iproc", "brcm,brcmnand-v6.1";
|
|
|
+ reg = <0x18046000 0x600>, <0xf8105408 0x600>,
|
|
|
+ <0x18046f00 0x20>;
|
|
|
+ reg-names = "nand", "iproc-idm", "iproc-ext";
|
|
|
+ interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
|
|
- L2: l2-cache {
|
|
|
- compatible = "arm,pl310-cache";
|
|
|
- reg = <0x19022000 0x1000>;
|
|
|
- cache-unified;
|
|
|
- cache-level = <2>;
|
|
|
- };
|
|
|
+ #address-cells = <1>;
|
|
|
+ #size-cells = <0>;
|
|
|
|
|
|
- timer@19020200 {
|
|
|
- compatible = "arm,cortex-a9-global-timer";
|
|
|
- reg = <0x19020200 0x100>;
|
|
|
- interrupts = <GIC_PPI 11 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
- clocks = <&periph_clk>;
|
|
|
- };
|
|
|
+ brcm,nand-has-wp;
|
|
|
+ };
|
|
|
|
|
|
+ gpio_asiu: gpio@180a5000 {
|
|
|
+ compatible = "brcm,cygnus-asiu-gpio";
|
|
|
+ reg = <0x180a5000 0x668>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+
|
|
|
+ pinmux = <&pinctrl>;
|
|
|
+
|
|
|
+ interrupt-controller;
|
|
|
+ interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ };
|
|
|
+
|
|
|
+ touchscreen: tsc@180a6000 {
|
|
|
+ compatible = "brcm,iproc-touchscreen";
|
|
|
+ reg = <0x180a6000 0x40>;
|
|
|
+ clocks = <&asiu_clks BCM_CYGNUS_ASIU_ADC_CLK>;
|
|
|
+ clock-names = "tsc_clk";
|
|
|
+ interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ status = "disabled";
|
|
|
+ };
|
|
|
+ };
|
|
|
};
|