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 1223308c54SMichael Barkowski/ { 1323308c54SMichael Barkowski model = "MPC8323ERDB"; 1423308c54SMichael Barkowski compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB"; 1523308c54SMichael Barkowski #address-cells = <1>; 1623308c54SMichael Barkowski #size-cells = <1>; 1723308c54SMichael Barkowski 1823308c54SMichael Barkowski cpus { 1923308c54SMichael Barkowski #address-cells = <1>; 2023308c54SMichael Barkowski #size-cells = <0>; 2123308c54SMichael Barkowski 2223308c54SMichael Barkowski PowerPC,8323@0 { 2323308c54SMichael Barkowski device_type = "cpu"; 2423308c54SMichael Barkowski reg = <0>; 2523308c54SMichael Barkowski d-cache-line-size = <20>; // 32 bytes 2623308c54SMichael Barkowski i-cache-line-size = <20>; // 32 bytes 2723308c54SMichael Barkowski d-cache-size = <4000>; // L1, 16K 2823308c54SMichael Barkowski i-cache-size = <4000>; // L1, 16K 2923308c54SMichael Barkowski timebase-frequency = <0>; 3023308c54SMichael Barkowski bus-frequency = <0>; 3123308c54SMichael Barkowski clock-frequency = <0>; 3223308c54SMichael Barkowski }; 3323308c54SMichael Barkowski }; 3423308c54SMichael Barkowski 3523308c54SMichael Barkowski memory { 3623308c54SMichael Barkowski device_type = "memory"; 3723308c54SMichael Barkowski reg = <00000000 04000000>; 3823308c54SMichael Barkowski }; 3923308c54SMichael Barkowski 4023308c54SMichael Barkowski soc8323@e0000000 { 4123308c54SMichael Barkowski #address-cells = <1>; 4223308c54SMichael Barkowski #size-cells = <1>; 4323308c54SMichael Barkowski device_type = "soc"; 4423308c54SMichael Barkowski ranges = <0 e0000000 00100000>; 4523308c54SMichael Barkowski reg = <e0000000 00000200>; 4623308c54SMichael Barkowski bus-frequency = <0>; 4723308c54SMichael Barkowski 4823308c54SMichael Barkowski wdt@200 { 4923308c54SMichael Barkowski device_type = "watchdog"; 5023308c54SMichael Barkowski compatible = "mpc83xx_wdt"; 5123308c54SMichael Barkowski reg = <200 100>; 5223308c54SMichael Barkowski }; 5323308c54SMichael Barkowski 5423308c54SMichael Barkowski i2c@3000 { 55ec9686c4SKumar Gala #address-cells = <1>; 56ec9686c4SKumar Gala #size-cells = <0>; 57ec9686c4SKumar Gala cell-index = <0>; 5823308c54SMichael Barkowski compatible = "fsl-i2c"; 5923308c54SMichael Barkowski reg = <3000 100>; 6023308c54SMichael Barkowski interrupts = <e 8>; 6123308c54SMichael Barkowski interrupt-parent = <&pic>; 6223308c54SMichael Barkowski dfsrr; 6323308c54SMichael Barkowski }; 6423308c54SMichael Barkowski 6523308c54SMichael Barkowski serial@4500 { 6623308c54SMichael Barkowski device_type = "serial"; 6723308c54SMichael Barkowski compatible = "ns16550"; 6823308c54SMichael Barkowski reg = <4500 100>; 6923308c54SMichael Barkowski clock-frequency = <0>; 7023308c54SMichael Barkowski interrupts = <9 8>; 7123308c54SMichael Barkowski interrupt-parent = <&pic>; 7223308c54SMichael Barkowski }; 7323308c54SMichael Barkowski 7423308c54SMichael Barkowski serial@4600 { 7523308c54SMichael Barkowski device_type = "serial"; 7623308c54SMichael Barkowski compatible = "ns16550"; 7723308c54SMichael Barkowski reg = <4600 100>; 7823308c54SMichael Barkowski clock-frequency = <0>; 7923308c54SMichael Barkowski interrupts = <a 8>; 8023308c54SMichael Barkowski interrupt-parent = <&pic>; 8123308c54SMichael Barkowski }; 8223308c54SMichael Barkowski 8323308c54SMichael Barkowski crypto@30000 { 8423308c54SMichael Barkowski device_type = "crypto"; 8523308c54SMichael Barkowski model = "SEC2"; 8623308c54SMichael Barkowski compatible = "talitos"; 8723308c54SMichael Barkowski reg = <30000 7000>; 8823308c54SMichael Barkowski interrupts = <b 8>; 8923308c54SMichael Barkowski interrupt-parent = <&pic>; 9023308c54SMichael Barkowski /* Rev. 2.2 */ 9123308c54SMichael Barkowski num-channels = <1>; 9223308c54SMichael Barkowski channel-fifo-len = <18>; 9323308c54SMichael Barkowski exec-units-mask = <0000004c>; 9423308c54SMichael Barkowski descriptor-types-mask = <0122003f>; 9523308c54SMichael Barkowski }; 9623308c54SMichael Barkowski 9723308c54SMichael Barkowski pic:pic@700 { 9823308c54SMichael Barkowski interrupt-controller; 9923308c54SMichael Barkowski #address-cells = <0>; 10023308c54SMichael Barkowski #interrupt-cells = <2>; 10123308c54SMichael Barkowski reg = <700 100>; 10223308c54SMichael Barkowski device_type = "ipic"; 10323308c54SMichael Barkowski }; 10423308c54SMichael Barkowski 10523308c54SMichael Barkowski par_io@1400 { 10623308c54SMichael Barkowski reg = <1400 100>; 10723308c54SMichael Barkowski device_type = "par_io"; 10823308c54SMichael Barkowski num-ports = <7>; 10923308c54SMichael Barkowski 11023308c54SMichael Barkowski ucc2pio:ucc_pin@02 { 11123308c54SMichael Barkowski pio-map = < 11223308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 11323308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 11423308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 11523308c54SMichael Barkowski 3 15 2 0 1 0 /* RX_CLK (CLK16) */ 11623308c54SMichael Barkowski 3 17 2 0 1 0 /* TX_CLK (CLK3) */ 11723308c54SMichael Barkowski 0 12 1 0 1 0 /* TxD0 */ 11823308c54SMichael Barkowski 0 13 1 0 1 0 /* TxD1 */ 11923308c54SMichael Barkowski 0 14 1 0 1 0 /* TxD2 */ 12023308c54SMichael Barkowski 0 15 1 0 1 0 /* TxD3 */ 12123308c54SMichael Barkowski 0 16 2 0 1 0 /* RxD0 */ 12223308c54SMichael Barkowski 0 17 2 0 1 0 /* RxD1 */ 12323308c54SMichael Barkowski 0 18 2 0 1 0 /* RxD2 */ 12423308c54SMichael Barkowski 0 19 2 0 1 0 /* RxD3 */ 12523308c54SMichael Barkowski 0 1a 2 0 1 0 /* RX_ER */ 12623308c54SMichael Barkowski 0 1b 1 0 1 0 /* TX_ER */ 12723308c54SMichael Barkowski 0 1c 2 0 1 0 /* RX_DV */ 12823308c54SMichael Barkowski 0 1d 2 0 1 0 /* COL */ 12923308c54SMichael Barkowski 0 1e 1 0 1 0 /* TX_EN */ 13023308c54SMichael Barkowski 0 1f 2 0 1 0>; /* CRS */ 13123308c54SMichael Barkowski }; 13223308c54SMichael Barkowski ucc3pio:ucc_pin@03 { 13323308c54SMichael Barkowski pio-map = < 13423308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 13523308c54SMichael Barkowski 0 d 2 0 1 0 /* RX_CLK (CLK9) */ 13623308c54SMichael Barkowski 3 18 2 0 1 0 /* TX_CLK (CLK10) */ 13723308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 13823308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 13923308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 14023308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 14123308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 14223308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 14323308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 14423308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 14523308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 14623308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 14723308c54SMichael Barkowski 1 a 2 0 1 0 /* RX_DV */ 14823308c54SMichael Barkowski 1 b 2 0 1 0 /* COL */ 14923308c54SMichael Barkowski 1 c 1 0 1 0 /* TX_EN */ 15023308c54SMichael Barkowski 1 d 2 0 1 0>; /* CRS */ 15123308c54SMichael Barkowski }; 15223308c54SMichael Barkowski }; 15323308c54SMichael Barkowski }; 15423308c54SMichael Barkowski 15523308c54SMichael Barkowski qe@e0100000 { 15623308c54SMichael Barkowski #address-cells = <1>; 15723308c54SMichael Barkowski #size-cells = <1>; 15823308c54SMichael Barkowski device_type = "qe"; 15923308c54SMichael Barkowski model = "QE"; 16023308c54SMichael Barkowski ranges = <0 e0100000 00100000>; 16123308c54SMichael Barkowski reg = <e0100000 480>; 16223308c54SMichael Barkowski brg-frequency = <0>; 16323308c54SMichael Barkowski bus-frequency = <BCD3D80>; 16423308c54SMichael Barkowski 16523308c54SMichael Barkowski muram@10000 { 16623308c54SMichael Barkowski device_type = "muram"; 16723308c54SMichael Barkowski ranges = <0 00010000 00004000>; 16823308c54SMichael Barkowski 16923308c54SMichael Barkowski data-only@0 { 17023308c54SMichael Barkowski reg = <0 4000>; 17123308c54SMichael Barkowski }; 17223308c54SMichael Barkowski }; 17323308c54SMichael Barkowski 17423308c54SMichael Barkowski spi@4c0 { 17523308c54SMichael Barkowski device_type = "spi"; 17623308c54SMichael Barkowski compatible = "fsl_spi"; 17723308c54SMichael Barkowski reg = <4c0 40>; 17823308c54SMichael Barkowski interrupts = <2>; 17923308c54SMichael Barkowski interrupt-parent = <&qeic>; 1808237bf08SAnton Vorontsov mode = "cpu-qe"; 18123308c54SMichael Barkowski }; 18223308c54SMichael Barkowski 18323308c54SMichael Barkowski spi@500 { 18423308c54SMichael Barkowski device_type = "spi"; 18523308c54SMichael Barkowski compatible = "fsl_spi"; 18623308c54SMichael Barkowski reg = <500 40>; 18723308c54SMichael Barkowski interrupts = <1>; 18823308c54SMichael Barkowski interrupt-parent = <&qeic>; 18923308c54SMichael Barkowski mode = "cpu"; 19023308c54SMichael Barkowski }; 19123308c54SMichael Barkowski 19223308c54SMichael Barkowski ucc@3000 { 19323308c54SMichael Barkowski device_type = "network"; 19423308c54SMichael Barkowski compatible = "ucc_geth"; 19523308c54SMichael Barkowski model = "UCC"; 19623308c54SMichael Barkowski device-id = <2>; 19723308c54SMichael Barkowski reg = <3000 200>; 19823308c54SMichael Barkowski interrupts = <21>; 19923308c54SMichael Barkowski interrupt-parent = <&qeic>; 200eae98266STimur Tabi /* 201eae98266STimur Tabi * mac-address is deprecated and will be removed 202eae98266STimur Tabi * in 2.6.25. Only recent versions of 203eae98266STimur Tabi * U-Boot support local-mac-address, however. 204eae98266STimur Tabi */ 205eae98266STimur Tabi mac-address = [ 00 00 00 00 00 00 ]; 206eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 20723308c54SMichael Barkowski rx-clock = <20>; 20823308c54SMichael Barkowski tx-clock = <13>; 20923308c54SMichael Barkowski phy-handle = <&phy00>; 21023308c54SMichael Barkowski pio-handle = <&ucc2pio>; 21123308c54SMichael Barkowski }; 21223308c54SMichael Barkowski 21323308c54SMichael Barkowski ucc@2200 { 21423308c54SMichael Barkowski device_type = "network"; 21523308c54SMichael Barkowski compatible = "ucc_geth"; 21623308c54SMichael Barkowski model = "UCC"; 21723308c54SMichael Barkowski device-id = <3>; 21823308c54SMichael Barkowski reg = <2200 200>; 21923308c54SMichael Barkowski interrupts = <22>; 22023308c54SMichael Barkowski interrupt-parent = <&qeic>; 221eae98266STimur Tabi /* 222eae98266STimur Tabi * mac-address is deprecated and will be removed 223eae98266STimur Tabi * in 2.6.25. Only recent versions of 224eae98266STimur Tabi * U-Boot support local-mac-address, however. 225eae98266STimur Tabi */ 226eae98266STimur Tabi mac-address = [ 00 00 00 00 00 00 ]; 227eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 22823308c54SMichael Barkowski rx-clock = <19>; 22923308c54SMichael Barkowski tx-clock = <1a>; 23023308c54SMichael Barkowski phy-handle = <&phy04>; 23123308c54SMichael Barkowski pio-handle = <&ucc3pio>; 23223308c54SMichael Barkowski }; 23323308c54SMichael Barkowski 23423308c54SMichael Barkowski mdio@3120 { 23523308c54SMichael Barkowski #address-cells = <1>; 23623308c54SMichael Barkowski #size-cells = <0>; 23723308c54SMichael Barkowski reg = <3120 18>; 23823308c54SMichael Barkowski device_type = "mdio"; 23923308c54SMichael Barkowski compatible = "ucc_geth_phy"; 24023308c54SMichael Barkowski 24123308c54SMichael Barkowski phy00:ethernet-phy@00 { 24223308c54SMichael Barkowski interrupt-parent = <&pic>; 24323308c54SMichael Barkowski interrupts = <0>; 24423308c54SMichael Barkowski reg = <0>; 24523308c54SMichael Barkowski device_type = "ethernet-phy"; 24623308c54SMichael Barkowski }; 24723308c54SMichael Barkowski phy04:ethernet-phy@04 { 24823308c54SMichael Barkowski interrupt-parent = <&pic>; 24923308c54SMichael Barkowski interrupts = <0>; 25023308c54SMichael Barkowski reg = <4>; 25123308c54SMichael Barkowski device_type = "ethernet-phy"; 25223308c54SMichael Barkowski }; 25323308c54SMichael Barkowski }; 25423308c54SMichael Barkowski 25523308c54SMichael Barkowski qeic:qeic@80 { 25623308c54SMichael Barkowski interrupt-controller; 25723308c54SMichael Barkowski device_type = "qeic"; 25823308c54SMichael Barkowski #address-cells = <0>; 25923308c54SMichael Barkowski #interrupt-cells = <1>; 26023308c54SMichael Barkowski reg = <80 80>; 26123308c54SMichael Barkowski big-endian; 26223308c54SMichael Barkowski interrupts = <20 8 21 8>; //high:32 low:33 26323308c54SMichael Barkowski interrupt-parent = <&pic>; 26423308c54SMichael Barkowski }; 26523308c54SMichael Barkowski }; 2661b3c5cdaSKumar Gala 2671b3c5cdaSKumar Gala pci@e0008500 { 2681b3c5cdaSKumar Gala interrupt-map-mask = <f800 0 0 7>; 2691b3c5cdaSKumar Gala interrupt-map = < 2701b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 2711b3c5cdaSKumar Gala 8000 0 0 1 &pic 11 8 2721b3c5cdaSKumar Gala 2731b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 2741b3c5cdaSKumar Gala 8800 0 0 1 &pic 12 8 2751b3c5cdaSKumar Gala 8800 0 0 2 &pic 13 8 2761b3c5cdaSKumar Gala 8800 0 0 3 &pic 14 8 2771b3c5cdaSKumar Gala 8800 0 0 4 &pic 30 8 2781b3c5cdaSKumar Gala 2791b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 2801b3c5cdaSKumar Gala 9000 0 0 1 &pic 13 8 2811b3c5cdaSKumar Gala 9000 0 0 2 &pic 14 8 2821b3c5cdaSKumar Gala 9000 0 0 3 &pic 30 8 2831b3c5cdaSKumar Gala 9000 0 0 4 &pic 11 8>; 2841b3c5cdaSKumar Gala 2851b3c5cdaSKumar Gala interrupt-parent = <&pic>; 2861b3c5cdaSKumar Gala interrupts = <42 8>; 2871b3c5cdaSKumar Gala bus-range = <0 0>; 2881b3c5cdaSKumar Gala ranges = <42000000 0 80000000 80000000 0 10000000 2891b3c5cdaSKumar Gala 02000000 0 90000000 90000000 0 10000000 2901b3c5cdaSKumar Gala 01000000 0 d0000000 d0000000 0 04000000>; 2911b3c5cdaSKumar Gala clock-frequency = <0>; 2921b3c5cdaSKumar Gala #interrupt-cells = <1>; 2931b3c5cdaSKumar Gala #size-cells = <2>; 2941b3c5cdaSKumar Gala #address-cells = <3>; 2951b3c5cdaSKumar Gala reg = <e0008500 100>; 2961b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 2971b3c5cdaSKumar Gala device_type = "pci"; 2981b3c5cdaSKumar Gala }; 29923308c54SMichael Barkowski}; 300