18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0 28c2ecf20Sopenharmony_ci/* OCTEON 3XXX DTS common parts. */ 38c2ecf20Sopenharmony_ci 48c2ecf20Sopenharmony_ci/dts-v1/; 58c2ecf20Sopenharmony_ci 68c2ecf20Sopenharmony_ci/ { 78c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860"; 88c2ecf20Sopenharmony_ci #address-cells = <2>; 98c2ecf20Sopenharmony_ci #size-cells = <2>; 108c2ecf20Sopenharmony_ci interrupt-parent = <&ciu>; 118c2ecf20Sopenharmony_ci 128c2ecf20Sopenharmony_ci soc@0 { 138c2ecf20Sopenharmony_ci compatible = "simple-bus"; 148c2ecf20Sopenharmony_ci #address-cells = <2>; 158c2ecf20Sopenharmony_ci #size-cells = <2>; 168c2ecf20Sopenharmony_ci ranges; /* Direct mapping */ 178c2ecf20Sopenharmony_ci 188c2ecf20Sopenharmony_ci ciu: interrupt-controller@1070000000000 { 198c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-ciu"; 208c2ecf20Sopenharmony_ci interrupt-controller; 218c2ecf20Sopenharmony_ci /* Interrupts are specified by two parts: 228c2ecf20Sopenharmony_ci * 1) Controller register (0 or 1) 238c2ecf20Sopenharmony_ci * 2) Bit within the register (0..63) 248c2ecf20Sopenharmony_ci */ 258c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 268c2ecf20Sopenharmony_ci reg = <0x10700 0x00000000 0x0 0x7000>; 278c2ecf20Sopenharmony_ci }; 288c2ecf20Sopenharmony_ci 298c2ecf20Sopenharmony_ci gpio: gpio-controller@1070000000800 { 308c2ecf20Sopenharmony_ci #gpio-cells = <2>; 318c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-gpio"; 328c2ecf20Sopenharmony_ci reg = <0x10700 0x00000800 0x0 0x100>; 338c2ecf20Sopenharmony_ci gpio-controller; 348c2ecf20Sopenharmony_ci /* Interrupts are specified by two parts: 358c2ecf20Sopenharmony_ci * 1) GPIO pin number (0..15) 368c2ecf20Sopenharmony_ci * 2) Triggering (1 - edge rising 378c2ecf20Sopenharmony_ci * 2 - edge falling 388c2ecf20Sopenharmony_ci * 4 - level active high 398c2ecf20Sopenharmony_ci * 8 - level active low) 408c2ecf20Sopenharmony_ci */ 418c2ecf20Sopenharmony_ci interrupt-controller; 428c2ecf20Sopenharmony_ci #interrupt-cells = <2>; 438c2ecf20Sopenharmony_ci /* The GPIO pin connect to 16 consecutive CUI bits */ 448c2ecf20Sopenharmony_ci interrupts = <0 16>, <0 17>, <0 18>, <0 19>, 458c2ecf20Sopenharmony_ci <0 20>, <0 21>, <0 22>, <0 23>, 468c2ecf20Sopenharmony_ci <0 24>, <0 25>, <0 26>, <0 27>, 478c2ecf20Sopenharmony_ci <0 28>, <0 29>, <0 30>, <0 31>; 488c2ecf20Sopenharmony_ci }; 498c2ecf20Sopenharmony_ci 508c2ecf20Sopenharmony_ci smi0: mdio@1180000001800 { 518c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-mdio"; 528c2ecf20Sopenharmony_ci #address-cells = <1>; 538c2ecf20Sopenharmony_ci #size-cells = <0>; 548c2ecf20Sopenharmony_ci reg = <0x11800 0x00001800 0x0 0x40>; 558c2ecf20Sopenharmony_ci }; 568c2ecf20Sopenharmony_ci 578c2ecf20Sopenharmony_ci pip: pip@11800a0000000 { 588c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip"; 598c2ecf20Sopenharmony_ci #address-cells = <1>; 608c2ecf20Sopenharmony_ci #size-cells = <0>; 618c2ecf20Sopenharmony_ci reg = <0x11800 0xa0000000 0x0 0x2000>; 628c2ecf20Sopenharmony_ci 638c2ecf20Sopenharmony_ci interface@0 { 648c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip-interface"; 658c2ecf20Sopenharmony_ci #address-cells = <1>; 668c2ecf20Sopenharmony_ci #size-cells = <0>; 678c2ecf20Sopenharmony_ci reg = <0>; /* interface */ 688c2ecf20Sopenharmony_ci 698c2ecf20Sopenharmony_ci ethernet@0 { 708c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip-port"; 718c2ecf20Sopenharmony_ci reg = <0x0>; /* Port */ 728c2ecf20Sopenharmony_ci local-mac-address = [ 00 00 00 00 00 00 ]; 738c2ecf20Sopenharmony_ci }; 748c2ecf20Sopenharmony_ci ethernet@1 { 758c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip-port"; 768c2ecf20Sopenharmony_ci reg = <0x1>; /* Port */ 778c2ecf20Sopenharmony_ci local-mac-address = [ 00 00 00 00 00 00 ]; 788c2ecf20Sopenharmony_ci }; 798c2ecf20Sopenharmony_ci ethernet@2 { 808c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip-port"; 818c2ecf20Sopenharmony_ci reg = <0x2>; /* Port */ 828c2ecf20Sopenharmony_ci local-mac-address = [ 00 00 00 00 00 00 ]; 838c2ecf20Sopenharmony_ci }; 848c2ecf20Sopenharmony_ci }; 858c2ecf20Sopenharmony_ci 868c2ecf20Sopenharmony_ci interface@1 { 878c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-pip-interface"; 888c2ecf20Sopenharmony_ci #address-cells = <1>; 898c2ecf20Sopenharmony_ci #size-cells = <0>; 908c2ecf20Sopenharmony_ci reg = <1>; /* interface */ 918c2ecf20Sopenharmony_ci }; 928c2ecf20Sopenharmony_ci }; 938c2ecf20Sopenharmony_ci 948c2ecf20Sopenharmony_ci twsi0: i2c@1180000001000 { 958c2ecf20Sopenharmony_ci #address-cells = <1>; 968c2ecf20Sopenharmony_ci #size-cells = <0>; 978c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-twsi"; 988c2ecf20Sopenharmony_ci reg = <0x11800 0x00001000 0x0 0x200>; 998c2ecf20Sopenharmony_ci interrupts = <0 45>; 1008c2ecf20Sopenharmony_ci clock-frequency = <100000>; 1018c2ecf20Sopenharmony_ci }; 1028c2ecf20Sopenharmony_ci 1038c2ecf20Sopenharmony_ci uart0: serial@1180000000800 { 1048c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-uart","ns16550"; 1058c2ecf20Sopenharmony_ci reg = <0x11800 0x00000800 0x0 0x400>; 1068c2ecf20Sopenharmony_ci clock-frequency = <0>; 1078c2ecf20Sopenharmony_ci current-speed = <115200>; 1088c2ecf20Sopenharmony_ci reg-shift = <3>; 1098c2ecf20Sopenharmony_ci interrupts = <0 34>; 1108c2ecf20Sopenharmony_ci }; 1118c2ecf20Sopenharmony_ci 1128c2ecf20Sopenharmony_ci bootbus: bootbus@1180000000000 { 1138c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-bootbus"; 1148c2ecf20Sopenharmony_ci reg = <0x11800 0x00000000 0x0 0x200>; 1158c2ecf20Sopenharmony_ci /* The chip select number and offset */ 1168c2ecf20Sopenharmony_ci #address-cells = <2>; 1178c2ecf20Sopenharmony_ci /* The size of the chip select region */ 1188c2ecf20Sopenharmony_ci #size-cells = <1>; 1198c2ecf20Sopenharmony_ci ranges = <0 0 0x0 0x1f400000 0xc00000>, 1208c2ecf20Sopenharmony_ci <1 0 0x10000 0x30000000 0>, 1218c2ecf20Sopenharmony_ci <2 0 0x10000 0x40000000 0>, 1228c2ecf20Sopenharmony_ci <3 0 0x10000 0x50000000 0>, 1238c2ecf20Sopenharmony_ci <4 0 0x0 0x1d020000 0x10000>, 1248c2ecf20Sopenharmony_ci <5 0 0x0 0x1d040000 0x10000>, 1258c2ecf20Sopenharmony_ci <6 0 0x0 0x1d050000 0x10000>, 1268c2ecf20Sopenharmony_ci <7 0 0x10000 0x90000000 0>; 1278c2ecf20Sopenharmony_ci 1288c2ecf20Sopenharmony_ci cavium,cs-config@0 { 1298c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-bootbus-config"; 1308c2ecf20Sopenharmony_ci cavium,cs-index = <0>; 1318c2ecf20Sopenharmony_ci cavium,t-adr = <20>; 1328c2ecf20Sopenharmony_ci cavium,t-ce = <60>; 1338c2ecf20Sopenharmony_ci cavium,t-oe = <60>; 1348c2ecf20Sopenharmony_ci cavium,t-we = <45>; 1358c2ecf20Sopenharmony_ci cavium,t-rd-hld = <35>; 1368c2ecf20Sopenharmony_ci cavium,t-wr-hld = <45>; 1378c2ecf20Sopenharmony_ci cavium,t-pause = <0>; 1388c2ecf20Sopenharmony_ci cavium,t-wait = <0>; 1398c2ecf20Sopenharmony_ci cavium,t-page = <35>; 1408c2ecf20Sopenharmony_ci cavium,t-rd-dly = <0>; 1418c2ecf20Sopenharmony_ci 1428c2ecf20Sopenharmony_ci cavium,pages = <0>; 1438c2ecf20Sopenharmony_ci cavium,bus-width = <8>; 1448c2ecf20Sopenharmony_ci }; 1458c2ecf20Sopenharmony_ci cavium,cs-config@4 { 1468c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-bootbus-config"; 1478c2ecf20Sopenharmony_ci cavium,cs-index = <4>; 1488c2ecf20Sopenharmony_ci cavium,t-adr = <320>; 1498c2ecf20Sopenharmony_ci cavium,t-ce = <320>; 1508c2ecf20Sopenharmony_ci cavium,t-oe = <320>; 1518c2ecf20Sopenharmony_ci cavium,t-we = <320>; 1528c2ecf20Sopenharmony_ci cavium,t-rd-hld = <320>; 1538c2ecf20Sopenharmony_ci cavium,t-wr-hld = <320>; 1548c2ecf20Sopenharmony_ci cavium,t-pause = <320>; 1558c2ecf20Sopenharmony_ci cavium,t-wait = <320>; 1568c2ecf20Sopenharmony_ci cavium,t-page = <320>; 1578c2ecf20Sopenharmony_ci cavium,t-rd-dly = <0>; 1588c2ecf20Sopenharmony_ci 1598c2ecf20Sopenharmony_ci cavium,pages = <0>; 1608c2ecf20Sopenharmony_ci cavium,bus-width = <8>; 1618c2ecf20Sopenharmony_ci }; 1628c2ecf20Sopenharmony_ci cavium,cs-config@5 { 1638c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-bootbus-config"; 1648c2ecf20Sopenharmony_ci cavium,cs-index = <5>; 1658c2ecf20Sopenharmony_ci cavium,t-adr = <5>; 1668c2ecf20Sopenharmony_ci cavium,t-ce = <300>; 1678c2ecf20Sopenharmony_ci cavium,t-oe = <125>; 1688c2ecf20Sopenharmony_ci cavium,t-we = <150>; 1698c2ecf20Sopenharmony_ci cavium,t-rd-hld = <100>; 1708c2ecf20Sopenharmony_ci cavium,t-wr-hld = <30>; 1718c2ecf20Sopenharmony_ci cavium,t-pause = <0>; 1728c2ecf20Sopenharmony_ci cavium,t-wait = <30>; 1738c2ecf20Sopenharmony_ci cavium,t-page = <320>; 1748c2ecf20Sopenharmony_ci cavium,t-rd-dly = <0>; 1758c2ecf20Sopenharmony_ci 1768c2ecf20Sopenharmony_ci cavium,pages = <0>; 1778c2ecf20Sopenharmony_ci cavium,bus-width = <16>; 1788c2ecf20Sopenharmony_ci }; 1798c2ecf20Sopenharmony_ci cavium,cs-config@6 { 1808c2ecf20Sopenharmony_ci compatible = "cavium,octeon-3860-bootbus-config"; 1818c2ecf20Sopenharmony_ci cavium,cs-index = <6>; 1828c2ecf20Sopenharmony_ci cavium,t-adr = <5>; 1838c2ecf20Sopenharmony_ci cavium,t-ce = <300>; 1848c2ecf20Sopenharmony_ci cavium,t-oe = <270>; 1858c2ecf20Sopenharmony_ci cavium,t-we = <150>; 1868c2ecf20Sopenharmony_ci cavium,t-rd-hld = <100>; 1878c2ecf20Sopenharmony_ci cavium,t-wr-hld = <70>; 1888c2ecf20Sopenharmony_ci cavium,t-pause = <0>; 1898c2ecf20Sopenharmony_ci cavium,t-wait = <0>; 1908c2ecf20Sopenharmony_ci cavium,t-page = <320>; 1918c2ecf20Sopenharmony_ci cavium,t-rd-dly = <0>; 1928c2ecf20Sopenharmony_ci 1938c2ecf20Sopenharmony_ci cavium,pages = <0>; 1948c2ecf20Sopenharmony_ci cavium,wait-mode; 1958c2ecf20Sopenharmony_ci cavium,bus-width = <16>; 1968c2ecf20Sopenharmony_ci }; 1978c2ecf20Sopenharmony_ci 1988c2ecf20Sopenharmony_ci flash0: nor@0,0 { 1998c2ecf20Sopenharmony_ci compatible = "cfi-flash"; 2008c2ecf20Sopenharmony_ci reg = <0 0 0x800000>; 2018c2ecf20Sopenharmony_ci #address-cells = <1>; 2028c2ecf20Sopenharmony_ci #size-cells = <1>; 2038c2ecf20Sopenharmony_ci }; 2048c2ecf20Sopenharmony_ci }; 2058c2ecf20Sopenharmony_ci 2068c2ecf20Sopenharmony_ci dma0: dma-engine@1180000000100 { 2078c2ecf20Sopenharmony_ci compatible = "cavium,octeon-5750-bootbus-dma"; 2088c2ecf20Sopenharmony_ci reg = <0x11800 0x00000100 0x0 0x8>; 2098c2ecf20Sopenharmony_ci interrupts = <0 63>; 2108c2ecf20Sopenharmony_ci }; 2118c2ecf20Sopenharmony_ci 2128c2ecf20Sopenharmony_ci dma1: dma-engine@1180000000108 { 2138c2ecf20Sopenharmony_ci compatible = "cavium,octeon-5750-bootbus-dma"; 2148c2ecf20Sopenharmony_ci reg = <0x11800 0x00000108 0x0 0x8>; 2158c2ecf20Sopenharmony_ci interrupts = <0 63>; 2168c2ecf20Sopenharmony_ci }; 2178c2ecf20Sopenharmony_ci 2188c2ecf20Sopenharmony_ci usbn: usbn@1180068000000 { 2198c2ecf20Sopenharmony_ci compatible = "cavium,octeon-5750-usbn"; 2208c2ecf20Sopenharmony_ci reg = <0x11800 0x68000000 0x0 0x1000>; 2218c2ecf20Sopenharmony_ci ranges; /* Direct mapping */ 2228c2ecf20Sopenharmony_ci #address-cells = <2>; 2238c2ecf20Sopenharmony_ci #size-cells = <2>; 2248c2ecf20Sopenharmony_ci 2258c2ecf20Sopenharmony_ci usbc@16f0010000000 { 2268c2ecf20Sopenharmony_ci compatible = "cavium,octeon-5750-usbc"; 2278c2ecf20Sopenharmony_ci reg = <0x16f00 0x10000000 0x0 0x80000>; 2288c2ecf20Sopenharmony_ci interrupts = <0 56>; 2298c2ecf20Sopenharmony_ci }; 2308c2ecf20Sopenharmony_ci }; 2318c2ecf20Sopenharmony_ci }; 2328c2ecf20Sopenharmony_ci}; 233