123308c54SMichael Barkowski/* 223308c54SMichael Barkowski * MPC832x RDB Device Tree Source 323308c54SMichael Barkowski * 423308c54SMichael Barkowski * Copyright 2007 Freescale Semiconductor Inc. 523308c54SMichael Barkowski * 623308c54SMichael Barkowski * This program is free software; you can redistribute it and/or modify it 723308c54SMichael Barkowski * under the terms of the GNU General Public License as published by the 823308c54SMichael Barkowski * Free Software Foundation; either version 2 of the License, or (at your 923308c54SMichael Barkowski * option) any later version. 1023308c54SMichael Barkowski */ 1123308c54SMichael Barkowski 12cda13dd1SPaul Gortmaker/dts-v1/; 13cda13dd1SPaul Gortmaker 1423308c54SMichael Barkowski/ { 1523308c54SMichael Barkowski model = "MPC8323ERDB"; 1623308c54SMichael Barkowski compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB"; 1723308c54SMichael Barkowski #address-cells = <1>; 1823308c54SMichael Barkowski #size-cells = <1>; 1923308c54SMichael Barkowski 20ea082fa9SKumar Gala aliases { 21ea082fa9SKumar Gala ethernet0 = &enet0; 22ea082fa9SKumar Gala ethernet1 = &enet1; 23ea082fa9SKumar Gala serial0 = &serial0; 24ea082fa9SKumar Gala serial1 = &serial1; 25ea082fa9SKumar Gala pci0 = &pci0; 26ea082fa9SKumar Gala }; 27ea082fa9SKumar Gala 2823308c54SMichael Barkowski cpus { 2923308c54SMichael Barkowski #address-cells = <1>; 3023308c54SMichael Barkowski #size-cells = <0>; 3123308c54SMichael Barkowski 3223308c54SMichael Barkowski PowerPC,8323@0 { 3323308c54SMichael Barkowski device_type = "cpu"; 34cda13dd1SPaul Gortmaker reg = <0x0>; 35cda13dd1SPaul Gortmaker d-cache-line-size = <0x20>; // 32 bytes 36cda13dd1SPaul Gortmaker i-cache-line-size = <0x20>; // 32 bytes 37cda13dd1SPaul Gortmaker d-cache-size = <16384>; // L1, 16K 38cda13dd1SPaul Gortmaker i-cache-size = <16384>; // L1, 16K 3923308c54SMichael Barkowski timebase-frequency = <0>; 4023308c54SMichael Barkowski bus-frequency = <0>; 4123308c54SMichael Barkowski clock-frequency = <0>; 4223308c54SMichael Barkowski }; 4323308c54SMichael Barkowski }; 4423308c54SMichael Barkowski 4523308c54SMichael Barkowski memory { 4623308c54SMichael Barkowski device_type = "memory"; 47cda13dd1SPaul Gortmaker reg = <0x00000000 0x04000000>; 4823308c54SMichael Barkowski }; 4923308c54SMichael Barkowski 5023308c54SMichael Barkowski soc8323@e0000000 { 5123308c54SMichael Barkowski #address-cells = <1>; 5223308c54SMichael Barkowski #size-cells = <1>; 5323308c54SMichael Barkowski device_type = "soc"; 54cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 55cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5623308c54SMichael Barkowski bus-frequency = <0>; 5723308c54SMichael Barkowski 5823308c54SMichael Barkowski wdt@200 { 5923308c54SMichael Barkowski device_type = "watchdog"; 6023308c54SMichael Barkowski compatible = "mpc83xx_wdt"; 61cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 6223308c54SMichael Barkowski }; 6323308c54SMichael Barkowski 6423308c54SMichael Barkowski i2c@3000 { 65ec9686c4SKumar Gala #address-cells = <1>; 66ec9686c4SKumar Gala #size-cells = <0>; 67ec9686c4SKumar Gala cell-index = <0>; 6823308c54SMichael Barkowski compatible = "fsl-i2c"; 69cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 70cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 7123308c54SMichael Barkowski interrupt-parent = <&pic>; 7223308c54SMichael Barkowski dfsrr; 7323308c54SMichael Barkowski }; 7423308c54SMichael Barkowski 75ea082fa9SKumar Gala serial0: serial@4500 { 76ea082fa9SKumar Gala cell-index = <0>; 7723308c54SMichael Barkowski device_type = "serial"; 7823308c54SMichael Barkowski compatible = "ns16550"; 79cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 8023308c54SMichael Barkowski clock-frequency = <0>; 81cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 8223308c54SMichael Barkowski interrupt-parent = <&pic>; 8323308c54SMichael Barkowski }; 8423308c54SMichael Barkowski 85ea082fa9SKumar Gala serial1: serial@4600 { 86ea082fa9SKumar Gala cell-index = <1>; 8723308c54SMichael Barkowski device_type = "serial"; 8823308c54SMichael Barkowski compatible = "ns16550"; 89cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 9023308c54SMichael Barkowski clock-frequency = <0>; 91cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 9223308c54SMichael Barkowski interrupt-parent = <&pic>; 9323308c54SMichael Barkowski }; 9423308c54SMichael Barkowski 9523308c54SMichael Barkowski crypto@30000 { 9623308c54SMichael Barkowski device_type = "crypto"; 9723308c54SMichael Barkowski model = "SEC2"; 9823308c54SMichael Barkowski compatible = "talitos"; 99cda13dd1SPaul Gortmaker reg = <0x30000 0x7000>; 100cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 10123308c54SMichael Barkowski interrupt-parent = <&pic>; 10223308c54SMichael Barkowski /* Rev. 2.2 */ 10323308c54SMichael Barkowski num-channels = <1>; 104cda13dd1SPaul Gortmaker channel-fifo-len = <24>; 105cda13dd1SPaul Gortmaker exec-units-mask = <0x0000004c>; 106cda13dd1SPaul Gortmaker descriptor-types-mask = <0x0122003f>; 10723308c54SMichael Barkowski }; 10823308c54SMichael Barkowski 10923308c54SMichael Barkowski pic:pic@700 { 11023308c54SMichael Barkowski interrupt-controller; 11123308c54SMichael Barkowski #address-cells = <0>; 11223308c54SMichael Barkowski #interrupt-cells = <2>; 113cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 11423308c54SMichael Barkowski device_type = "ipic"; 11523308c54SMichael Barkowski }; 11623308c54SMichael Barkowski 11723308c54SMichael Barkowski par_io@1400 { 118cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 11923308c54SMichael Barkowski device_type = "par_io"; 12023308c54SMichael Barkowski num-ports = <7>; 12123308c54SMichael Barkowski 12223308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 12323308c54SMichael Barkowski pio-map = < 12423308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 12523308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 12623308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 127cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 128cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 129cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 130cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 131cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 132cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 133cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 134cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 135cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 136cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 137cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 138cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 139cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 140cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 141cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 142cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 14323308c54SMichael Barkowski }; 14423308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 14523308c54SMichael Barkowski pio-map = < 14623308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 147cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 148cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 14923308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 15023308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 15123308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 15223308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 15323308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 15423308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 15523308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 15623308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 15723308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 15823308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 159cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 160cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 161cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 162cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 16323308c54SMichael Barkowski }; 16423308c54SMichael Barkowski }; 16523308c54SMichael Barkowski }; 16623308c54SMichael Barkowski 16723308c54SMichael Barkowski qe@e0100000 { 16823308c54SMichael Barkowski #address-cells = <1>; 16923308c54SMichael Barkowski #size-cells = <1>; 17023308c54SMichael Barkowski device_type = "qe"; 171a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 172cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 173cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 17423308c54SMichael Barkowski brg-frequency = <0>; 175cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 17623308c54SMichael Barkowski 17723308c54SMichael Barkowski muram@10000 { 178390167efSPaul Gortmaker #address-cells = <1>; 179390167efSPaul Gortmaker #size-cells = <1>; 180a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 181cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 18223308c54SMichael Barkowski 18323308c54SMichael Barkowski data-only@0 { 184a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 185a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 186cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 18723308c54SMichael Barkowski }; 18823308c54SMichael Barkowski }; 18923308c54SMichael Barkowski 19023308c54SMichael Barkowski spi@4c0 { 191f3a2b29dSAnton Vorontsov cell-index = <0>; 192f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 193cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 19423308c54SMichael Barkowski interrupts = <2>; 19523308c54SMichael Barkowski interrupt-parent = <&qeic>; 1968237bf08SAnton Vorontsov mode = "cpu-qe"; 19723308c54SMichael Barkowski }; 19823308c54SMichael Barkowski 19923308c54SMichael Barkowski spi@500 { 200f3a2b29dSAnton Vorontsov cell-index = <1>; 201f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 202cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 20323308c54SMichael Barkowski interrupts = <1>; 20423308c54SMichael Barkowski interrupt-parent = <&qeic>; 20523308c54SMichael Barkowski mode = "cpu"; 20623308c54SMichael Barkowski }; 20723308c54SMichael Barkowski 208e77b28ebSKumar Gala enet0: ucc@3000 { 20923308c54SMichael Barkowski device_type = "network"; 21023308c54SMichael Barkowski compatible = "ucc_geth"; 21123308c54SMichael Barkowski model = "UCC"; 212e77b28ebSKumar Gala cell-index = <2>; 21323308c54SMichael Barkowski device-id = <2>; 214cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 215cda13dd1SPaul Gortmaker interrupts = <33>; 21623308c54SMichael Barkowski interrupt-parent = <&qeic>; 217eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2189fb1e350STimur Tabi rx-clock-name = "clk16"; 2199fb1e350STimur Tabi tx-clock-name = "clk3"; 22023308c54SMichael Barkowski phy-handle = <&phy00>; 22123308c54SMichael Barkowski pio-handle = <&ucc2pio>; 22223308c54SMichael Barkowski }; 22323308c54SMichael Barkowski 224e77b28ebSKumar Gala enet1: ucc@2200 { 22523308c54SMichael Barkowski device_type = "network"; 22623308c54SMichael Barkowski compatible = "ucc_geth"; 22723308c54SMichael Barkowski model = "UCC"; 228e77b28ebSKumar Gala cell-index = <3>; 22923308c54SMichael Barkowski device-id = <3>; 230cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 231cda13dd1SPaul Gortmaker interrupts = <34>; 23223308c54SMichael Barkowski interrupt-parent = <&qeic>; 233eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2349fb1e350STimur Tabi rx-clock-name = "clk9"; 2359fb1e350STimur Tabi tx-clock-name = "clk10"; 23623308c54SMichael Barkowski phy-handle = <&phy04>; 23723308c54SMichael Barkowski pio-handle = <&ucc3pio>; 23823308c54SMichael Barkowski }; 23923308c54SMichael Barkowski 24023308c54SMichael Barkowski mdio@3120 { 24123308c54SMichael Barkowski #address-cells = <1>; 24223308c54SMichael Barkowski #size-cells = <0>; 243cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 244d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 24523308c54SMichael Barkowski 24623308c54SMichael Barkowski phy00:ethernet-phy@00 { 24723308c54SMichael Barkowski interrupt-parent = <&pic>; 24823308c54SMichael Barkowski interrupts = <0>; 249cda13dd1SPaul Gortmaker reg = <0x0>; 25023308c54SMichael Barkowski device_type = "ethernet-phy"; 25123308c54SMichael Barkowski }; 25223308c54SMichael Barkowski phy04:ethernet-phy@04 { 25323308c54SMichael Barkowski interrupt-parent = <&pic>; 25423308c54SMichael Barkowski interrupts = <0>; 255cda13dd1SPaul Gortmaker reg = <0x4>; 25623308c54SMichael Barkowski device_type = "ethernet-phy"; 25723308c54SMichael Barkowski }; 25823308c54SMichael Barkowski }; 25923308c54SMichael Barkowski 260a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 26123308c54SMichael Barkowski interrupt-controller; 262a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 26323308c54SMichael Barkowski #address-cells = <0>; 26423308c54SMichael Barkowski #interrupt-cells = <1>; 265cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 26623308c54SMichael Barkowski big-endian; 267cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 26823308c54SMichael Barkowski interrupt-parent = <&pic>; 26923308c54SMichael Barkowski }; 27023308c54SMichael Barkowski }; 2711b3c5cdaSKumar Gala 272ea082fa9SKumar Gala pci0: pci@e0008500 { 273ea082fa9SKumar Gala cell-index = <1>; 274cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 2751b3c5cdaSKumar Gala interrupt-map = < 2761b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 277cda13dd1SPaul Gortmaker 0x8000 0x0 0x0 0x1 &pic 17 0x8 2781b3c5cdaSKumar Gala 2791b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 280cda13dd1SPaul Gortmaker 0x8800 0x0 0x0 0x1 &pic 18 0x8 281cda13dd1SPaul Gortmaker 0x8800 0x0 0x0 0x2 &pic 19 0x8 282cda13dd1SPaul Gortmaker 0x8800 0x0 0x0 0x3 &pic 20 0x8 283cda13dd1SPaul Gortmaker 0x8800 0x0 0x0 0x4 &pic 48 0x8 2841b3c5cdaSKumar Gala 2851b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 286cda13dd1SPaul Gortmaker 0x9000 0x0 0x0 0x1 &pic 19 0x8 287cda13dd1SPaul Gortmaker 0x9000 0x0 0x0 0x2 &pic 20 0x8 288cda13dd1SPaul Gortmaker 0x9000 0x0 0x0 0x3 &pic 48 0x8 289cda13dd1SPaul Gortmaker 0x9000 0x0 0x0 0x4 &pic 17 0x8>; 2901b3c5cdaSKumar Gala 2911b3c5cdaSKumar Gala interrupt-parent = <&pic>; 292cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 293cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 294cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 295cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 296cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 2971b3c5cdaSKumar Gala clock-frequency = <0>; 2981b3c5cdaSKumar Gala #interrupt-cells = <1>; 2991b3c5cdaSKumar Gala #size-cells = <2>; 3001b3c5cdaSKumar Gala #address-cells = <3>; 301cda13dd1SPaul Gortmaker reg = <0xe0008500 0x100>; 3021b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3031b3c5cdaSKumar Gala device_type = "pci"; 3041b3c5cdaSKumar Gala }; 30523308c54SMichael Barkowski}; 306