12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later 223308c54SMichael Barkowski/* 323308c54SMichael Barkowski * MPC832x RDB Device Tree Source 423308c54SMichael Barkowski * 523308c54SMichael Barkowski * Copyright 2007 Freescale Semiconductor Inc. 623308c54SMichael Barkowski */ 723308c54SMichael Barkowski 8cda13dd1SPaul Gortmaker/dts-v1/; 9cda13dd1SPaul Gortmaker 1023308c54SMichael Barkowski/ { 1123308c54SMichael Barkowski model = "MPC8323ERDB"; 1223308c54SMichael Barkowski compatible = "MPC8323ERDB", "MPC832xRDB", "MPC83xxRDB"; 1323308c54SMichael Barkowski #address-cells = <1>; 1423308c54SMichael Barkowski #size-cells = <1>; 1523308c54SMichael Barkowski 16ea082fa9SKumar Gala aliases { 17e871809cSMichael Barkowski ethernet0 = &enet1; 18e871809cSMichael Barkowski ethernet1 = &enet0; 19ea082fa9SKumar Gala serial0 = &serial0; 20ea082fa9SKumar Gala serial1 = &serial1; 21ea082fa9SKumar Gala pci0 = &pci0; 22ea082fa9SKumar Gala }; 23ea082fa9SKumar Gala 2423308c54SMichael Barkowski cpus { 2523308c54SMichael Barkowski #address-cells = <1>; 2623308c54SMichael Barkowski #size-cells = <0>; 2723308c54SMichael Barkowski 2823308c54SMichael Barkowski PowerPC,8323@0 { 2923308c54SMichael Barkowski device_type = "cpu"; 30cda13dd1SPaul Gortmaker reg = <0x0>; 31cda13dd1SPaul Gortmaker d-cache-line-size = <0x20>; // 32 bytes 32cda13dd1SPaul Gortmaker i-cache-line-size = <0x20>; // 32 bytes 33cda13dd1SPaul Gortmaker d-cache-size = <16384>; // L1, 16K 34cda13dd1SPaul Gortmaker i-cache-size = <16384>; // L1, 16K 3523308c54SMichael Barkowski timebase-frequency = <0>; 3623308c54SMichael Barkowski bus-frequency = <0>; 3723308c54SMichael Barkowski clock-frequency = <0>; 3823308c54SMichael Barkowski }; 3923308c54SMichael Barkowski }; 4023308c54SMichael Barkowski 4123308c54SMichael Barkowski memory { 4223308c54SMichael Barkowski device_type = "memory"; 43cda13dd1SPaul Gortmaker reg = <0x00000000 0x04000000>; 4423308c54SMichael Barkowski }; 4523308c54SMichael Barkowski 4623308c54SMichael Barkowski soc8323@e0000000 { 4723308c54SMichael Barkowski #address-cells = <1>; 4823308c54SMichael Barkowski #size-cells = <1>; 4923308c54SMichael Barkowski device_type = "soc"; 50cf0d19fbSKim Phillips compatible = "simple-bus"; 51cda13dd1SPaul Gortmaker ranges = <0x0 0xe0000000 0x00100000>; 52cda13dd1SPaul Gortmaker reg = <0xe0000000 0x00000200>; 5323308c54SMichael Barkowski bus-frequency = <0>; 5423308c54SMichael Barkowski 5523308c54SMichael Barkowski wdt@200 { 5623308c54SMichael Barkowski device_type = "watchdog"; 5723308c54SMichael Barkowski compatible = "mpc83xx_wdt"; 58cda13dd1SPaul Gortmaker reg = <0x200 0x100>; 5923308c54SMichael Barkowski }; 6023308c54SMichael Barkowski 611f8a25d4SAnton Vorontsov pmc: power@b00 { 621f8a25d4SAnton Vorontsov compatible = "fsl,mpc8323-pmc", "fsl,mpc8349-pmc"; 631f8a25d4SAnton Vorontsov reg = <0xb00 0x100 0xa00 0x100>; 641f8a25d4SAnton Vorontsov interrupts = <80 0x8>; 651f8a25d4SAnton Vorontsov interrupt-parent = <&ipic>; 661f8a25d4SAnton Vorontsov }; 671f8a25d4SAnton Vorontsov 6823308c54SMichael Barkowski i2c@3000 { 69ec9686c4SKumar Gala #address-cells = <1>; 70ec9686c4SKumar Gala #size-cells = <0>; 71ec9686c4SKumar Gala cell-index = <0>; 7223308c54SMichael Barkowski compatible = "fsl-i2c"; 73cda13dd1SPaul Gortmaker reg = <0x3000 0x100>; 74cda13dd1SPaul Gortmaker interrupts = <14 0x8>; 75dee80553SKumar Gala interrupt-parent = <&ipic>; 7623308c54SMichael Barkowski dfsrr; 7723308c54SMichael Barkowski }; 7823308c54SMichael Barkowski 79ea082fa9SKumar Gala serial0: serial@4500 { 80ea082fa9SKumar Gala cell-index = <0>; 8123308c54SMichael Barkowski device_type = "serial"; 82f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 83cda13dd1SPaul Gortmaker reg = <0x4500 0x100>; 8423308c54SMichael Barkowski clock-frequency = <0>; 85cda13dd1SPaul Gortmaker interrupts = <9 0x8>; 86dee80553SKumar Gala interrupt-parent = <&ipic>; 8723308c54SMichael Barkowski }; 8823308c54SMichael Barkowski 89ea082fa9SKumar Gala serial1: serial@4600 { 90ea082fa9SKumar Gala cell-index = <1>; 9123308c54SMichael Barkowski device_type = "serial"; 92f706bed1SKumar Gala compatible = "fsl,ns16550", "ns16550"; 93cda13dd1SPaul Gortmaker reg = <0x4600 0x100>; 9423308c54SMichael Barkowski clock-frequency = <0>; 95cda13dd1SPaul Gortmaker interrupts = <10 0x8>; 96dee80553SKumar Gala interrupt-parent = <&ipic>; 97dee80553SKumar Gala }; 98dee80553SKumar Gala 99dee80553SKumar Gala dma@82a8 { 100dee80553SKumar Gala #address-cells = <1>; 101dee80553SKumar Gala #size-cells = <1>; 102dee80553SKumar Gala compatible = "fsl,mpc8323-dma", "fsl,elo-dma"; 103dee80553SKumar Gala reg = <0x82a8 4>; 104dee80553SKumar Gala ranges = <0 0x8100 0x1a8>; 105dee80553SKumar Gala interrupt-parent = <&ipic>; 106dee80553SKumar Gala interrupts = <71 8>; 107dee80553SKumar Gala cell-index = <0>; 108dee80553SKumar Gala dma-channel@0 { 109dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 110dee80553SKumar Gala reg = <0 0x80>; 111aeb42762SKumar Gala cell-index = <0>; 112dee80553SKumar Gala interrupt-parent = <&ipic>; 113dee80553SKumar Gala interrupts = <71 8>; 114dee80553SKumar Gala }; 115dee80553SKumar Gala dma-channel@80 { 116dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 117dee80553SKumar Gala reg = <0x80 0x80>; 118aeb42762SKumar Gala cell-index = <1>; 119dee80553SKumar Gala interrupt-parent = <&ipic>; 120dee80553SKumar Gala interrupts = <71 8>; 121dee80553SKumar Gala }; 122dee80553SKumar Gala dma-channel@100 { 123dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 124dee80553SKumar Gala reg = <0x100 0x80>; 125aeb42762SKumar Gala cell-index = <2>; 126dee80553SKumar Gala interrupt-parent = <&ipic>; 127dee80553SKumar Gala interrupts = <71 8>; 128dee80553SKumar Gala }; 129dee80553SKumar Gala dma-channel@180 { 130dee80553SKumar Gala compatible = "fsl,mpc8323-dma-channel", "fsl,elo-dma-channel"; 131dee80553SKumar Gala reg = <0x180 0x28>; 132aeb42762SKumar Gala cell-index = <3>; 133dee80553SKumar Gala interrupt-parent = <&ipic>; 134dee80553SKumar Gala interrupts = <71 8>; 135dee80553SKumar Gala }; 13623308c54SMichael Barkowski }; 13723308c54SMichael Barkowski 13823308c54SMichael Barkowski crypto@30000 { 1393fd44736SKim Phillips compatible = "fsl,sec2.2", "fsl,sec2.1", "fsl,sec2.0"; 1403fd44736SKim Phillips reg = <0x30000 0x10000>; 141cda13dd1SPaul Gortmaker interrupts = <11 0x8>; 142dee80553SKumar Gala interrupt-parent = <&ipic>; 1433fd44736SKim Phillips fsl,num-channels = <1>; 1443fd44736SKim Phillips fsl,channel-fifo-len = <24>; 1453fd44736SKim Phillips fsl,exec-units-mask = <0x4c>; 1463fd44736SKim Phillips fsl,descriptor-types-mask = <0x0122003f>; 1471f8a25d4SAnton Vorontsov sleep = <&pmc 0x03000000>; 14823308c54SMichael Barkowski }; 14923308c54SMichael Barkowski 150dee80553SKumar Gala ipic:pic@700 { 15123308c54SMichael Barkowski interrupt-controller; 15223308c54SMichael Barkowski #address-cells = <0>; 15323308c54SMichael Barkowski #interrupt-cells = <2>; 154cda13dd1SPaul Gortmaker reg = <0x700 0x100>; 15523308c54SMichael Barkowski device_type = "ipic"; 15623308c54SMichael Barkowski }; 15723308c54SMichael Barkowski 15823308c54SMichael Barkowski par_io@1400 { 15975458285SAnton Vorontsov #address-cells = <1>; 16075458285SAnton Vorontsov #size-cells = <1>; 161cda13dd1SPaul Gortmaker reg = <0x1400 0x100>; 16275458285SAnton Vorontsov ranges = <3 0x1448 0x18>; 16375458285SAnton Vorontsov compatible = "fsl,mpc8323-qe-pario"; 16423308c54SMichael Barkowski device_type = "par_io"; 16523308c54SMichael Barkowski num-ports = <7>; 16623308c54SMichael Barkowski 16775458285SAnton Vorontsov qe_pio_d: gpio-controller@1448 { 16875458285SAnton Vorontsov #gpio-cells = <2>; 16975458285SAnton Vorontsov compatible = "fsl,mpc8323-qe-pario-bank"; 17075458285SAnton Vorontsov reg = <3 0x18>; 17175458285SAnton Vorontsov gpio-controller; 17275458285SAnton Vorontsov }; 17375458285SAnton Vorontsov 174600ecc19SMathieu Malaterre ucc2pio:ucc_pin@2 { 17523308c54SMichael Barkowski pio-map = < 17623308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 17723308c54SMichael Barkowski 3 4 3 0 2 0 /* MDIO */ 17823308c54SMichael Barkowski 3 5 1 0 2 0 /* MDC */ 179cda13dd1SPaul Gortmaker 3 21 2 0 1 0 /* RX_CLK (CLK16) */ 180cda13dd1SPaul Gortmaker 3 23 2 0 1 0 /* TX_CLK (CLK3) */ 181cda13dd1SPaul Gortmaker 0 18 1 0 1 0 /* TxD0 */ 182cda13dd1SPaul Gortmaker 0 19 1 0 1 0 /* TxD1 */ 183cda13dd1SPaul Gortmaker 0 20 1 0 1 0 /* TxD2 */ 184cda13dd1SPaul Gortmaker 0 21 1 0 1 0 /* TxD3 */ 185cda13dd1SPaul Gortmaker 0 22 2 0 1 0 /* RxD0 */ 186cda13dd1SPaul Gortmaker 0 23 2 0 1 0 /* RxD1 */ 187cda13dd1SPaul Gortmaker 0 24 2 0 1 0 /* RxD2 */ 188cda13dd1SPaul Gortmaker 0 25 2 0 1 0 /* RxD3 */ 189cda13dd1SPaul Gortmaker 0 26 2 0 1 0 /* RX_ER */ 190cda13dd1SPaul Gortmaker 0 27 1 0 1 0 /* TX_ER */ 191cda13dd1SPaul Gortmaker 0 28 2 0 1 0 /* RX_DV */ 192cda13dd1SPaul Gortmaker 0 29 2 0 1 0 /* COL */ 193cda13dd1SPaul Gortmaker 0 30 1 0 1 0 /* TX_EN */ 194cda13dd1SPaul Gortmaker 0 31 2 0 1 0>; /* CRS */ 19523308c54SMichael Barkowski }; 196600ecc19SMathieu Malaterre ucc3pio:ucc_pin@3 { 19723308c54SMichael Barkowski pio-map = < 19823308c54SMichael Barkowski /* port pin dir open_drain assignment has_irq */ 199cda13dd1SPaul Gortmaker 0 13 2 0 1 0 /* RX_CLK (CLK9) */ 200cda13dd1SPaul Gortmaker 3 24 2 0 1 0 /* TX_CLK (CLK10) */ 20123308c54SMichael Barkowski 1 0 1 0 1 0 /* TxD0 */ 20223308c54SMichael Barkowski 1 1 1 0 1 0 /* TxD1 */ 20323308c54SMichael Barkowski 1 2 1 0 1 0 /* TxD2 */ 20423308c54SMichael Barkowski 1 3 1 0 1 0 /* TxD3 */ 20523308c54SMichael Barkowski 1 4 2 0 1 0 /* RxD0 */ 20623308c54SMichael Barkowski 1 5 2 0 1 0 /* RxD1 */ 20723308c54SMichael Barkowski 1 6 2 0 1 0 /* RxD2 */ 20823308c54SMichael Barkowski 1 7 2 0 1 0 /* RxD3 */ 20923308c54SMichael Barkowski 1 8 2 0 1 0 /* RX_ER */ 21023308c54SMichael Barkowski 1 9 1 0 1 0 /* TX_ER */ 211cda13dd1SPaul Gortmaker 1 10 2 0 1 0 /* RX_DV */ 212cda13dd1SPaul Gortmaker 1 11 2 0 1 0 /* COL */ 213cda13dd1SPaul Gortmaker 1 12 1 0 1 0 /* TX_EN */ 214cda13dd1SPaul Gortmaker 1 13 2 0 1 0>; /* CRS */ 21523308c54SMichael Barkowski }; 21623308c54SMichael Barkowski }; 21723308c54SMichael Barkowski }; 21823308c54SMichael Barkowski 21923308c54SMichael Barkowski qe@e0100000 { 22023308c54SMichael Barkowski #address-cells = <1>; 22123308c54SMichael Barkowski #size-cells = <1>; 22223308c54SMichael Barkowski device_type = "qe"; 223a2dd70a1SAnton Vorontsov compatible = "fsl,qe"; 224cda13dd1SPaul Gortmaker ranges = <0x0 0xe0100000 0x00100000>; 225cda13dd1SPaul Gortmaker reg = <0xe0100000 0x480>; 22623308c54SMichael Barkowski brg-frequency = <0>; 227cda13dd1SPaul Gortmaker bus-frequency = <198000000>; 22801b14a90SHaiying Wang fsl,qe-num-riscs = <1>; 22901b14a90SHaiying Wang fsl,qe-num-snums = <28>; 23023308c54SMichael Barkowski 23123308c54SMichael Barkowski muram@10000 { 232390167efSPaul Gortmaker #address-cells = <1>; 233390167efSPaul Gortmaker #size-cells = <1>; 234a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram", "fsl,cpm-muram"; 235cda13dd1SPaul Gortmaker ranges = <0x0 0x00010000 0x00004000>; 23623308c54SMichael Barkowski 23723308c54SMichael Barkowski data-only@0 { 238a2dd70a1SAnton Vorontsov compatible = "fsl,qe-muram-data", 239a2dd70a1SAnton Vorontsov "fsl,cpm-muram-data"; 240cda13dd1SPaul Gortmaker reg = <0x0 0x4000>; 24123308c54SMichael Barkowski }; 24223308c54SMichael Barkowski }; 24323308c54SMichael Barkowski 24423308c54SMichael Barkowski spi@4c0 { 24575458285SAnton Vorontsov #address-cells = <1>; 24675458285SAnton Vorontsov #size-cells = <0>; 247f3a2b29dSAnton Vorontsov cell-index = <0>; 248f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 249cda13dd1SPaul Gortmaker reg = <0x4c0 0x40>; 25023308c54SMichael Barkowski interrupts = <2>; 25123308c54SMichael Barkowski interrupt-parent = <&qeic>; 252*8c452a88SChristophe Leroy cs-gpios = <&qe_pio_d 13 0>; 2538237bf08SAnton Vorontsov mode = "cpu-qe"; 25475458285SAnton Vorontsov 25575458285SAnton Vorontsov mmc-slot@0 { 25675458285SAnton Vorontsov compatible = "fsl,mpc8323rdb-mmc-slot", 25775458285SAnton Vorontsov "mmc-spi-slot"; 25875458285SAnton Vorontsov reg = <0>; 25975458285SAnton Vorontsov gpios = <&qe_pio_d 14 1 26075458285SAnton Vorontsov &qe_pio_d 15 0>; 26175458285SAnton Vorontsov voltage-ranges = <3300 3300>; 26275458285SAnton Vorontsov spi-max-frequency = <50000000>; 26375458285SAnton Vorontsov }; 26423308c54SMichael Barkowski }; 26523308c54SMichael Barkowski 26623308c54SMichael Barkowski spi@500 { 267f3a2b29dSAnton Vorontsov cell-index = <1>; 268f3a2b29dSAnton Vorontsov compatible = "fsl,spi"; 269cda13dd1SPaul Gortmaker reg = <0x500 0x40>; 27023308c54SMichael Barkowski interrupts = <1>; 27123308c54SMichael Barkowski interrupt-parent = <&qeic>; 27223308c54SMichael Barkowski mode = "cpu"; 27323308c54SMichael Barkowski }; 27423308c54SMichael Barkowski 275e77b28ebSKumar Gala enet0: ucc@3000 { 27623308c54SMichael Barkowski device_type = "network"; 27723308c54SMichael Barkowski compatible = "ucc_geth"; 278e77b28ebSKumar Gala cell-index = <2>; 279cda13dd1SPaul Gortmaker reg = <0x3000 0x200>; 280cda13dd1SPaul Gortmaker interrupts = <33>; 28123308c54SMichael Barkowski interrupt-parent = <&qeic>; 282eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2839fb1e350STimur Tabi rx-clock-name = "clk16"; 2849fb1e350STimur Tabi tx-clock-name = "clk3"; 28523308c54SMichael Barkowski phy-handle = <&phy00>; 28623308c54SMichael Barkowski pio-handle = <&ucc2pio>; 28723308c54SMichael Barkowski }; 28823308c54SMichael Barkowski 289e77b28ebSKumar Gala enet1: ucc@2200 { 29023308c54SMichael Barkowski device_type = "network"; 29123308c54SMichael Barkowski compatible = "ucc_geth"; 292e77b28ebSKumar Gala cell-index = <3>; 293cda13dd1SPaul Gortmaker reg = <0x2200 0x200>; 294cda13dd1SPaul Gortmaker interrupts = <34>; 29523308c54SMichael Barkowski interrupt-parent = <&qeic>; 296eae98266STimur Tabi local-mac-address = [ 00 00 00 00 00 00 ]; 2979fb1e350STimur Tabi rx-clock-name = "clk9"; 2989fb1e350STimur Tabi tx-clock-name = "clk10"; 29923308c54SMichael Barkowski phy-handle = <&phy04>; 30023308c54SMichael Barkowski pio-handle = <&ucc3pio>; 30123308c54SMichael Barkowski }; 30223308c54SMichael Barkowski 30323308c54SMichael Barkowski mdio@3120 { 30423308c54SMichael Barkowski #address-cells = <1>; 30523308c54SMichael Barkowski #size-cells = <0>; 306cda13dd1SPaul Gortmaker reg = <0x3120 0x18>; 307d0a2f82dSAnton Vorontsov compatible = "fsl,ucc-mdio"; 30823308c54SMichael Barkowski 309600ecc19SMathieu Malaterre phy00:ethernet-phy@0 { 310cda13dd1SPaul Gortmaker reg = <0x0>; 31123308c54SMichael Barkowski }; 312600ecc19SMathieu Malaterre phy04:ethernet-phy@4 { 313cda13dd1SPaul Gortmaker reg = <0x4>; 31423308c54SMichael Barkowski }; 31523308c54SMichael Barkowski }; 31623308c54SMichael Barkowski 317a2dd70a1SAnton Vorontsov qeic:interrupt-controller@80 { 31823308c54SMichael Barkowski interrupt-controller; 319a2dd70a1SAnton Vorontsov compatible = "fsl,qe-ic"; 32023308c54SMichael Barkowski #address-cells = <0>; 32123308c54SMichael Barkowski #interrupt-cells = <1>; 322cda13dd1SPaul Gortmaker reg = <0x80 0x80>; 32323308c54SMichael Barkowski big-endian; 324cda13dd1SPaul Gortmaker interrupts = <32 0x8 33 0x8>; //high:32 low:33 325dee80553SKumar Gala interrupt-parent = <&ipic>; 32623308c54SMichael Barkowski }; 32723308c54SMichael Barkowski }; 3281b3c5cdaSKumar Gala 329ea082fa9SKumar Gala pci0: pci@e0008500 { 330cda13dd1SPaul Gortmaker interrupt-map-mask = <0xf800 0x0 0x0 0x7>; 3311b3c5cdaSKumar Gala interrupt-map = < 3321b3c5cdaSKumar Gala /* IDSEL 0x10 AD16 (USB) */ 333dee80553SKumar Gala 0x8000 0x0 0x0 0x1 &ipic 17 0x8 3341b3c5cdaSKumar Gala 3351b3c5cdaSKumar Gala /* IDSEL 0x11 AD17 (Mini1)*/ 336dee80553SKumar Gala 0x8800 0x0 0x0 0x1 &ipic 18 0x8 337dee80553SKumar Gala 0x8800 0x0 0x0 0x2 &ipic 19 0x8 338dee80553SKumar Gala 0x8800 0x0 0x0 0x3 &ipic 20 0x8 339dee80553SKumar Gala 0x8800 0x0 0x0 0x4 &ipic 48 0x8 3401b3c5cdaSKumar Gala 3411b3c5cdaSKumar Gala /* IDSEL 0x12 AD18 (PCI/Mini2) */ 342dee80553SKumar Gala 0x9000 0x0 0x0 0x1 &ipic 19 0x8 343dee80553SKumar Gala 0x9000 0x0 0x0 0x2 &ipic 20 0x8 344dee80553SKumar Gala 0x9000 0x0 0x0 0x3 &ipic 48 0x8 345dee80553SKumar Gala 0x9000 0x0 0x0 0x4 &ipic 17 0x8>; 3461b3c5cdaSKumar Gala 347dee80553SKumar Gala interrupt-parent = <&ipic>; 348cda13dd1SPaul Gortmaker interrupts = <66 0x8>; 349cda13dd1SPaul Gortmaker bus-range = <0x0 0x0>; 350cda13dd1SPaul Gortmaker ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 351cda13dd1SPaul Gortmaker 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 352cda13dd1SPaul Gortmaker 0x01000000 0x0 0xd0000000 0xd0000000 0x0 0x04000000>; 3531b3c5cdaSKumar Gala clock-frequency = <0>; 3541b3c5cdaSKumar Gala #interrupt-cells = <1>; 3551b3c5cdaSKumar Gala #size-cells = <2>; 3561b3c5cdaSKumar Gala #address-cells = <3>; 3575b70a097SJohn Rigby reg = <0xe0008500 0x100 /* internal registers */ 3585b70a097SJohn Rigby 0xe0008300 0x8>; /* config space access registers */ 3591b3c5cdaSKumar Gala compatible = "fsl,mpc8349-pci"; 3601b3c5cdaSKumar Gala device_type = "pci"; 3611f8a25d4SAnton Vorontsov sleep = <&pmc 0x00010000>; 3621b3c5cdaSKumar Gala }; 36323308c54SMichael Barkowski}; 364