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>; 133dee80553SKumar Gala interrupt-parent = <&ipic>; 134dee80553SKumar Gala interrupts = <71 8>; 135dee80553SKumar Gala }; 136dee80553SKumar Gala dma-channel@80 { 137dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 138dee80553SKumar Gala reg = <0x80 0x80>; 139dee80553SKumar Gala interrupt-parent = <&ipic>; 140dee80553SKumar Gala interrupts = <71 8>; 141dee80553SKumar Gala }; 142dee80553SKumar Gala dma-channel@100 { 143dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 144dee80553SKumar Gala reg = <0x100 0x80>; 145dee80553SKumar Gala interrupt-parent = <&ipic>; 146dee80553SKumar Gala interrupts = <71 8>; 147dee80553SKumar Gala }; 148dee80553SKumar Gala dma-channel@180 { 149dee80553SKumar Gala compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 150dee80553SKumar Gala reg = <0x180 0x28>; 151dee80553SKumar Gala interrupt-parent = <&ipic>; 152dee80553SKumar Gala interrupts = <71 8>; 153dee80553SKumar Gala }; 154dee80553SKumar Gala }; 155dee80553SKumar Gala 15659d13f9dSBryan O'Donoghue /* phy type (ULPI or SERIAL) are only types supported for MPH */ 15759d13f9dSBryan O'Donoghue /* port = 0 or 1 */ 15859d13f9dSBryan O'Donoghue usb@22000 { 15959d13f9dSBryan O'Donoghue compatible = "fsl-usb2-mph"; 16059d13f9dSBryan O'Donoghue reg = <0x22000 0x1000>; 16159d13f9dSBryan O'Donoghue #address-cells = <1>; 16259d13f9dSBryan O'Donoghue #size-cells = <0>; 16359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 16459d13f9dSBryan O'Donoghue interrupts = <39 0x8>; 16559d13f9dSBryan O'Donoghue phy_type = "ulpi"; 16659d13f9dSBryan O'Donoghue port1; 16759d13f9dSBryan O'Donoghue }; 16859d13f9dSBryan O'Donoghue /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ 16959d13f9dSBryan O'Donoghue usb@23000 { 17059d13f9dSBryan O'Donoghue compatible = "fsl-usb2-dr"; 17159d13f9dSBryan O'Donoghue reg = <0x23000 0x1000>; 17259d13f9dSBryan O'Donoghue #address-cells = <1>; 17359d13f9dSBryan O'Donoghue #size-cells = <0>; 17459d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 17559d13f9dSBryan O'Donoghue interrupts = <38 0x8>; 17659d13f9dSBryan O'Donoghue dr_mode = "otg"; 17759d13f9dSBryan O'Donoghue phy_type = "ulpi"; 17859d13f9dSBryan O'Donoghue }; 17959d13f9dSBryan O'Donoghue 18059d13f9dSBryan O'Donoghue mdio@24520 { 18159d13f9dSBryan O'Donoghue #address-cells = <1>; 18259d13f9dSBryan O'Donoghue #size-cells = <0>; 18359d13f9dSBryan O'Donoghue compatible = "fsl,gianfar-mdio"; 18459d13f9dSBryan O'Donoghue reg = <0x24520 0x20>; 18559d13f9dSBryan O'Donoghue 18659d13f9dSBryan O'Donoghue phy0: ethernet-phy@0 { 18759d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 18859d13f9dSBryan O'Donoghue interrupts = <17 0x8>; 18959d13f9dSBryan O'Donoghue reg = <0x1>; 19059d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 19159d13f9dSBryan O'Donoghue }; 19259d13f9dSBryan O'Donoghue phy1: ethernet-phy@1 { 19359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 19459d13f9dSBryan O'Donoghue interrupts = <18 0x8>; 19559d13f9dSBryan O'Donoghue reg = <0x2>; 19659d13f9dSBryan O'Donoghue device_type = "ethernet-phy"; 19759d13f9dSBryan O'Donoghue }; 19859d13f9dSBryan O'Donoghue }; 19959d13f9dSBryan O'Donoghue 20059d13f9dSBryan O'Donoghue enet0: ethernet@24000 { 20159d13f9dSBryan O'Donoghue cell-index = <0>; 20259d13f9dSBryan O'Donoghue device_type = "network"; 20359d13f9dSBryan O'Donoghue model = "TSEC"; 20459d13f9dSBryan O'Donoghue compatible = "gianfar"; 20559d13f9dSBryan O'Donoghue reg = <0x24000 0x1000>; 20659d13f9dSBryan O'Donoghue local-mac-address = [ 00 08 e5 11 32 33 ]; 20759d13f9dSBryan O'Donoghue interrupts = <32 0x8 33 0x8 34 0x8>; 20859d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 20959d13f9dSBryan O'Donoghue phy-handle = <&phy0>; 21059d13f9dSBryan O'Donoghue linux,network-index = <0>; 21159d13f9dSBryan O'Donoghue }; 21259d13f9dSBryan O'Donoghue 21359d13f9dSBryan O'Donoghue enet1: ethernet@25000 { 21459d13f9dSBryan O'Donoghue cell-index = <1>; 21559d13f9dSBryan O'Donoghue device_type = "network"; 21659d13f9dSBryan O'Donoghue model = "TSEC"; 21759d13f9dSBryan O'Donoghue compatible = "gianfar"; 21859d13f9dSBryan O'Donoghue reg = <0x25000 0x1000>; 21959d13f9dSBryan O'Donoghue local-mac-address = [ 00 08 e5 11 32 34 ]; 22059d13f9dSBryan O'Donoghue interrupts = <35 0x8 36 0x8 37 0x8>; 22159d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 22259d13f9dSBryan O'Donoghue phy-handle = <&phy1>; 22359d13f9dSBryan O'Donoghue linux,network-index = <1>; 22459d13f9dSBryan O'Donoghue }; 22559d13f9dSBryan O'Donoghue 22659d13f9dSBryan O'Donoghue serial0: serial@4500 { 22759d13f9dSBryan O'Donoghue cell-index = <0>; 22859d13f9dSBryan O'Donoghue device_type = "serial"; 22959d13f9dSBryan O'Donoghue compatible = "ns16550"; 23059d13f9dSBryan O'Donoghue reg = <0x4500 0x100>; 23159d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 23259d13f9dSBryan O'Donoghue interrupts = <9 0x8>; 23359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 23459d13f9dSBryan O'Donoghue }; 23559d13f9dSBryan O'Donoghue 23659d13f9dSBryan O'Donoghue serial1: serial@4600 { 23759d13f9dSBryan O'Donoghue cell-index = <1>; 23859d13f9dSBryan O'Donoghue device_type = "serial"; 23959d13f9dSBryan O'Donoghue compatible = "ns16550"; 24059d13f9dSBryan O'Donoghue reg = <0x4600 0x100>; 24159d13f9dSBryan O'Donoghue clock-frequency = <400000000>; 24259d13f9dSBryan O'Donoghue interrupts = <10 0x8>; 24359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 24459d13f9dSBryan O'Donoghue }; 24559d13f9dSBryan O'Donoghue 24659d13f9dSBryan O'Donoghue /* May need to remove if on a part without crypto engine */ 24759d13f9dSBryan O'Donoghue crypto@30000 { 24859d13f9dSBryan O'Donoghue device_type = "crypto"; 24959d13f9dSBryan O'Donoghue model = "SEC2"; 25059d13f9dSBryan O'Donoghue compatible = "talitos"; 25159d13f9dSBryan O'Donoghue reg = <0x30000 0x10000>; 25259d13f9dSBryan O'Donoghue interrupts = <11 0x8>; 25359d13f9dSBryan O'Donoghue interrupt-parent = <&ipic>; 25459d13f9dSBryan O'Donoghue num-channels = <4>; 25559d13f9dSBryan O'Donoghue channel-fifo-len = <24>; 25659d13f9dSBryan O'Donoghue exec-units-mask = <0x0000007e>; 25759d13f9dSBryan O'Donoghue /* desc mask is for rev2.0, 25859d13f9dSBryan O'Donoghue * we need runtime fixup for >2.0 */ 25959d13f9dSBryan O'Donoghue descriptor-types-mask = <0x01010ebf>; 26059d13f9dSBryan O'Donoghue }; 26159d13f9dSBryan O'Donoghue 26259d13f9dSBryan O'Donoghue /* IPIC 26359d13f9dSBryan O'Donoghue * interrupts cell = <intr #, sense> 26459d13f9dSBryan O'Donoghue * sense values match linux IORESOURCE_IRQ_* defines: 26559d13f9dSBryan O'Donoghue * sense == 8: Level, low assertion 26659d13f9dSBryan O'Donoghue * sense == 2: Edge, high-to-low change 26759d13f9dSBryan O'Donoghue */ 26859d13f9dSBryan O'Donoghue ipic: pic@700 { 26959d13f9dSBryan O'Donoghue interrupt-controller; 27059d13f9dSBryan O'Donoghue #address-cells = <0>; 27159d13f9dSBryan O'Donoghue #interrupt-cells = <2>; 27259d13f9dSBryan O'Donoghue reg = <0x700 0x100>; 27359d13f9dSBryan O'Donoghue device_type = "ipic"; 27459d13f9dSBryan O'Donoghue }; 27559d13f9dSBryan O'Donoghue }; 27659d13f9dSBryan O'Donoghue 27759d13f9dSBryan O'Donoghue chosen { 27859d13f9dSBryan O'Donoghue bootargs = "console=ttyS0,38400 root=/dev/mtdblock3 rootfstype=jffs2"; 27959d13f9dSBryan O'Donoghue linux,stdout-path = &serial0; 28059d13f9dSBryan O'Donoghue }; 28159d13f9dSBryan O'Donoghue 28259d13f9dSBryan O'Donoghue}; 283