18c2ecf20Sopenharmony_ci/* 28c2ecf20Sopenharmony_ci * Device Tree Source for AMCC Canyonlands (460EX) 38c2ecf20Sopenharmony_ci * 48c2ecf20Sopenharmony_ci * Copyright 2008-2009 DENX Software Engineering, Stefan Roese <sr@denx.de> 58c2ecf20Sopenharmony_ci * 68c2ecf20Sopenharmony_ci * This file is licensed under the terms of the GNU General Public 78c2ecf20Sopenharmony_ci * License version 2. This program is licensed "as is" without 88c2ecf20Sopenharmony_ci * any warranty of any kind, whether express or implied. 98c2ecf20Sopenharmony_ci */ 108c2ecf20Sopenharmony_ci 118c2ecf20Sopenharmony_ci/dts-v1/; 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci/ { 148c2ecf20Sopenharmony_ci #address-cells = <2>; 158c2ecf20Sopenharmony_ci #size-cells = <1>; 168c2ecf20Sopenharmony_ci model = "amcc,canyonlands"; 178c2ecf20Sopenharmony_ci compatible = "amcc,canyonlands"; 188c2ecf20Sopenharmony_ci dcr-parent = <&{/cpus/cpu@0}>; 198c2ecf20Sopenharmony_ci 208c2ecf20Sopenharmony_ci aliases { 218c2ecf20Sopenharmony_ci ethernet0 = &EMAC0; 228c2ecf20Sopenharmony_ci ethernet1 = &EMAC1; 238c2ecf20Sopenharmony_ci serial0 = &UART0; 248c2ecf20Sopenharmony_ci serial1 = &UART1; 258c2ecf20Sopenharmony_ci }; 268c2ecf20Sopenharmony_ci 278c2ecf20Sopenharmony_ci cpus { 288c2ecf20Sopenharmony_ci #address-cells = <1>; 298c2ecf20Sopenharmony_ci #size-cells = <0>; 308c2ecf20Sopenharmony_ci 318c2ecf20Sopenharmony_ci cpu@0 { 328c2ecf20Sopenharmony_ci device_type = "cpu"; 338c2ecf20Sopenharmony_ci model = "PowerPC,460EX"; 348c2ecf20Sopenharmony_ci reg = <0x00000000>; 358c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 368c2ecf20Sopenharmony_ci timebase-frequency = <0>; /* Filled in by U-Boot */ 378c2ecf20Sopenharmony_ci i-cache-line-size = <32>; 388c2ecf20Sopenharmony_ci d-cache-line-size = <32>; 398c2ecf20Sopenharmony_ci i-cache-size = <32768>; 408c2ecf20Sopenharmony_ci d-cache-size = <32768>; 418c2ecf20Sopenharmony_ci dcr-controller; 428c2ecf20Sopenharmony_ci dcr-access-method = "native"; 438c2ecf20Sopenharmony_ci next-level-cache = <&L2C0>; 448c2ecf20Sopenharmony_ci }; 458c2ecf20Sopenharmony_ci }; 468c2ecf20Sopenharmony_ci 478c2ecf20Sopenharmony_ci memory { 488c2ecf20Sopenharmony_ci device_type = "memory"; 498c2ecf20Sopenharmony_ci reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by U-Boot */ 508c2ecf20Sopenharmony_ci }; 518c2ecf20Sopenharmony_ci 528c2ecf20Sopenharmony_ci UIC0: interrupt-controller0 { 538c2ecf20Sopenharmony_ci compatible = "ibm,uic-460ex","ibm,uic"; 548c2ecf20Sopenharmony_ci interrupt-controller; 558c2ecf20Sopenharmony_ci cell-index = <0>; 568c2ecf20Sopenharmony_ci dcr-reg = <0x0c0 0x009>; 578c2ecf20Sopenharmony_ci #address-cells = <0>; 588c2ecf20Sopenharmony_ci #size-cells = <0>; 598c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 608c2ecf20Sopenharmony_ci }; 618c2ecf20Sopenharmony_ci 628c2ecf20Sopenharmony_ci UIC1: interrupt-controller1 { 638c2ecf20Sopenharmony_ci compatible = "ibm,uic-460ex","ibm,uic"; 648c2ecf20Sopenharmony_ci interrupt-controller; 658c2ecf20Sopenharmony_ci cell-index = <1>; 668c2ecf20Sopenharmony_ci dcr-reg = <0x0d0 0x009>; 678c2ecf20Sopenharmony_ci #address-cells = <0>; 688c2ecf20Sopenharmony_ci #size-cells = <0>; 698c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 708c2ecf20Sopenharmony_ci interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */ 718c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 728c2ecf20Sopenharmony_ci }; 738c2ecf20Sopenharmony_ci 748c2ecf20Sopenharmony_ci UIC2: interrupt-controller2 { 758c2ecf20Sopenharmony_ci compatible = "ibm,uic-460ex","ibm,uic"; 768c2ecf20Sopenharmony_ci interrupt-controller; 778c2ecf20Sopenharmony_ci cell-index = <2>; 788c2ecf20Sopenharmony_ci dcr-reg = <0x0e0 0x009>; 798c2ecf20Sopenharmony_ci #address-cells = <0>; 808c2ecf20Sopenharmony_ci #size-cells = <0>; 818c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 828c2ecf20Sopenharmony_ci interrupts = <0xa 0x4 0xb 0x4>; /* cascade */ 838c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ci UIC3: interrupt-controller3 { 878c2ecf20Sopenharmony_ci compatible = "ibm,uic-460ex","ibm,uic"; 888c2ecf20Sopenharmony_ci interrupt-controller; 898c2ecf20Sopenharmony_ci cell-index = <3>; 908c2ecf20Sopenharmony_ci dcr-reg = <0x0f0 0x009>; 918c2ecf20Sopenharmony_ci #address-cells = <0>; 928c2ecf20Sopenharmony_ci #size-cells = <0>; 938c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 948c2ecf20Sopenharmony_ci interrupts = <0x10 0x4 0x11 0x4>; /* cascade */ 958c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 968c2ecf20Sopenharmony_ci }; 978c2ecf20Sopenharmony_ci 988c2ecf20Sopenharmony_ci SDR0: sdr { 998c2ecf20Sopenharmony_ci compatible = "ibm,sdr-460ex"; 1008c2ecf20Sopenharmony_ci dcr-reg = <0x00e 0x002>; 1018c2ecf20Sopenharmony_ci }; 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci CPR0: cpr { 1048c2ecf20Sopenharmony_ci compatible = "ibm,cpr-460ex"; 1058c2ecf20Sopenharmony_ci dcr-reg = <0x00c 0x002>; 1068c2ecf20Sopenharmony_ci }; 1078c2ecf20Sopenharmony_ci 1088c2ecf20Sopenharmony_ci CPM0: cpm { 1098c2ecf20Sopenharmony_ci compatible = "ibm,cpm"; 1108c2ecf20Sopenharmony_ci dcr-access-method = "native"; 1118c2ecf20Sopenharmony_ci dcr-reg = <0x160 0x003>; 1128c2ecf20Sopenharmony_ci unused-units = <0x00000100>; 1138c2ecf20Sopenharmony_ci idle-doze = <0x02000000>; 1148c2ecf20Sopenharmony_ci standby = <0xfeff791d>; 1158c2ecf20Sopenharmony_ci }; 1168c2ecf20Sopenharmony_ci 1178c2ecf20Sopenharmony_ci L2C0: l2c { 1188c2ecf20Sopenharmony_ci compatible = "ibm,l2-cache-460ex", "ibm,l2-cache"; 1198c2ecf20Sopenharmony_ci dcr-reg = <0x020 0x008 /* Internal SRAM DCR's */ 1208c2ecf20Sopenharmony_ci 0x030 0x008>; /* L2 cache DCR's */ 1218c2ecf20Sopenharmony_ci cache-line-size = <32>; /* 32 bytes */ 1228c2ecf20Sopenharmony_ci cache-size = <262144>; /* L2, 256K */ 1238c2ecf20Sopenharmony_ci interrupt-parent = <&UIC1>; 1248c2ecf20Sopenharmony_ci interrupts = <11 1>; 1258c2ecf20Sopenharmony_ci }; 1268c2ecf20Sopenharmony_ci 1278c2ecf20Sopenharmony_ci plb { 1288c2ecf20Sopenharmony_ci compatible = "ibm,plb-460ex", "ibm,plb4"; 1298c2ecf20Sopenharmony_ci #address-cells = <2>; 1308c2ecf20Sopenharmony_ci #size-cells = <1>; 1318c2ecf20Sopenharmony_ci ranges; 1328c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 1338c2ecf20Sopenharmony_ci 1348c2ecf20Sopenharmony_ci SDRAM0: sdram { 1358c2ecf20Sopenharmony_ci compatible = "ibm,sdram-460ex", "ibm,sdram-405gp"; 1368c2ecf20Sopenharmony_ci dcr-reg = <0x010 0x002>; 1378c2ecf20Sopenharmony_ci }; 1388c2ecf20Sopenharmony_ci 1398c2ecf20Sopenharmony_ci CRYPTO: crypto@180000 { 1408c2ecf20Sopenharmony_ci compatible = "amcc,ppc460ex-crypto", "amcc,ppc4xx-crypto"; 1418c2ecf20Sopenharmony_ci reg = <4 0x00180000 0x80400>; 1428c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 1438c2ecf20Sopenharmony_ci interrupts = <0x1d 0x4>; 1448c2ecf20Sopenharmony_ci }; 1458c2ecf20Sopenharmony_ci 1468c2ecf20Sopenharmony_ci HWRNG: hwrng@110000 { 1478c2ecf20Sopenharmony_ci compatible = "amcc,ppc460ex-rng", "ppc4xx-rng"; 1488c2ecf20Sopenharmony_ci reg = <4 0x00110000 0x50>; 1498c2ecf20Sopenharmony_ci }; 1508c2ecf20Sopenharmony_ci 1518c2ecf20Sopenharmony_ci MAL0: mcmal { 1528c2ecf20Sopenharmony_ci compatible = "ibm,mcmal-460ex", "ibm,mcmal2"; 1538c2ecf20Sopenharmony_ci dcr-reg = <0x180 0x062>; 1548c2ecf20Sopenharmony_ci num-tx-chans = <2>; 1558c2ecf20Sopenharmony_ci num-rx-chans = <16>; 1568c2ecf20Sopenharmony_ci #address-cells = <0>; 1578c2ecf20Sopenharmony_ci #size-cells = <0>; 1588c2ecf20Sopenharmony_ci interrupt-parent = <&UIC2>; 1598c2ecf20Sopenharmony_ci interrupts = < /*TXEOB*/ 0x6 0x4 1608c2ecf20Sopenharmony_ci /*RXEOB*/ 0x7 0x4 1618c2ecf20Sopenharmony_ci /*SERR*/ 0x3 0x4 1628c2ecf20Sopenharmony_ci /*TXDE*/ 0x4 0x4 1638c2ecf20Sopenharmony_ci /*RXDE*/ 0x5 0x4>; 1648c2ecf20Sopenharmony_ci }; 1658c2ecf20Sopenharmony_ci 1668c2ecf20Sopenharmony_ci USB0: ehci@bffd0400 { 1678c2ecf20Sopenharmony_ci compatible = "ibm,usb-ehci-460ex", "usb-ehci"; 1688c2ecf20Sopenharmony_ci interrupt-parent = <&UIC2>; 1698c2ecf20Sopenharmony_ci interrupts = <0x1d 4>; 1708c2ecf20Sopenharmony_ci reg = <4 0xbffd0400 0x90 4 0xbffd0490 0x70>; 1718c2ecf20Sopenharmony_ci }; 1728c2ecf20Sopenharmony_ci 1738c2ecf20Sopenharmony_ci USB1: usb@bffd0000 { 1748c2ecf20Sopenharmony_ci compatible = "ohci-le"; 1758c2ecf20Sopenharmony_ci reg = <4 0xbffd0000 0x60>; 1768c2ecf20Sopenharmony_ci interrupt-parent = <&UIC2>; 1778c2ecf20Sopenharmony_ci interrupts = <0x1e 4>; 1788c2ecf20Sopenharmony_ci }; 1798c2ecf20Sopenharmony_ci 1808c2ecf20Sopenharmony_ci USBOTG0: usbotg@bff80000 { 1818c2ecf20Sopenharmony_ci compatible = "amcc,dwc-otg"; 1828c2ecf20Sopenharmony_ci reg = <0x4 0xbff80000 0x10000>; 1838c2ecf20Sopenharmony_ci interrupt-parent = <&USBOTG0>; 1848c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 1858c2ecf20Sopenharmony_ci #address-cells = <0>; 1868c2ecf20Sopenharmony_ci #size-cells = <0>; 1878c2ecf20Sopenharmony_ci interrupts = <0x0 0x1 0x2>; 1888c2ecf20Sopenharmony_ci interrupt-map = </* USB-OTG */ 0x0 &UIC2 0x1c 0x4 1898c2ecf20Sopenharmony_ci /* HIGH-POWER */ 0x1 &UIC1 0x1a 0x8 1908c2ecf20Sopenharmony_ci /* DMA */ 0x2 &UIC0 0xc 0x4>; 1918c2ecf20Sopenharmony_ci }; 1928c2ecf20Sopenharmony_ci 1938c2ecf20Sopenharmony_ci AHBDMA: dma@bffd0800 { 1948c2ecf20Sopenharmony_ci compatible = "snps,dma-spear1340"; 1958c2ecf20Sopenharmony_ci reg = <4 0xbffd0800 0x400>; 1968c2ecf20Sopenharmony_ci interrupt-parent = <&UIC3>; 1978c2ecf20Sopenharmony_ci interrupts = <0x5 0x4>; 1988c2ecf20Sopenharmony_ci #dma-cells = <3>; 1998c2ecf20Sopenharmony_ci }; 2008c2ecf20Sopenharmony_ci 2018c2ecf20Sopenharmony_ci SATA0: sata@bffd1000 { 2028c2ecf20Sopenharmony_ci compatible = "amcc,sata-460ex"; 2038c2ecf20Sopenharmony_ci reg = <4 0xbffd1000 0x800>; 2048c2ecf20Sopenharmony_ci interrupt-parent = <&UIC3>; 2058c2ecf20Sopenharmony_ci interrupts = <0x0 0x4>; 2068c2ecf20Sopenharmony_ci dmas = <&AHBDMA 0 1 0>; 2078c2ecf20Sopenharmony_ci dma-names = "sata-dma"; 2088c2ecf20Sopenharmony_ci }; 2098c2ecf20Sopenharmony_ci 2108c2ecf20Sopenharmony_ci POB0: opb { 2118c2ecf20Sopenharmony_ci compatible = "ibm,opb-460ex", "ibm,opb"; 2128c2ecf20Sopenharmony_ci #address-cells = <1>; 2138c2ecf20Sopenharmony_ci #size-cells = <1>; 2148c2ecf20Sopenharmony_ci ranges = <0xb0000000 0x00000004 0xb0000000 0x50000000>; 2158c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 2168c2ecf20Sopenharmony_ci 2178c2ecf20Sopenharmony_ci EBC0: ebc { 2188c2ecf20Sopenharmony_ci compatible = "ibm,ebc-460ex", "ibm,ebc"; 2198c2ecf20Sopenharmony_ci dcr-reg = <0x012 0x002>; 2208c2ecf20Sopenharmony_ci #address-cells = <2>; 2218c2ecf20Sopenharmony_ci #size-cells = <1>; 2228c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 2238c2ecf20Sopenharmony_ci /* ranges property is supplied by U-Boot */ 2248c2ecf20Sopenharmony_ci interrupts = <0x6 0x4>; 2258c2ecf20Sopenharmony_ci interrupt-parent = <&UIC1>; 2268c2ecf20Sopenharmony_ci 2278c2ecf20Sopenharmony_ci nor_flash@0,0 { 2288c2ecf20Sopenharmony_ci compatible = "amd,s29gl512n", "cfi-flash"; 2298c2ecf20Sopenharmony_ci bank-width = <2>; 2308c2ecf20Sopenharmony_ci reg = <0x00000000 0x00000000 0x04000000>; 2318c2ecf20Sopenharmony_ci #address-cells = <1>; 2328c2ecf20Sopenharmony_ci #size-cells = <1>; 2338c2ecf20Sopenharmony_ci partition@0 { 2348c2ecf20Sopenharmony_ci label = "kernel"; 2358c2ecf20Sopenharmony_ci reg = <0x00000000 0x001e0000>; 2368c2ecf20Sopenharmony_ci }; 2378c2ecf20Sopenharmony_ci partition@1e0000 { 2388c2ecf20Sopenharmony_ci label = "dtb"; 2398c2ecf20Sopenharmony_ci reg = <0x001e0000 0x00020000>; 2408c2ecf20Sopenharmony_ci }; 2418c2ecf20Sopenharmony_ci partition@200000 { 2428c2ecf20Sopenharmony_ci label = "ramdisk"; 2438c2ecf20Sopenharmony_ci reg = <0x00200000 0x01400000>; 2448c2ecf20Sopenharmony_ci }; 2458c2ecf20Sopenharmony_ci partition@1600000 { 2468c2ecf20Sopenharmony_ci label = "jffs2"; 2478c2ecf20Sopenharmony_ci reg = <0x01600000 0x00400000>; 2488c2ecf20Sopenharmony_ci }; 2498c2ecf20Sopenharmony_ci partition@1a00000 { 2508c2ecf20Sopenharmony_ci label = "user"; 2518c2ecf20Sopenharmony_ci reg = <0x01a00000 0x02560000>; 2528c2ecf20Sopenharmony_ci }; 2538c2ecf20Sopenharmony_ci partition@3f60000 { 2548c2ecf20Sopenharmony_ci label = "env"; 2558c2ecf20Sopenharmony_ci reg = <0x03f60000 0x00040000>; 2568c2ecf20Sopenharmony_ci }; 2578c2ecf20Sopenharmony_ci partition@3fa0000 { 2588c2ecf20Sopenharmony_ci label = "u-boot"; 2598c2ecf20Sopenharmony_ci reg = <0x03fa0000 0x00060000>; 2608c2ecf20Sopenharmony_ci }; 2618c2ecf20Sopenharmony_ci }; 2628c2ecf20Sopenharmony_ci 2638c2ecf20Sopenharmony_ci cpld@2,0 { 2648c2ecf20Sopenharmony_ci compatible = "amcc,ppc460ex-bcsr"; 2658c2ecf20Sopenharmony_ci reg = <2 0x0 0x9>; 2668c2ecf20Sopenharmony_ci }; 2678c2ecf20Sopenharmony_ci 2688c2ecf20Sopenharmony_ci ndfc@3,0 { 2698c2ecf20Sopenharmony_ci compatible = "ibm,ndfc"; 2708c2ecf20Sopenharmony_ci reg = <0x00000003 0x00000000 0x00002000>; 2718c2ecf20Sopenharmony_ci ccr = <0x00001000>; 2728c2ecf20Sopenharmony_ci bank-settings = <0x80002222>; 2738c2ecf20Sopenharmony_ci #address-cells = <1>; 2748c2ecf20Sopenharmony_ci #size-cells = <1>; 2758c2ecf20Sopenharmony_ci 2768c2ecf20Sopenharmony_ci nand { 2778c2ecf20Sopenharmony_ci #address-cells = <1>; 2788c2ecf20Sopenharmony_ci #size-cells = <1>; 2798c2ecf20Sopenharmony_ci 2808c2ecf20Sopenharmony_ci partition@0 { 2818c2ecf20Sopenharmony_ci label = "u-boot"; 2828c2ecf20Sopenharmony_ci reg = <0x00000000 0x00100000>; 2838c2ecf20Sopenharmony_ci }; 2848c2ecf20Sopenharmony_ci partition@100000 { 2858c2ecf20Sopenharmony_ci label = "user"; 2868c2ecf20Sopenharmony_ci reg = <0x00000000 0x03f00000>; 2878c2ecf20Sopenharmony_ci }; 2888c2ecf20Sopenharmony_ci }; 2898c2ecf20Sopenharmony_ci }; 2908c2ecf20Sopenharmony_ci }; 2918c2ecf20Sopenharmony_ci 2928c2ecf20Sopenharmony_ci UART0: serial@ef600300 { 2938c2ecf20Sopenharmony_ci device_type = "serial"; 2948c2ecf20Sopenharmony_ci compatible = "ns16550"; 2958c2ecf20Sopenharmony_ci reg = <0xef600300 0x00000008>; 2968c2ecf20Sopenharmony_ci virtual-reg = <0xef600300>; 2978c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 2988c2ecf20Sopenharmony_ci current-speed = <0>; /* Filled in by U-Boot */ 2998c2ecf20Sopenharmony_ci interrupt-parent = <&UIC1>; 3008c2ecf20Sopenharmony_ci interrupts = <0x1 0x4>; 3018c2ecf20Sopenharmony_ci }; 3028c2ecf20Sopenharmony_ci 3038c2ecf20Sopenharmony_ci UART1: serial@ef600400 { 3048c2ecf20Sopenharmony_ci device_type = "serial"; 3058c2ecf20Sopenharmony_ci compatible = "ns16550"; 3068c2ecf20Sopenharmony_ci reg = <0xef600400 0x00000008>; 3078c2ecf20Sopenharmony_ci virtual-reg = <0xef600400>; 3088c2ecf20Sopenharmony_ci clock-frequency = <0>; /* Filled in by U-Boot */ 3098c2ecf20Sopenharmony_ci current-speed = <0>; /* Filled in by U-Boot */ 3108c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 3118c2ecf20Sopenharmony_ci interrupts = <0x1 0x4>; 3128c2ecf20Sopenharmony_ci }; 3138c2ecf20Sopenharmony_ci 3148c2ecf20Sopenharmony_ci IIC0: i2c@ef600700 { 3158c2ecf20Sopenharmony_ci compatible = "ibm,iic-460ex", "ibm,iic"; 3168c2ecf20Sopenharmony_ci reg = <0xef600700 0x00000014>; 3178c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 3188c2ecf20Sopenharmony_ci interrupts = <0x2 0x4>; 3198c2ecf20Sopenharmony_ci #address-cells = <1>; 3208c2ecf20Sopenharmony_ci #size-cells = <0>; 3218c2ecf20Sopenharmony_ci rtc@68 { 3228c2ecf20Sopenharmony_ci compatible = "st,m41t80"; 3238c2ecf20Sopenharmony_ci reg = <0x68>; 3248c2ecf20Sopenharmony_ci interrupt-parent = <&UIC2>; 3258c2ecf20Sopenharmony_ci interrupts = <0x19 0x8>; 3268c2ecf20Sopenharmony_ci }; 3278c2ecf20Sopenharmony_ci sttm@48 { 3288c2ecf20Sopenharmony_ci compatible = "ad,ad7414"; 3298c2ecf20Sopenharmony_ci reg = <0x48>; 3308c2ecf20Sopenharmony_ci interrupt-parent = <&UIC1>; 3318c2ecf20Sopenharmony_ci interrupts = <0x14 0x8>; 3328c2ecf20Sopenharmony_ci }; 3338c2ecf20Sopenharmony_ci }; 3348c2ecf20Sopenharmony_ci 3358c2ecf20Sopenharmony_ci IIC1: i2c@ef600800 { 3368c2ecf20Sopenharmony_ci compatible = "ibm,iic-460ex", "ibm,iic"; 3378c2ecf20Sopenharmony_ci reg = <0xef600800 0x00000014>; 3388c2ecf20Sopenharmony_ci interrupt-parent = <&UIC0>; 3398c2ecf20Sopenharmony_ci interrupts = <0x3 0x4>; 3408c2ecf20Sopenharmony_ci }; 3418c2ecf20Sopenharmony_ci 3428c2ecf20Sopenharmony_ci GPIO0: gpio@ef600b00 { 3438c2ecf20Sopenharmony_ci compatible = "ibm,ppc4xx-gpio"; 3448c2ecf20Sopenharmony_ci reg = <0xef600b00 0x00000048>; 3458c2ecf20Sopenharmony_ci gpio-controller; 3468c2ecf20Sopenharmony_ci }; 3478c2ecf20Sopenharmony_ci 3488c2ecf20Sopenharmony_ci ZMII0: emac-zmii@ef600d00 { 3498c2ecf20Sopenharmony_ci compatible = "ibm,zmii-460ex", "ibm,zmii"; 3508c2ecf20Sopenharmony_ci reg = <0xef600d00 0x0000000c>; 3518c2ecf20Sopenharmony_ci }; 3528c2ecf20Sopenharmony_ci 3538c2ecf20Sopenharmony_ci RGMII0: emac-rgmii@ef601500 { 3548c2ecf20Sopenharmony_ci compatible = "ibm,rgmii-460ex", "ibm,rgmii"; 3558c2ecf20Sopenharmony_ci reg = <0xef601500 0x00000008>; 3568c2ecf20Sopenharmony_ci has-mdio; 3578c2ecf20Sopenharmony_ci }; 3588c2ecf20Sopenharmony_ci 3598c2ecf20Sopenharmony_ci TAH0: emac-tah@ef601350 { 3608c2ecf20Sopenharmony_ci compatible = "ibm,tah-460ex", "ibm,tah"; 3618c2ecf20Sopenharmony_ci reg = <0xef601350 0x00000030>; 3628c2ecf20Sopenharmony_ci }; 3638c2ecf20Sopenharmony_ci 3648c2ecf20Sopenharmony_ci TAH1: emac-tah@ef601450 { 3658c2ecf20Sopenharmony_ci compatible = "ibm,tah-460ex", "ibm,tah"; 3668c2ecf20Sopenharmony_ci reg = <0xef601450 0x00000030>; 3678c2ecf20Sopenharmony_ci }; 3688c2ecf20Sopenharmony_ci 3698c2ecf20Sopenharmony_ci EMAC0: ethernet@ef600e00 { 3708c2ecf20Sopenharmony_ci device_type = "network"; 3718c2ecf20Sopenharmony_ci compatible = "ibm,emac-460ex", "ibm,emac4sync"; 3728c2ecf20Sopenharmony_ci interrupt-parent = <&EMAC0>; 3738c2ecf20Sopenharmony_ci interrupts = <0x0 0x1>; 3748c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 3758c2ecf20Sopenharmony_ci #address-cells = <0>; 3768c2ecf20Sopenharmony_ci #size-cells = <0>; 3778c2ecf20Sopenharmony_ci interrupt-map = </*Status*/ 0x0 &UIC2 0x10 0x4 3788c2ecf20Sopenharmony_ci /*Wake*/ 0x1 &UIC2 0x14 0x4>; 3798c2ecf20Sopenharmony_ci reg = <0xef600e00 0x000000c4>; 3808c2ecf20Sopenharmony_ci local-mac-address = [000000000000]; /* Filled in by U-Boot */ 3818c2ecf20Sopenharmony_ci mal-device = <&MAL0>; 3828c2ecf20Sopenharmony_ci mal-tx-channel = <0>; 3838c2ecf20Sopenharmony_ci mal-rx-channel = <0>; 3848c2ecf20Sopenharmony_ci cell-index = <0>; 3858c2ecf20Sopenharmony_ci max-frame-size = <9000>; 3868c2ecf20Sopenharmony_ci rx-fifo-size = <4096>; 3878c2ecf20Sopenharmony_ci tx-fifo-size = <2048>; 3888c2ecf20Sopenharmony_ci rx-fifo-size-gige = <16384>; 3898c2ecf20Sopenharmony_ci phy-mode = "rgmii"; 3908c2ecf20Sopenharmony_ci phy-map = <0x00000000>; 3918c2ecf20Sopenharmony_ci rgmii-device = <&RGMII0>; 3928c2ecf20Sopenharmony_ci rgmii-channel = <0>; 3938c2ecf20Sopenharmony_ci tah-device = <&TAH0>; 3948c2ecf20Sopenharmony_ci tah-channel = <0>; 3958c2ecf20Sopenharmony_ci has-inverted-stacr-oc; 3968c2ecf20Sopenharmony_ci has-new-stacr-staopc; 3978c2ecf20Sopenharmony_ci }; 3988c2ecf20Sopenharmony_ci 3998c2ecf20Sopenharmony_ci EMAC1: ethernet@ef600f00 { 4008c2ecf20Sopenharmony_ci device_type = "network"; 4018c2ecf20Sopenharmony_ci compatible = "ibm,emac-460ex", "ibm,emac4sync"; 4028c2ecf20Sopenharmony_ci interrupt-parent = <&EMAC1>; 4038c2ecf20Sopenharmony_ci interrupts = <0x0 0x1>; 4048c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 4058c2ecf20Sopenharmony_ci #address-cells = <0>; 4068c2ecf20Sopenharmony_ci #size-cells = <0>; 4078c2ecf20Sopenharmony_ci interrupt-map = </*Status*/ 0x0 &UIC2 0x11 0x4 4088c2ecf20Sopenharmony_ci /*Wake*/ 0x1 &UIC2 0x15 0x4>; 4098c2ecf20Sopenharmony_ci reg = <0xef600f00 0x000000c4>; 4108c2ecf20Sopenharmony_ci local-mac-address = [000000000000]; /* Filled in by U-Boot */ 4118c2ecf20Sopenharmony_ci mal-device = <&MAL0>; 4128c2ecf20Sopenharmony_ci mal-tx-channel = <1>; 4138c2ecf20Sopenharmony_ci mal-rx-channel = <8>; 4148c2ecf20Sopenharmony_ci cell-index = <1>; 4158c2ecf20Sopenharmony_ci max-frame-size = <9000>; 4168c2ecf20Sopenharmony_ci rx-fifo-size = <4096>; 4178c2ecf20Sopenharmony_ci tx-fifo-size = <2048>; 4188c2ecf20Sopenharmony_ci rx-fifo-size-gige = <16384>; 4198c2ecf20Sopenharmony_ci phy-mode = "rgmii"; 4208c2ecf20Sopenharmony_ci phy-map = <0x00000000>; 4218c2ecf20Sopenharmony_ci rgmii-device = <&RGMII0>; 4228c2ecf20Sopenharmony_ci rgmii-channel = <1>; 4238c2ecf20Sopenharmony_ci tah-device = <&TAH1>; 4248c2ecf20Sopenharmony_ci tah-channel = <1>; 4258c2ecf20Sopenharmony_ci has-inverted-stacr-oc; 4268c2ecf20Sopenharmony_ci has-new-stacr-staopc; 4278c2ecf20Sopenharmony_ci mdio-device = <&EMAC0>; 4288c2ecf20Sopenharmony_ci }; 4298c2ecf20Sopenharmony_ci }; 4308c2ecf20Sopenharmony_ci 4318c2ecf20Sopenharmony_ci PCIX0: pci@c0ec00000 { 4328c2ecf20Sopenharmony_ci device_type = "pci"; 4338c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 4348c2ecf20Sopenharmony_ci #size-cells = <2>; 4358c2ecf20Sopenharmony_ci #address-cells = <3>; 4368c2ecf20Sopenharmony_ci compatible = "ibm,plb-pcix-460ex", "ibm,plb-pcix"; 4378c2ecf20Sopenharmony_ci primary; 4388c2ecf20Sopenharmony_ci large-inbound-windows; 4398c2ecf20Sopenharmony_ci enable-msi-hole; 4408c2ecf20Sopenharmony_ci reg = <0x0000000c 0x0ec00000 0x00000008 /* Config space access */ 4418c2ecf20Sopenharmony_ci 0x00000000 0x00000000 0x00000000 /* no IACK cycles */ 4428c2ecf20Sopenharmony_ci 0x0000000c 0x0ed00000 0x00000004 /* Special cycles */ 4438c2ecf20Sopenharmony_ci 0x0000000c 0x0ec80000 0x00000100 /* Internal registers */ 4448c2ecf20Sopenharmony_ci 0x0000000c 0x0ec80100 0x000000fc>; /* Internal messaging registers */ 4458c2ecf20Sopenharmony_ci 4468c2ecf20Sopenharmony_ci /* Outbound ranges, one memory and one IO, 4478c2ecf20Sopenharmony_ci * later cannot be changed 4488c2ecf20Sopenharmony_ci */ 4498c2ecf20Sopenharmony_ci ranges = <0x02000000 0x00000000 0x80000000 0x0000000d 0x80000000 0x00000000 0x80000000 4508c2ecf20Sopenharmony_ci 0x02000000 0x00000000 0x00000000 0x0000000c 0x0ee00000 0x00000000 0x00100000 4518c2ecf20Sopenharmony_ci 0x01000000 0x00000000 0x00000000 0x0000000c 0x08000000 0x00000000 0x00010000>; 4528c2ecf20Sopenharmony_ci 4538c2ecf20Sopenharmony_ci /* Inbound 2GB range starting at 0 */ 4548c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 4558c2ecf20Sopenharmony_ci 4568c2ecf20Sopenharmony_ci /* This drives busses 0 to 0x3f */ 4578c2ecf20Sopenharmony_ci bus-range = <0x0 0x3f>; 4588c2ecf20Sopenharmony_ci 4598c2ecf20Sopenharmony_ci /* All PCI interrupts are routed to ext IRQ 2 -> UIC1-0 */ 4608c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x0>; 4618c2ecf20Sopenharmony_ci interrupt-map = < 0x0 0x0 0x0 0x0 &UIC1 0x0 0x8 >; 4628c2ecf20Sopenharmony_ci }; 4638c2ecf20Sopenharmony_ci 4648c2ecf20Sopenharmony_ci PCIE0: pcie@d00000000 { 4658c2ecf20Sopenharmony_ci device_type = "pci"; 4668c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 4678c2ecf20Sopenharmony_ci #size-cells = <2>; 4688c2ecf20Sopenharmony_ci #address-cells = <3>; 4698c2ecf20Sopenharmony_ci compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; 4708c2ecf20Sopenharmony_ci primary; 4718c2ecf20Sopenharmony_ci port = <0x0>; /* port number */ 4728c2ecf20Sopenharmony_ci reg = <0x0000000d 0x00000000 0x20000000 /* Config space access */ 4738c2ecf20Sopenharmony_ci 0x0000000c 0x08010000 0x00001000>; /* Registers */ 4748c2ecf20Sopenharmony_ci dcr-reg = <0x100 0x020>; 4758c2ecf20Sopenharmony_ci sdr-base = <0x300>; 4768c2ecf20Sopenharmony_ci 4778c2ecf20Sopenharmony_ci /* Outbound ranges, one memory and one IO, 4788c2ecf20Sopenharmony_ci * later cannot be changed 4798c2ecf20Sopenharmony_ci */ 4808c2ecf20Sopenharmony_ci ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x00000000 0x00000000 0x80000000 4818c2ecf20Sopenharmony_ci 0x02000000 0x00000000 0x00000000 0x0000000f 0x00000000 0x00000000 0x00100000 4828c2ecf20Sopenharmony_ci 0x01000000 0x00000000 0x00000000 0x0000000f 0x80000000 0x00000000 0x00010000>; 4838c2ecf20Sopenharmony_ci 4848c2ecf20Sopenharmony_ci /* Inbound 2GB range starting at 0 */ 4858c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 4868c2ecf20Sopenharmony_ci 4878c2ecf20Sopenharmony_ci /* This drives busses 40 to 0x7f */ 4888c2ecf20Sopenharmony_ci bus-range = <0x40 0x7f>; 4898c2ecf20Sopenharmony_ci 4908c2ecf20Sopenharmony_ci /* Legacy interrupts (note the weird polarity, the bridge seems 4918c2ecf20Sopenharmony_ci * to invert PCIe legacy interrupts). 4928c2ecf20Sopenharmony_ci * We are de-swizzling here because the numbers are actually for 4938c2ecf20Sopenharmony_ci * port of the root complex virtual P2P bridge. But I want 4948c2ecf20Sopenharmony_ci * to avoid putting a node for it in the tree, so the numbers 4958c2ecf20Sopenharmony_ci * below are basically de-swizzled numbers. 4968c2ecf20Sopenharmony_ci * The real slot is on idsel 0, so the swizzling is 1:1 4978c2ecf20Sopenharmony_ci */ 4988c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 4998c2ecf20Sopenharmony_ci interrupt-map = < 5008c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x1 &UIC3 0xc 0x4 /* swizzled int A */ 5018c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &UIC3 0xd 0x4 /* swizzled int B */ 5028c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &UIC3 0xe 0x4 /* swizzled int C */ 5038c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &UIC3 0xf 0x4 /* swizzled int D */>; 5048c2ecf20Sopenharmony_ci }; 5058c2ecf20Sopenharmony_ci 5068c2ecf20Sopenharmony_ci PCIE1: pcie@d20000000 { 5078c2ecf20Sopenharmony_ci device_type = "pci"; 5088c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 5098c2ecf20Sopenharmony_ci #size-cells = <2>; 5108c2ecf20Sopenharmony_ci #address-cells = <3>; 5118c2ecf20Sopenharmony_ci compatible = "ibm,plb-pciex-460ex", "ibm,plb-pciex"; 5128c2ecf20Sopenharmony_ci primary; 5138c2ecf20Sopenharmony_ci port = <0x1>; /* port number */ 5148c2ecf20Sopenharmony_ci reg = <0x0000000d 0x20000000 0x20000000 /* Config space access */ 5158c2ecf20Sopenharmony_ci 0x0000000c 0x08011000 0x00001000>; /* Registers */ 5168c2ecf20Sopenharmony_ci dcr-reg = <0x120 0x020>; 5178c2ecf20Sopenharmony_ci sdr-base = <0x340>; 5188c2ecf20Sopenharmony_ci 5198c2ecf20Sopenharmony_ci /* Outbound ranges, one memory and one IO, 5208c2ecf20Sopenharmony_ci * later cannot be changed 5218c2ecf20Sopenharmony_ci */ 5228c2ecf20Sopenharmony_ci ranges = <0x02000000 0x00000000 0x80000000 0x0000000e 0x80000000 0x00000000 0x80000000 5238c2ecf20Sopenharmony_ci 0x02000000 0x00000000 0x00000000 0x0000000f 0x00100000 0x00000000 0x00100000 5248c2ecf20Sopenharmony_ci 0x01000000 0x00000000 0x00000000 0x0000000f 0x80010000 0x00000000 0x00010000>; 5258c2ecf20Sopenharmony_ci 5268c2ecf20Sopenharmony_ci /* Inbound 2GB range starting at 0 */ 5278c2ecf20Sopenharmony_ci dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x0 0x80000000>; 5288c2ecf20Sopenharmony_ci 5298c2ecf20Sopenharmony_ci /* This drives busses 80 to 0xbf */ 5308c2ecf20Sopenharmony_ci bus-range = <0x80 0xbf>; 5318c2ecf20Sopenharmony_ci 5328c2ecf20Sopenharmony_ci /* Legacy interrupts (note the weird polarity, the bridge seems 5338c2ecf20Sopenharmony_ci * to invert PCIe legacy interrupts). 5348c2ecf20Sopenharmony_ci * We are de-swizzling here because the numbers are actually for 5358c2ecf20Sopenharmony_ci * port of the root complex virtual P2P bridge. But I want 5368c2ecf20Sopenharmony_ci * to avoid putting a node for it in the tree, so the numbers 5378c2ecf20Sopenharmony_ci * below are basically de-swizzled numbers. 5388c2ecf20Sopenharmony_ci * The real slot is on idsel 0, so the swizzling is 1:1 5398c2ecf20Sopenharmony_ci */ 5408c2ecf20Sopenharmony_ci interrupt-map-mask = <0x0 0x0 0x0 0x7>; 5418c2ecf20Sopenharmony_ci interrupt-map = < 5428c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x1 &UIC3 0x10 0x4 /* swizzled int A */ 5438c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x2 &UIC3 0x11 0x4 /* swizzled int B */ 5448c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x3 &UIC3 0x12 0x4 /* swizzled int C */ 5458c2ecf20Sopenharmony_ci 0x0 0x0 0x0 0x4 &UIC3 0x13 0x4 /* swizzled int D */>; 5468c2ecf20Sopenharmony_ci }; 5478c2ecf20Sopenharmony_ci 5488c2ecf20Sopenharmony_ci MSI: ppc4xx-msi@C10000000 { 5498c2ecf20Sopenharmony_ci compatible = "amcc,ppc4xx-msi", "ppc4xx-msi"; 5508c2ecf20Sopenharmony_ci reg = < 0xC 0x10000000 0x100>; 5518c2ecf20Sopenharmony_ci sdr-base = <0x36C>; 5528c2ecf20Sopenharmony_ci msi-data = <0x00000000>; 5538c2ecf20Sopenharmony_ci msi-mask = <0x44440000>; 5548c2ecf20Sopenharmony_ci interrupt-count = <3>; 5558c2ecf20Sopenharmony_ci interrupts = <0 1 2 3>; 5568c2ecf20Sopenharmony_ci interrupt-parent = <&UIC3>; 5578c2ecf20Sopenharmony_ci #interrupt-cells = <1>; 5588c2ecf20Sopenharmony_ci #address-cells = <0>; 5598c2ecf20Sopenharmony_ci #size-cells = <0>; 5608c2ecf20Sopenharmony_ci interrupt-map = <0 &UIC3 0x18 1 5618c2ecf20Sopenharmony_ci 1 &UIC3 0x19 1 5628c2ecf20Sopenharmony_ci 2 &UIC3 0x1A 1 5638c2ecf20Sopenharmony_ci 3 &UIC3 0x1B 1>; 5648c2ecf20Sopenharmony_ci }; 5658c2ecf20Sopenharmony_ci }; 5668c2ecf20Sopenharmony_ci}; 567