159d13f9dSBryan O'Donoghue/* 259d13f9dSBryan O'Donoghue * Analogue & Micro ASP8347 Device Tree Source 359d13f9dSBryan O'Donoghue * 459d13f9dSBryan O'Donoghue * Copyright 2008 Codehermit 559d13f9dSBryan O'Donoghue * 659d13f9dSBryan O'Donoghue * This program is free software; you can redistribute it and/or modify it 759d13f9dSBryan O'Donoghue * under the terms of the GNU General Public License as published by the 859d13f9dSBryan O'Donoghue * Free Software Foundation; either version 2 of the License, or (at your 959d13f9dSBryan O'Donoghue * option) any later version. 1059d13f9dSBryan O'Donoghue */ 1159d13f9dSBryan O'Donoghue 1259d13f9dSBryan O'Donoghue/dts-v1/; 1359d13f9dSBryan O'Donoghue 1459d13f9dSBryan O'Donoghue/ { 1559d13f9dSBryan O'Donoghue model = "Analogue & Micro ASP8347E"; 1659d13f9dSBryan O'Donoghue compatible = "analogue-and-micro,asp8347e"; 1759d13f9dSBryan O'Donoghue #address-cells = <1>; 1859d13f9dSBryan O'Donoghue #size-cells = <1>; 1959d13f9dSBryan O'Donoghue 2059d13f9dSBryan O'Donoghue aliases { 2159d13f9dSBryan O'Donoghue ethernet0 = &enet0; 2259d13f9dSBryan O'Donoghue ethernet1 = &enet1; 2359d13f9dSBryan O'Donoghue serial0 = &serial0; 2459d13f9dSBryan O'Donoghue serial1 = &serial1; 2559d13f9dSBryan O'Donoghue }; 2659d13f9dSBryan O'Donoghue 2759d13f9dSBryan O'Donoghue cpus { 2859d13f9dSBryan O'Donoghue #address-cells = <1>; 2959d13f9dSBryan O'Donoghue #size-cells = <0>; 3059d13f9dSBryan O'Donoghue 3159d13f9dSBryan O'Donoghue PowerPC,8347@0 { 3259d13f9dSBryan O'Donoghue device_type = "cpu"; 3359d13f9dSBryan O'Donoghue reg = <0x0>; 3459d13f9dSBryan O'Donoghue d-cache-line-size = <32>; 3559d13f9dSBryan O'Donoghue i-cache-line-size = <32>; 3659d13f9dSBryan O'Donoghue d-cache-size = <32768>; 3759d13f9dSBryan O'Donoghue i-cache-size = <32768>; 3859d13f9dSBryan O'Donoghue timebase-frequency = <0>; // from bootloader 3959d13f9dSBryan O'Donoghue bus-frequency = <0>; // from bootloader 4059d13f9dSBryan O'Donoghue clock-frequency = <0>; // from bootloader 4159d13f9dSBryan O'Donoghue }; 4259d13f9dSBryan O'Donoghue }; 4359d13f9dSBryan O'Donoghue 4459d13f9dSBryan O'Donoghue memory { 4559d13f9dSBryan O'Donoghue device_type = "memory"; 4659d13f9dSBryan O'Donoghue reg = <0x00000000 0x8000000>; // 128MB at 0 4759d13f9dSBryan O'Donoghue }; 4859d13f9dSBryan O'Donoghue 4959d13f9dSBryan O'Donoghue localbus@ff005000 { 5059d13f9dSBryan O'Donoghue #address-cells = <2>; 5159d13f9dSBryan O'Donoghue #size-cells = <1>; 5259d13f9dSBryan O'Donoghue compatible = "fsl,mpc8347e-localbus", 5359d13f9dSBryan O'Donoghue "fsl,pq2pro-localbus", 5459d13f9dSBryan O'Donoghue "simple-bus"; 5559d13f9dSBryan O'Donoghue reg = <0xff005000 0x1000>; 5659d13f9dSBryan O'Donoghue interrupts = <77 0x8>; 5759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 5859d13f9dSBryan O'Donoghue 5959d13f9dSBryan O'Donoghue ranges = < 6059d13f9dSBryan O'Donoghue 0 0 0xf0000000 0x02000000 6159d13f9dSBryan O'Donoghue >; 6259d13f9dSBryan O'Donoghue 6359d13f9dSBryan O'Donoghue flash@0,0 { 6459d13f9dSBryan O'Donoghue compatible = "cfi-flash"; 6559d13f9dSBryan O'Donoghue reg = <0 0 0x02000000>; 6659d13f9dSBryan O'Donoghue bank-width = <2>; 6759d13f9dSBryan O'Donoghue device-width = <2>; 6859d13f9dSBryan O'Donoghue }; 6959d13f9dSBryan O'Donoghue }; 7059d13f9dSBryan O'Donoghue 7159d13f9dSBryan O'Donoghue soc8349@ff000000 { 7259d13f9dSBryan O'Donoghue #address-cells = <1>; 7359d13f9dSBryan O'Donoghue #size-cells = <1>; 7459d13f9dSBryan O'Donoghue device_type = "soc"; 7559d13f9dSBryan O'Donoghue ranges = <0x0 0xff000000 0x00100000>; 7659d13f9dSBryan O'Donoghue reg = <0xff000000 0x00000200>; 7759d13f9dSBryan O'Donoghue bus-frequency = <0>; 7859d13f9dSBryan O'Donoghue 7959d13f9dSBryan O'Donoghue wdt@200 { 8059d13f9dSBryan O'Donoghue device_type = "watchdog"; 8159d13f9dSBryan O'Donoghue compatible = "mpc83xx_wdt"; 8259d13f9dSBryan O'Donoghue reg = <0x200 0x100>; 8359d13f9dSBryan O'Donoghue }; 8459d13f9dSBryan O'Donoghue 8559d13f9dSBryan O'Donoghue i2c@3000 { 8659d13f9dSBryan O'Donoghue #address-cells = <1>; 8759d13f9dSBryan O'Donoghue #size-cells = <0>; 8859d13f9dSBryan O'Donoghue cell-index = <0>; 8959d13f9dSBryan O'Donoghue compatible = "fsl-i2c"; 9059d13f9dSBryan O'Donoghue reg = <0x3000 0x100>; 9159d13f9dSBryan O'Donoghue interrupts = <14 0x8>; 9259d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 9359d13f9dSBryan O'Donoghue dfsrr; 9459d13f9dSBryan O'Donoghue 9559d13f9dSBryan O'Donoghue rtc@68 { 9659d13f9dSBryan O'Donoghue compatible = "dallas,ds1374"; 9759d13f9dSBryan O'Donoghue reg = <0x68>; 9859d13f9dSBryan O'Donoghue }; 9959d13f9dSBryan O'Donoghue }; 10059d13f9dSBryan O'Donoghue 10159d13f9dSBryan O'Donoghue i2c@3100 { 10259d13f9dSBryan O'Donoghue #address-cells = <1>; 10359d13f9dSBryan O'Donoghue #size-cells = <0>; 10459d13f9dSBryan O'Donoghue cell-index = <1>; 10559d13f9dSBryan O'Donoghue compatible = "fsl-i2c"; 10659d13f9dSBryan O'Donoghue reg = <0x3100 0x100>; 10759d13f9dSBryan O'Donoghue interrupts = <15 0x8>; 10859d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 10959d13f9dSBryan O'Donoghue dfsrr; 11059d13f9dSBryan O'Donoghue }; 11159d13f9dSBryan O'Donoghue 11259d13f9dSBryan O'Donoghue spi@7000 { 11359d13f9dSBryan O'Donoghue cell-index = <0>; 11459d13f9dSBryan O'Donoghue compatible = "fsl,spi"; 11559d13f9dSBryan O'Donoghue reg = <0x7000 0x1000>; 11659d13f9dSBryan O'Donoghue interrupts = <16 0x8>; 11759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 11859d13f9dSBryan O'Donoghue mode = "cpu"; 11959d13f9dSBryan O'Donoghue }; 12059d13f9dSBryan O'Donoghue 121dee80553SKumar Gala dma@82a8 { 122dee80553SKumar Gala #address-cells = <1>; 123dee80553SKumar Gala #size-cells = <1>; 124dee80553SKumar Gala compatible = "fsl,mpc8347-dma", "fsl,elo-dma"; 125dee80553SKumar Gala reg = <0x82a8 4>; 126dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 127dee80553SKumar Gala interrupt-parent = <&ipic>; 128dee80553SKumar Gala interrupts = <71 8>; 129dee80553SKumar Gala cell-index = <0>; 130dee80553SKumar Gala dma-channel@0 { 131dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 132dee80553SKumar Gala reg = <0 0x80>; 133aeb42762SKumar Gala cell-index = <0>; 134dee80553SKumar Gala interrupt-parent = <&ipic>; 135dee80553SKumar Gala interrupts = <71 8>; 136dee80553SKumar Gala }; 137dee80553SKumar Gala dma-channel@80 { 138dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 139dee80553SKumar Gala reg = <0x80 0x80>; 140aeb42762SKumar Gala cell-index = <1>; 141dee80553SKumar Gala interrupt-parent = <&ipic>; 142dee80553SKumar Gala interrupts = <71 8>; 143dee80553SKumar Gala }; 144dee80553SKumar Gala dma-channel@100 { 145dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 146dee80553SKumar Gala reg = <0x100 0x80>; 147aeb42762SKumar Gala cell-index = <2>; 148dee80553SKumar Gala interrupt-parent = <&ipic>; 149dee80553SKumar Gala interrupts = <71 8>; 150dee80553SKumar Gala }; 151dee80553SKumar Gala dma-channel@180 { 152dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 153dee80553SKumar Gala reg = <0x180 0x28>; 154aeb42762SKumar Gala cell-index = <3>; 155dee80553SKumar Gala interrupt-parent = <&ipic>; 156dee80553SKumar Gala interrupts = <71 8>; 157dee80553SKumar Gala }; 158dee80553SKumar Gala }; 159dee80553SKumar Gala 16059d13f9dSBryan O'Donoghue /* phy type (ULPI or SERIAL) are only types supported for MPH */ 16159d13f9dSBryan O'Donoghue /* port = 0 or 1 */ 16259d13f9dSBryan O'Donoghue usb@22000 { 16359d13f9dSBryan O'Donoghue compatible = "fsl-usb2-mph"; 16459d13f9dSBryan O'Donoghue reg = <0x22000 0x1000>; 16559d13f9dSBryan O'Donoghue #address-cells = <1>; 16659d13f9dSBryan O'Donoghue #size-cells = <0>; 16759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 16859d13f9dSBryan O'Donoghue interrupts = <39 0x8>; 16959d13f9dSBryan O'Donoghue phy_type = "ulpi"; 17059d13f9dSBryan O'Donoghue port1; 17159d13f9dSBryan O'Donoghue }; 17259d13f9dSBryan O'Donoghue /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ 17359d13f9dSBryan O'Donoghue usb@23000 { 17459d13f9dSBryan O'Donoghue compatible = "fsl-usb2-dr"; 17559d13f9dSBryan O'Donoghue reg = <0x23000 0x1000>; 17659d13f9dSBryan O'Donoghue #address-cells = <1>; 17759d13f9dSBryan O'Donoghue #size-cells = <0>; 17859d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 17959d13f9dSBryan O'Donoghue interrupts = <38 0x8>; 18059d13f9dSBryan O'Donoghue dr_mode = "otg"; 18159d13f9dSBryan O'Donoghue phy_type = "ulpi"; 18259d13f9dSBryan O'Donoghue }; 18359d13f9dSBryan O'Donoghue 18470b3adbbSAnton Vorontsov enet0: ethernet@24000 { 18570b3adbbSAnton Vorontsov #address-cells = <1>; 18670b3adbbSAnton Vorontsov #size-cells = <1>; 18770b3adbbSAnton Vorontsov cell-index = <0>; 18870b3adbbSAnton Vorontsov device_type = "network"; 18970b3adbbSAnton Vorontsov model = "TSEC"; 19070b3adbbSAnton Vorontsov compatible = "gianfar"; 19170b3adbbSAnton Vorontsov reg = <0x24000 0x1000>; 19270b3adbbSAnton Vorontsov ranges = <0x0 0x24000 0x1000>; 19370b3adbbSAnton Vorontsov local-mac-address = [ 00 08 e5 11 32 33 ]; 19470b3adbbSAnton Vorontsov interrupts = <32 0x8 33 0x8 34 0x8>; 19570b3adbbSAnton Vorontsov interrupt-parent = <&ipic>; 19670b3adbbSAnton Vorontsov tbi-handle = <&tbi0>; 19770b3adbbSAnton Vorontsov phy-handle = <&phy0>; 19870b3adbbSAnton Vorontsov linux,network-index = <0>; 19970b3adbbSAnton Vorontsov 20070b3adbbSAnton Vorontsov mdio@520 { 20159d13f9dSBryan O'Donoghue #address-cells = <1>; 20259d13f9dSBryan O'Donoghue #size-cells = <0>; 20359d13f9dSBryan O'Donoghue compatible = "fsl,gianfar-mdio"; 20470b3adbbSAnton Vorontsov reg = <0x520 0x20>; 20559d13f9dSBryan O'Donoghue 20659d13f9dSBryan O'Donoghue phy0: ethernet-phy@0 { 20759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 20859d13f9dSBryan O'Donoghue interrupts = <17 0x8>; 20959d13f9dSBryan O'Donoghue reg = <0x1>; 21059d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 21159d13f9dSBryan O'Donoghue }; 21270b3adbbSAnton Vorontsov 21359d13f9dSBryan O'Donoghue phy1: ethernet-phy@1 { 21459d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 21559d13f9dSBryan O'Donoghue interrupts = <18 0x8>; 21659d13f9dSBryan O'Donoghue reg = <0x2>; 21759d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 21859d13f9dSBryan O'Donoghue }; 219b31a1d8bSAndy Fleming 220b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 221b31a1d8bSAndy Fleming reg = <0x11>; 222b31a1d8bSAndy Fleming device_type = "tbi-phy"; 22359d13f9dSBryan O'Donoghue }; 224b31a1d8bSAndy Fleming }; 22559d13f9dSBryan O'Donoghue }; 22659d13f9dSBryan O'Donoghue 22759d13f9dSBryan O'Donoghue enet1: ethernet@25000 { 22870b3adbbSAnton Vorontsov #address-cells = <1>; 22970b3adbbSAnton Vorontsov #size-cells = <1>; 23059d13f9dSBryan O'Donoghue cell-index = <1>; 23159d13f9dSBryan O'Donoghue device_type = "network"; 23259d13f9dSBryan O'Donoghue model = "TSEC"; 23359d13f9dSBryan O'Donoghue compatible = "gianfar"; 23459d13f9dSBryan O'Donoghue reg = <0x25000 0x1000>; 23570b3adbbSAnton Vorontsov ranges = <0x0 0x25000 0x1000>; 23659d13f9dSBryan O'Donoghue local-mac-address = [ 00 08 e5 11 32 34 ]; 23759d13f9dSBryan O'Donoghue interrupts = <35 0x8 36 0x8 37 0x8>; 23859d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 239b31a1d8bSAndy Fleming tbi-handle = <&tbi1>; 24059d13f9dSBryan O'Donoghue phy-handle = <&phy1>; 24159d13f9dSBryan O'Donoghue linux,network-index = <1>; 24270b3adbbSAnton Vorontsov 24370b3adbbSAnton Vorontsov mdio@520 { 24470b3adbbSAnton Vorontsov #address-cells = <1>; 24570b3adbbSAnton Vorontsov #size-cells = <0>; 24670b3adbbSAnton Vorontsov compatible = "fsl,gianfar-tbi"; 24770b3adbbSAnton Vorontsov reg = <0x520 0x20>; 24870b3adbbSAnton Vorontsov 24970b3adbbSAnton Vorontsov tbi1: tbi-phy@11 { 25070b3adbbSAnton Vorontsov reg = <0x11>; 25170b3adbbSAnton Vorontsov device_type = "tbi-phy"; 25270b3adbbSAnton Vorontsov }; 25370b3adbbSAnton Vorontsov }; 25459d13f9dSBryan O'Donoghue }; 25559d13f9dSBryan O'Donoghue 25659d13f9dSBryan O'Donoghue serial0: serial@4500 { 25759d13f9dSBryan O'Donoghue cell-index = <0>; 25859d13f9dSBryan O'Donoghue device_type = "serial"; 25959d13f9dSBryan O'Donoghue compatible = "ns16550"; 26059d13f9dSBryan O'Donoghue reg = <0x4500 0x100>; 26159d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 26259d13f9dSBryan O'Donoghue interrupts = <9 0x8>; 26359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 26459d13f9dSBryan O'Donoghue }; 26559d13f9dSBryan O'Donoghue 26659d13f9dSBryan O'Donoghue serial1: serial@4600 { 26759d13f9dSBryan O'Donoghue cell-index = <1>; 26859d13f9dSBryan O'Donoghue device_type = "serial"; 26959d13f9dSBryan O'Donoghue compatible = "ns16550"; 27059d13f9dSBryan O'Donoghue reg = <0x4600 0x100>; 27159d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 27259d13f9dSBryan O'Donoghue interrupts = <10 0x8>; 27359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 27459d13f9dSBryan O'Donoghue }; 27559d13f9dSBryan O'Donoghue 27659d13f9dSBryan O'Donoghue /* May need to remove if on a part without crypto engine */ 27759d13f9dSBryan O'Donoghue crypto@30000 { 27859d13f9dSBryan O'Donoghue device_type = "crypto"; 27959d13f9dSBryan O'Donoghue model = "SEC2"; 28059d13f9dSBryan O'Donoghue compatible = "talitos"; 28159d13f9dSBryan O'Donoghue reg = <0x30000 0x10000>; 28259d13f9dSBryan O'Donoghue interrupts = <11 0x8>; 28359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 28459d13f9dSBryan O'Donoghue num-channels = <4>; 28559d13f9dSBryan O'Donoghue channel-fifo-len = <24>; 28659d13f9dSBryan O'Donoghue exec-units-mask = <0x0000007e>; 28759d13f9dSBryan O'Donoghue /* desc mask is for rev2.0, 28859d13f9dSBryan O'Donoghue * we need runtime fixup for >2.0 */ 28959d13f9dSBryan O'Donoghue descriptor-types-mask = <0x01010ebf>; 29059d13f9dSBryan O'Donoghue }; 29159d13f9dSBryan O'Donoghue 29259d13f9dSBryan O'Donoghue /* IPIC 29359d13f9dSBryan O'Donoghue * interrupts cell = <intr #, sense> 29459d13f9dSBryan O'Donoghue * sense values match linux IORESOURCE_IRQ_* defines: 29559d13f9dSBryan O'Donoghue * sense == 8: Level, low assertion 29659d13f9dSBryan O'Donoghue * sense == 2: Edge, high-to-low change 29759d13f9dSBryan O'Donoghue */ 29859d13f9dSBryan O'Donoghue ipic: pic@700 { 29959d13f9dSBryan O'Donoghue interrupt-controller; 30059d13f9dSBryan O'Donoghue #address-cells = <0>; 30159d13f9dSBryan O'Donoghue #interrupt-cells = <2>; 30259d13f9dSBryan O'Donoghue reg = <0x700 0x100>; 30359d13f9dSBryan O'Donoghue device_type = "ipic"; 30459d13f9dSBryan O'Donoghue }; 30559d13f9dSBryan O'Donoghue }; 30659d13f9dSBryan O'Donoghue 30759d13f9dSBryan O'Donoghue chosen { 30859d13f9dSBryan O'Donoghue bootargs = "console=ttyS0,38400 root=/dev/mtdblock3 rootfstype=jffs2"; 30959d13f9dSBryan O'Donoghue linux,stdout-path = &serial0; 31059d13f9dSBryan O'Donoghue }; 31159d13f9dSBryan O'Donoghue 31259d13f9dSBryan O'Donoghue}; 313