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 18459d13f9dSBryan O'Donoghue mdio@24520 { 18559d13f9dSBryan O'Donoghue #address-cells = <1>; 18659d13f9dSBryan O'Donoghue #size-cells = <0>; 18759d13f9dSBryan O'Donoghue compatible = "fsl,gianfar-mdio"; 18859d13f9dSBryan O'Donoghue reg = <0x24520 0x20>; 18959d13f9dSBryan O'Donoghue 19059d13f9dSBryan O'Donoghue phy0: ethernet-phy@0 { 19159d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 19259d13f9dSBryan O'Donoghue interrupts = <17 0x8>; 19359d13f9dSBryan O'Donoghue reg = <0x1>; 19459d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 19559d13f9dSBryan O'Donoghue }; 19659d13f9dSBryan O'Donoghue phy1: ethernet-phy@1 { 19759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 19859d13f9dSBryan O'Donoghue interrupts = <18 0x8>; 19959d13f9dSBryan O'Donoghue reg = <0x2>; 20059d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 20159d13f9dSBryan O'Donoghue }; 202b31a1d8bSAndy Fleming 203b31a1d8bSAndy Fleming tbi0: tbi-phy@11 { 204b31a1d8bSAndy Fleming reg = <0x11>; 205b31a1d8bSAndy Fleming device_type = "tbi-phy"; 20659d13f9dSBryan O'Donoghue }; 207b31a1d8bSAndy Fleming }; 208b31a1d8bSAndy Fleming 209b31a1d8bSAndy Fleming mdio@25520 { 210b31a1d8bSAndy Fleming #address-cells = <1>; 211b31a1d8bSAndy Fleming #size-cells = <0>; 212b31a1d8bSAndy Fleming compatible = "fsl,gianfar-tbi"; 213b31a1d8bSAndy Fleming reg = <0x25520 0x20>; 214b31a1d8bSAndy Fleming 215b31a1d8bSAndy Fleming tbi1: tbi-phy@11 { 216b31a1d8bSAndy Fleming reg = <0x11>; 217b31a1d8bSAndy Fleming device_type = "tbi-phy"; 218b31a1d8bSAndy Fleming }; 219b31a1d8bSAndy Fleming }; 220b31a1d8bSAndy Fleming 22159d13f9dSBryan O'Donoghue 22259d13f9dSBryan O'Donoghue enet0: ethernet@24000 { 22359d13f9dSBryan O'Donoghue cell-index = <0>; 22459d13f9dSBryan O'Donoghue device_type = "network"; 22559d13f9dSBryan O'Donoghue model = "TSEC"; 22659d13f9dSBryan O'Donoghue compatible = "gianfar"; 22759d13f9dSBryan O'Donoghue reg = <0x24000 0x1000>; 22859d13f9dSBryan O'Donoghue local-mac-address = [ 00 08 e5 11 32 33 ]; 22959d13f9dSBryan O'Donoghue interrupts = <32 0x8 33 0x8 34 0x8>; 23059d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 231b31a1d8bSAndy Fleming tbi-handle = <&tbi0>; 23259d13f9dSBryan O'Donoghue phy-handle = <&phy0>; 23359d13f9dSBryan O'Donoghue linux,network-index = <0>; 23459d13f9dSBryan O'Donoghue }; 23559d13f9dSBryan O'Donoghue 23659d13f9dSBryan O'Donoghue enet1: ethernet@25000 { 23759d13f9dSBryan O'Donoghue cell-index = <1>; 23859d13f9dSBryan O'Donoghue device_type = "network"; 23959d13f9dSBryan O'Donoghue model = "TSEC"; 24059d13f9dSBryan O'Donoghue compatible = "gianfar"; 24159d13f9dSBryan O'Donoghue reg = <0x25000 0x1000>; 24259d13f9dSBryan O'Donoghue local-mac-address = [ 00 08 e5 11 32 34 ]; 24359d13f9dSBryan O'Donoghue interrupts = <35 0x8 36 0x8 37 0x8>; 24459d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 245b31a1d8bSAndy Fleming tbi-handle = <&tbi1>; 24659d13f9dSBryan O'Donoghue phy-handle = <&phy1>; 24759d13f9dSBryan O'Donoghue linux,network-index = <1>; 24859d13f9dSBryan O'Donoghue }; 24959d13f9dSBryan O'Donoghue 25059d13f9dSBryan O'Donoghue serial0: serial@4500 { 25159d13f9dSBryan O'Donoghue cell-index = <0>; 25259d13f9dSBryan O'Donoghue device_type = "serial"; 25359d13f9dSBryan O'Donoghue compatible = "ns16550"; 25459d13f9dSBryan O'Donoghue reg = <0x4500 0x100>; 25559d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 25659d13f9dSBryan O'Donoghue interrupts = <9 0x8>; 25759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 25859d13f9dSBryan O'Donoghue }; 25959d13f9dSBryan O'Donoghue 26059d13f9dSBryan O'Donoghue serial1: serial@4600 { 26159d13f9dSBryan O'Donoghue cell-index = <1>; 26259d13f9dSBryan O'Donoghue device_type = "serial"; 26359d13f9dSBryan O'Donoghue compatible = "ns16550"; 26459d13f9dSBryan O'Donoghue reg = <0x4600 0x100>; 26559d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 26659d13f9dSBryan O'Donoghue interrupts = <10 0x8>; 26759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 26859d13f9dSBryan O'Donoghue }; 26959d13f9dSBryan O'Donoghue 27059d13f9dSBryan O'Donoghue /* May need to remove if on a part without crypto engine */ 27159d13f9dSBryan O'Donoghue crypto@30000 { 27259d13f9dSBryan O'Donoghue device_type = "crypto"; 27359d13f9dSBryan O'Donoghue model = "SEC2"; 27459d13f9dSBryan O'Donoghue compatible = "talitos"; 27559d13f9dSBryan O'Donoghue reg = <0x30000 0x10000>; 27659d13f9dSBryan O'Donoghue interrupts = <11 0x8>; 27759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 27859d13f9dSBryan O'Donoghue num-channels = <4>; 27959d13f9dSBryan O'Donoghue channel-fifo-len = <24>; 28059d13f9dSBryan O'Donoghue exec-units-mask = <0x0000007e>; 28159d13f9dSBryan O'Donoghue /* desc mask is for rev2.0, 28259d13f9dSBryan O'Donoghue * we need runtime fixup for >2.0 */ 28359d13f9dSBryan O'Donoghue descriptor-types-mask = <0x01010ebf>; 28459d13f9dSBryan O'Donoghue }; 28559d13f9dSBryan O'Donoghue 28659d13f9dSBryan O'Donoghue /* IPIC 28759d13f9dSBryan O'Donoghue * interrupts cell = <intr #, sense> 28859d13f9dSBryan O'Donoghue * sense values match linux IORESOURCE_IRQ_* defines: 28959d13f9dSBryan O'Donoghue * sense == 8: Level, low assertion 29059d13f9dSBryan O'Donoghue * sense == 2: Edge, high-to-low change 29159d13f9dSBryan O'Donoghue */ 29259d13f9dSBryan O'Donoghue ipic: pic@700 { 29359d13f9dSBryan O'Donoghue interrupt-controller; 29459d13f9dSBryan O'Donoghue #address-cells = <0>; 29559d13f9dSBryan O'Donoghue #interrupt-cells = <2>; 29659d13f9dSBryan O'Donoghue reg = <0x700 0x100>; 29759d13f9dSBryan O'Donoghue device_type = "ipic"; 29859d13f9dSBryan O'Donoghue }; 29959d13f9dSBryan O'Donoghue }; 30059d13f9dSBryan O'Donoghue 30159d13f9dSBryan O'Donoghue chosen { 30259d13f9dSBryan O'Donoghue bootargs = "console=ttyS0,38400 root=/dev/mtdblock3 rootfstype=jffs2"; 30359d13f9dSBryan O'Donoghue linux,stdout-path = &serial0; 30459d13f9dSBryan O'Donoghue }; 30559d13f9dSBryan O'Donoghue 30659d13f9dSBryan O'Donoghue}; 307