diff options
author | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-15 02:00:20 +0000 |
---|---|---|
committer | blogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2012-12-15 02:00:20 +0000 |
commit | 6732edcca73cd5ebf1f780c77b963efb5dc13731 (patch) | |
tree | 7d5b7745909dbb0c15b0c0802a5d926dbf90d4bf /target/linux/lantiq/image/danube.dtsi | |
parent | 3dff3e116ef1eb11c2165c9df5a31b06d9c4e537 (diff) |
[lantiq] add devicetrees
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34691 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/lantiq/image/danube.dtsi')
-rw-r--r-- | target/linux/lantiq/image/danube.dtsi | 95 |
1 files changed, 92 insertions, 3 deletions
diff --git a/target/linux/lantiq/image/danube.dtsi b/target/linux/lantiq/image/danube.dtsi index 9f0fae009c..67432b16b3 100644 --- a/target/linux/lantiq/image/danube.dtsi +++ b/target/linux/lantiq/image/danube.dtsi @@ -3,6 +3,10 @@ #size-cells = <1>; compatible = "lantiq,xway", "lantiq,danube"; + chosen { + bootargs = "console=ttyLTQ0,115200 init=/etc/preinit"; + }; + cpus { cpu@0 { compatible = "mips,mips24Kc"; @@ -36,16 +40,17 @@ sram@1F000000 { #address-cells = <1>; #size-cells = <1>; - compatible = "lantiq,sram"; + compatible = "lantiq,sram", "simple-bus"; reg = <0x1F000000 0x800000>; ranges = <0x0 0x1F000000 0x7FFFFF>; eiu0: eiu@101000 { #interrupt-cells = <1>; interrupt-controller; - interrupt-parent; compatible = "lantiq,eiu-xway"; reg = <0x101000 0x1000>; + interrupt-parent = <&icu0>; + interrupts = <166 135 66>; }; pmu0: pmu@102000 { @@ -59,6 +64,14 @@ #clock-cells = <1>; }; + vmmc@107000 { + status = "disabled"; + compatible = "lantiq,vmmc"; + reg = <0x103000 0x400>; + interrupt-parent = <&icu0>; + interrupts = <150 151 152 153 154 155>; + }; + rcu0: rcu@203000 { compatible = "lantiq,rcu-xway"; reg = <0x203000 0x1000>; @@ -72,6 +85,14 @@ ranges = <0x0 0x10000000 0xEEFFFFF>; reg = <0x10000000 0xEF00000>; + localbus@0 { + #address-cells = <2>; + #size-cells = <1>; + ranges = <0 0 0x0 0x3ffffff /* addrsel0 */ + 1 0 0x4000000 0x4000010>; /* addsel1 */ + compatible = "lantiq,localbus", "simple-bus"; + }; + gptu@E100A00 { compatible = "lantiq,gptu-xway"; reg = <0xE100A00 0x100>; @@ -79,13 +100,52 @@ interrupts = <126 127 128 129 130 131>; }; - serial@E100C00 { + gpios: stp@E100BB0 { + #gpio-cells = <2>; + compatible = "lantiq,gpio-stp-xway"; + gpio-controller; + reg = <0xE100BB0 0x40>; + lantiq,shadow = <0xfff>; + lantiq,groups = <0x3>; + status = "disabled"; + }; + + asc0: serial@E100400 { + compatible = "lantiq,asc"; + reg = <0xE100400 0x400>; + interrupt-parent = <&icu0>; + interrupts = <104 105 106>; + status = "disabled"; + }; + + gpio: pinmux@E100B10 { + compatible = "lantiq,pinctrl-xway"; + #gpio-cells = <2>; + gpio-controller; + reg = <0xE100B10 0xA0>; + }; + + asc1: serial@E100C00 { compatible = "lantiq,asc"; reg = <0xE100C00 0x400>; interrupt-parent = <&icu0>; interrupts = <112 113 114>; }; + ifxhcd@E101000 { + compatible = "lantiq,ifxhcd-danube"; + reg = <0xE101000 0x1000 + 0xE120000 0x3f000>; + interrupt-parent = <&icu0>; + interrupts = <62>; + status = "disabled"; + }; + + deu@E103100 { + compatible = "lantiq,deu-danube"; + reg = <0xE103100 0xf00>; + }; + dma0: dma@E104100 { compatible = "lantiq,dma-xway"; reg = <0xE104100 0x800>; @@ -96,7 +156,28 @@ reg = <0xE105300 0x100>; }; + mei@E116000 { + compatible = "lantiq,mei-xway"; + interrupt-parent = <&icu0>; + interrupts = <63>; + }; + + etop@E180000 { + compatible = "lantiq,etop-xway"; + reg = <0xE180000 0x40000>; + interrupt-parent = <&icu0>; + interrupts = <73 78>; + }; + + ppe@E234000 { + compatible = "lantiq,ppe-danube"; + interrupt-parent = <&icu0>; + interrupts = <96>; + }; + pci0: pci@E105400 { + status = "disabled"; + #address-cells = <3>; #size-cells = <2>; #interrupt-cells = <1>; @@ -106,6 +187,14 @@ 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */ reg = <0x7000000 0x8000 /* config space */ 0xE105400 0x400>; /* pci bridge */ + lantiq,bus-clock = <33333333>; + interrupt-map-mask = <0xf800 0x0 0x0 0x7>; + interrupt-map = <0x7000 0 0 1 &icu0 30 1>; + req-mask = <0x1>; }; }; + + adsl { + compatible = "lantiq,adsl-danube"; + }; }; |