18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/dts-v1/;
38c2ecf20Sopenharmony_ci/*
48c2ecf20Sopenharmony_ci * OCTEON 68XX device tree skeleton.
58c2ecf20Sopenharmony_ci *
68c2ecf20Sopenharmony_ci * This device tree is pruned and patched by early boot code before
78c2ecf20Sopenharmony_ci * use.	 Because of this, it contains a super-set of the available
88c2ecf20Sopenharmony_ci * devices and properties.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci/ {
118c2ecf20Sopenharmony_ci	compatible = "cavium,octeon-6880";
128c2ecf20Sopenharmony_ci	#address-cells = <2>;
138c2ecf20Sopenharmony_ci	#size-cells = <2>;
148c2ecf20Sopenharmony_ci	interrupt-parent = <&ciu2>;
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ci	soc@0 {
178c2ecf20Sopenharmony_ci		compatible = "simple-bus";
188c2ecf20Sopenharmony_ci		#address-cells = <2>;
198c2ecf20Sopenharmony_ci		#size-cells = <2>;
208c2ecf20Sopenharmony_ci		ranges; /* Direct mapping */
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci		ciu2: interrupt-controller@1070100000000 {
238c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-6880-ciu2";
248c2ecf20Sopenharmony_ci			interrupt-controller;
258c2ecf20Sopenharmony_ci			/* Interrupts are specified by two parts:
268c2ecf20Sopenharmony_ci			 * 1) Controller register (0 or 7)
278c2ecf20Sopenharmony_ci			 * 2) Bit within the register (0..63)
288c2ecf20Sopenharmony_ci			 */
298c2ecf20Sopenharmony_ci			#address-cells = <0>;
308c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
318c2ecf20Sopenharmony_ci			reg = <0x10701 0x00000000 0x0 0x4000000>;
328c2ecf20Sopenharmony_ci		};
338c2ecf20Sopenharmony_ci
348c2ecf20Sopenharmony_ci		gpio: gpio-controller@1070000000800 {
358c2ecf20Sopenharmony_ci			#gpio-cells = <2>;
368c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-gpio";
378c2ecf20Sopenharmony_ci			reg = <0x10700 0x00000800 0x0 0x100>;
388c2ecf20Sopenharmony_ci			gpio-controller;
398c2ecf20Sopenharmony_ci			/* Interrupts are specified by two parts:
408c2ecf20Sopenharmony_ci			 * 1) GPIO pin number (0..15)
418c2ecf20Sopenharmony_ci			 * 2) Triggering (1 - edge rising
428c2ecf20Sopenharmony_ci			 *		  2 - edge falling
438c2ecf20Sopenharmony_ci			 *		  4 - level active high
448c2ecf20Sopenharmony_ci			 *		  8 - level active low)
458c2ecf20Sopenharmony_ci			 */
468c2ecf20Sopenharmony_ci			interrupt-controller;
478c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
488c2ecf20Sopenharmony_ci			/* The GPIO pins connect to 16 consecutive CUI bits */
498c2ecf20Sopenharmony_ci			interrupts = <7 0>,  <7 1>,  <7 2>,  <7 3>,
508c2ecf20Sopenharmony_ci				     <7 4>,  <7 5>,  <7 6>,  <7 7>,
518c2ecf20Sopenharmony_ci				     <7 8>,  <7 9>,  <7 10>, <7 11>,
528c2ecf20Sopenharmony_ci				     <7 12>, <7 13>, <7 14>, <7 15>;
538c2ecf20Sopenharmony_ci		};
548c2ecf20Sopenharmony_ci
558c2ecf20Sopenharmony_ci		smi0: mdio@1180000003800 {
568c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-mdio";
578c2ecf20Sopenharmony_ci			#address-cells = <1>;
588c2ecf20Sopenharmony_ci			#size-cells = <0>;
598c2ecf20Sopenharmony_ci			reg = <0x11800 0x00003800 0x0 0x40>;
608c2ecf20Sopenharmony_ci
618c2ecf20Sopenharmony_ci			phy0: ethernet-phy@6 {
628c2ecf20Sopenharmony_ci				compatible = "marvell,88e1118";
638c2ecf20Sopenharmony_ci				marvell,reg-init =
648c2ecf20Sopenharmony_ci					/* Fix rx and tx clock transition timing */
658c2ecf20Sopenharmony_ci					<2 0x15 0xffcf 0>, /* Reg 2,21 Clear bits 4, 5 */
668c2ecf20Sopenharmony_ci					/* Adjust LED drive. */
678c2ecf20Sopenharmony_ci					<3 0x11 0 0x442a>, /* Reg 3,17 <- 0442a */
688c2ecf20Sopenharmony_ci					/* irq, blink-activity, blink-link */
698c2ecf20Sopenharmony_ci					<3 0x10 0 0x0242>; /* Reg 3,16 <- 0x0242 */
708c2ecf20Sopenharmony_ci				reg = <6>;
718c2ecf20Sopenharmony_ci			};
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci			phy1: ethernet-phy@1 {
748c2ecf20Sopenharmony_ci				cavium,qlm-trim = "4,sgmii";
758c2ecf20Sopenharmony_ci				reg = <1>;
768c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
778c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
788c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
798c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
808c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
818c2ecf20Sopenharmony_ci			};
828c2ecf20Sopenharmony_ci			phy2: ethernet-phy@2 {
838c2ecf20Sopenharmony_ci				cavium,qlm-trim = "4,sgmii";
848c2ecf20Sopenharmony_ci				reg = <2>;
858c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
868c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
878c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
888c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
898c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
908c2ecf20Sopenharmony_ci			};
918c2ecf20Sopenharmony_ci			phy3: ethernet-phy@3 {
928c2ecf20Sopenharmony_ci				cavium,qlm-trim = "4,sgmii";
938c2ecf20Sopenharmony_ci				reg = <3>;
948c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
958c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
968c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
978c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
988c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
998c2ecf20Sopenharmony_ci			};
1008c2ecf20Sopenharmony_ci			phy4: ethernet-phy@4 {
1018c2ecf20Sopenharmony_ci				cavium,qlm-trim = "4,sgmii";
1028c2ecf20Sopenharmony_ci				reg = <4>;
1038c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1048c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1058c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1068c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1078c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1088c2ecf20Sopenharmony_ci			};
1098c2ecf20Sopenharmony_ci		};
1108c2ecf20Sopenharmony_ci
1118c2ecf20Sopenharmony_ci		smi1: mdio@1180000003880 {
1128c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-mdio";
1138c2ecf20Sopenharmony_ci			#address-cells = <1>;
1148c2ecf20Sopenharmony_ci			#size-cells = <0>;
1158c2ecf20Sopenharmony_ci			reg = <0x11800 0x00003880 0x0 0x40>;
1168c2ecf20Sopenharmony_ci
1178c2ecf20Sopenharmony_ci			phy41: ethernet-phy@1 {
1188c2ecf20Sopenharmony_ci				cavium,qlm-trim = "0,sgmii";
1198c2ecf20Sopenharmony_ci				reg = <1>;
1208c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1218c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1228c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1238c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1248c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1258c2ecf20Sopenharmony_ci			};
1268c2ecf20Sopenharmony_ci			phy42: ethernet-phy@2 {
1278c2ecf20Sopenharmony_ci				cavium,qlm-trim = "0,sgmii";
1288c2ecf20Sopenharmony_ci				reg = <2>;
1298c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1308c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1318c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1328c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1338c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1348c2ecf20Sopenharmony_ci			};
1358c2ecf20Sopenharmony_ci			phy43: ethernet-phy@3 {
1368c2ecf20Sopenharmony_ci				cavium,qlm-trim = "0,sgmii";
1378c2ecf20Sopenharmony_ci				reg = <3>;
1388c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1398c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1408c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1418c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1428c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1438c2ecf20Sopenharmony_ci			};
1448c2ecf20Sopenharmony_ci			phy44: ethernet-phy@4 {
1458c2ecf20Sopenharmony_ci				cavium,qlm-trim = "0,sgmii";
1468c2ecf20Sopenharmony_ci				reg = <4>;
1478c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1488c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1498c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1508c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1518c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1528c2ecf20Sopenharmony_ci			};
1538c2ecf20Sopenharmony_ci		};
1548c2ecf20Sopenharmony_ci
1558c2ecf20Sopenharmony_ci		smi2: mdio@1180000003900 {
1568c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-mdio";
1578c2ecf20Sopenharmony_ci			#address-cells = <1>;
1588c2ecf20Sopenharmony_ci			#size-cells = <0>;
1598c2ecf20Sopenharmony_ci			reg = <0x11800 0x00003900 0x0 0x40>;
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci			phy21: ethernet-phy@1 {
1628c2ecf20Sopenharmony_ci				cavium,qlm-trim = "2,sgmii";
1638c2ecf20Sopenharmony_ci				reg = <1>;
1648c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1658c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1668c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1678c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1688c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1698c2ecf20Sopenharmony_ci			};
1708c2ecf20Sopenharmony_ci			phy22: ethernet-phy@2 {
1718c2ecf20Sopenharmony_ci				cavium,qlm-trim = "2,sgmii";
1728c2ecf20Sopenharmony_ci				reg = <2>;
1738c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1748c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1758c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1768c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1778c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1788c2ecf20Sopenharmony_ci			};
1798c2ecf20Sopenharmony_ci			phy23: ethernet-phy@3 {
1808c2ecf20Sopenharmony_ci				cavium,qlm-trim = "2,sgmii";
1818c2ecf20Sopenharmony_ci				reg = <3>;
1828c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1838c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1848c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1858c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1868c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1878c2ecf20Sopenharmony_ci			};
1888c2ecf20Sopenharmony_ci			phy24: ethernet-phy@4 {
1898c2ecf20Sopenharmony_ci				cavium,qlm-trim = "2,sgmii";
1908c2ecf20Sopenharmony_ci				reg = <4>;
1918c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
1928c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
1938c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
1948c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
1958c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
1968c2ecf20Sopenharmony_ci			};
1978c2ecf20Sopenharmony_ci		};
1988c2ecf20Sopenharmony_ci
1998c2ecf20Sopenharmony_ci		smi3: mdio@1180000003980 {
2008c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-mdio";
2018c2ecf20Sopenharmony_ci			#address-cells = <1>;
2028c2ecf20Sopenharmony_ci			#size-cells = <0>;
2038c2ecf20Sopenharmony_ci			reg = <0x11800 0x00003980 0x0 0x40>;
2048c2ecf20Sopenharmony_ci
2058c2ecf20Sopenharmony_ci			phy11: ethernet-phy@1 {
2068c2ecf20Sopenharmony_ci				cavium,qlm-trim = "3,sgmii";
2078c2ecf20Sopenharmony_ci				reg = <1>;
2088c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
2098c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
2108c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
2118c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
2128c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
2138c2ecf20Sopenharmony_ci			};
2148c2ecf20Sopenharmony_ci			phy12: ethernet-phy@2 {
2158c2ecf20Sopenharmony_ci				cavium,qlm-trim = "3,sgmii";
2168c2ecf20Sopenharmony_ci				reg = <2>;
2178c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
2188c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
2198c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
2208c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
2218c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
2228c2ecf20Sopenharmony_ci			};
2238c2ecf20Sopenharmony_ci			phy13: ethernet-phy@3 {
2248c2ecf20Sopenharmony_ci				cavium,qlm-trim = "3,sgmii";
2258c2ecf20Sopenharmony_ci				reg = <3>;
2268c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
2278c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
2288c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
2298c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
2308c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
2318c2ecf20Sopenharmony_ci			};
2328c2ecf20Sopenharmony_ci			phy14: ethernet-phy@4 {
2338c2ecf20Sopenharmony_ci				cavium,qlm-trim = "3,sgmii";
2348c2ecf20Sopenharmony_ci				reg = <4>;
2358c2ecf20Sopenharmony_ci				compatible = "marvell,88e1149r";
2368c2ecf20Sopenharmony_ci				marvell,reg-init = <3 0x10 0 0x5777>,
2378c2ecf20Sopenharmony_ci					<3 0x11 0 0x00aa>,
2388c2ecf20Sopenharmony_ci					<3 0x12 0 0x4105>,
2398c2ecf20Sopenharmony_ci					<3 0x13 0 0x0a60>;
2408c2ecf20Sopenharmony_ci			};
2418c2ecf20Sopenharmony_ci		};
2428c2ecf20Sopenharmony_ci
2438c2ecf20Sopenharmony_ci		mix0: ethernet@1070000100000 {
2448c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-5750-mix";
2458c2ecf20Sopenharmony_ci			reg = <0x10700 0x00100000 0x0 0x100>, /* MIX */
2468c2ecf20Sopenharmony_ci			      <0x11800 0xE0000000 0x0 0x300>, /* AGL */
2478c2ecf20Sopenharmony_ci			      <0x11800 0xE0000400 0x0 0x400>, /* AGL_SHARED  */
2488c2ecf20Sopenharmony_ci			      <0x11800 0xE0002000 0x0 0x8>;   /* AGL_PRT_CTL */
2498c2ecf20Sopenharmony_ci			cell-index = <0>;
2508c2ecf20Sopenharmony_ci			interrupts = <6 40>, <6 32>;
2518c2ecf20Sopenharmony_ci			local-mac-address = [ 00 00 00 00 00 00 ];
2528c2ecf20Sopenharmony_ci			phy-handle = <&phy0>;
2538c2ecf20Sopenharmony_ci		};
2548c2ecf20Sopenharmony_ci
2558c2ecf20Sopenharmony_ci		pip: pip@11800a0000000 {
2568c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-pip";
2578c2ecf20Sopenharmony_ci			#address-cells = <1>;
2588c2ecf20Sopenharmony_ci			#size-cells = <0>;
2598c2ecf20Sopenharmony_ci			reg = <0x11800 0xa0000000 0x0 0x2000>;
2608c2ecf20Sopenharmony_ci
2618c2ecf20Sopenharmony_ci			interface@4 {
2628c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-pip-interface";
2638c2ecf20Sopenharmony_ci				#address-cells = <1>;
2648c2ecf20Sopenharmony_ci				#size-cells = <0>;
2658c2ecf20Sopenharmony_ci				reg = <0x4>; /* interface */
2668c2ecf20Sopenharmony_ci
2678c2ecf20Sopenharmony_ci				ethernet@0 {
2688c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
2698c2ecf20Sopenharmony_ci					reg = <0x0>; /* Port */
2708c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
2718c2ecf20Sopenharmony_ci					phy-handle = <&phy1>;
2728c2ecf20Sopenharmony_ci				};
2738c2ecf20Sopenharmony_ci				ethernet@1 {
2748c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
2758c2ecf20Sopenharmony_ci					reg = <0x1>; /* Port */
2768c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
2778c2ecf20Sopenharmony_ci					phy-handle = <&phy2>;
2788c2ecf20Sopenharmony_ci				};
2798c2ecf20Sopenharmony_ci				ethernet@2 {
2808c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
2818c2ecf20Sopenharmony_ci					reg = <0x2>; /* Port */
2828c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
2838c2ecf20Sopenharmony_ci					phy-handle = <&phy3>;
2848c2ecf20Sopenharmony_ci				};
2858c2ecf20Sopenharmony_ci				ethernet@3 {
2868c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
2878c2ecf20Sopenharmony_ci					reg = <0x3>; /* Port */
2888c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
2898c2ecf20Sopenharmony_ci					phy-handle = <&phy4>;
2908c2ecf20Sopenharmony_ci				};
2918c2ecf20Sopenharmony_ci			};
2928c2ecf20Sopenharmony_ci
2938c2ecf20Sopenharmony_ci			interface@3 {
2948c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-pip-interface";
2958c2ecf20Sopenharmony_ci				#address-cells = <1>;
2968c2ecf20Sopenharmony_ci				#size-cells = <0>;
2978c2ecf20Sopenharmony_ci				reg = <0x3>; /* interface */
2988c2ecf20Sopenharmony_ci
2998c2ecf20Sopenharmony_ci				ethernet@0 {
3008c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3018c2ecf20Sopenharmony_ci					reg = <0x0>; /* Port */
3028c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3038c2ecf20Sopenharmony_ci					phy-handle = <&phy11>;
3048c2ecf20Sopenharmony_ci				};
3058c2ecf20Sopenharmony_ci				ethernet@1 {
3068c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3078c2ecf20Sopenharmony_ci					reg = <0x1>; /* Port */
3088c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3098c2ecf20Sopenharmony_ci					phy-handle = <&phy12>;
3108c2ecf20Sopenharmony_ci				};
3118c2ecf20Sopenharmony_ci				ethernet@2 {
3128c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3138c2ecf20Sopenharmony_ci					reg = <0x2>; /* Port */
3148c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3158c2ecf20Sopenharmony_ci					phy-handle = <&phy13>;
3168c2ecf20Sopenharmony_ci				};
3178c2ecf20Sopenharmony_ci				ethernet@3 {
3188c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3198c2ecf20Sopenharmony_ci					reg = <0x3>; /* Port */
3208c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3218c2ecf20Sopenharmony_ci					phy-handle = <&phy14>;
3228c2ecf20Sopenharmony_ci				};
3238c2ecf20Sopenharmony_ci			};
3248c2ecf20Sopenharmony_ci
3258c2ecf20Sopenharmony_ci			interface@2 {
3268c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-pip-interface";
3278c2ecf20Sopenharmony_ci				#address-cells = <1>;
3288c2ecf20Sopenharmony_ci				#size-cells = <0>;
3298c2ecf20Sopenharmony_ci				reg = <0x2>; /* interface */
3308c2ecf20Sopenharmony_ci
3318c2ecf20Sopenharmony_ci				ethernet@0 {
3328c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3338c2ecf20Sopenharmony_ci					reg = <0x0>; /* Port */
3348c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3358c2ecf20Sopenharmony_ci					phy-handle = <&phy21>;
3368c2ecf20Sopenharmony_ci				};
3378c2ecf20Sopenharmony_ci				ethernet@1 {
3388c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3398c2ecf20Sopenharmony_ci					reg = <0x1>; /* Port */
3408c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3418c2ecf20Sopenharmony_ci					phy-handle = <&phy22>;
3428c2ecf20Sopenharmony_ci				};
3438c2ecf20Sopenharmony_ci				ethernet@2 {
3448c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3458c2ecf20Sopenharmony_ci					reg = <0x2>; /* Port */
3468c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3478c2ecf20Sopenharmony_ci					phy-handle = <&phy23>;
3488c2ecf20Sopenharmony_ci				};
3498c2ecf20Sopenharmony_ci				ethernet@3 {
3508c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3518c2ecf20Sopenharmony_ci					reg = <0x3>; /* Port */
3528c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3538c2ecf20Sopenharmony_ci					phy-handle = <&phy24>;
3548c2ecf20Sopenharmony_ci				};
3558c2ecf20Sopenharmony_ci			};
3568c2ecf20Sopenharmony_ci
3578c2ecf20Sopenharmony_ci			interface@1 {
3588c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-pip-interface";
3598c2ecf20Sopenharmony_ci				#address-cells = <1>;
3608c2ecf20Sopenharmony_ci				#size-cells = <0>;
3618c2ecf20Sopenharmony_ci				reg = <0x1>; /* interface */
3628c2ecf20Sopenharmony_ci
3638c2ecf20Sopenharmony_ci				ethernet@0 {
3648c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3658c2ecf20Sopenharmony_ci					reg = <0x0>; /* Port */
3668c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3678c2ecf20Sopenharmony_ci				};
3688c2ecf20Sopenharmony_ci			};
3698c2ecf20Sopenharmony_ci
3708c2ecf20Sopenharmony_ci			interface@0 {
3718c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-pip-interface";
3728c2ecf20Sopenharmony_ci				#address-cells = <1>;
3738c2ecf20Sopenharmony_ci				#size-cells = <0>;
3748c2ecf20Sopenharmony_ci				reg = <0x0>; /* interface */
3758c2ecf20Sopenharmony_ci
3768c2ecf20Sopenharmony_ci				ethernet@0 {
3778c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3788c2ecf20Sopenharmony_ci					reg = <0x0>; /* Port */
3798c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3808c2ecf20Sopenharmony_ci					phy-handle = <&phy41>;
3818c2ecf20Sopenharmony_ci				};
3828c2ecf20Sopenharmony_ci				ethernet@1 {
3838c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3848c2ecf20Sopenharmony_ci					reg = <0x1>; /* Port */
3858c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3868c2ecf20Sopenharmony_ci					phy-handle = <&phy42>;
3878c2ecf20Sopenharmony_ci				};
3888c2ecf20Sopenharmony_ci				ethernet@2 {
3898c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3908c2ecf20Sopenharmony_ci					reg = <0x2>; /* Port */
3918c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3928c2ecf20Sopenharmony_ci					phy-handle = <&phy43>;
3938c2ecf20Sopenharmony_ci				};
3948c2ecf20Sopenharmony_ci				ethernet@3 {
3958c2ecf20Sopenharmony_ci					compatible = "cavium,octeon-3860-pip-port";
3968c2ecf20Sopenharmony_ci					reg = <0x3>; /* Port */
3978c2ecf20Sopenharmony_ci					local-mac-address = [ 00 00 00 00 00 00 ];
3988c2ecf20Sopenharmony_ci					phy-handle = <&phy44>;
3998c2ecf20Sopenharmony_ci				};
4008c2ecf20Sopenharmony_ci			};
4018c2ecf20Sopenharmony_ci		};
4028c2ecf20Sopenharmony_ci
4038c2ecf20Sopenharmony_ci		twsi0: i2c@1180000001000 {
4048c2ecf20Sopenharmony_ci			#address-cells = <1>;
4058c2ecf20Sopenharmony_ci			#size-cells = <0>;
4068c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-twsi";
4078c2ecf20Sopenharmony_ci			reg = <0x11800 0x00001000 0x0 0x200>;
4088c2ecf20Sopenharmony_ci			interrupts = <3 32>;
4098c2ecf20Sopenharmony_ci			clock-frequency = <100000>;
4108c2ecf20Sopenharmony_ci
4118c2ecf20Sopenharmony_ci			rtc@68 {
4128c2ecf20Sopenharmony_ci				compatible = "dallas,ds1337";
4138c2ecf20Sopenharmony_ci				reg = <0x68>;
4148c2ecf20Sopenharmony_ci			};
4158c2ecf20Sopenharmony_ci			tmp@4c {
4168c2ecf20Sopenharmony_ci				compatible = "ti,tmp421";
4178c2ecf20Sopenharmony_ci				reg = <0x4c>;
4188c2ecf20Sopenharmony_ci			};
4198c2ecf20Sopenharmony_ci		};
4208c2ecf20Sopenharmony_ci
4218c2ecf20Sopenharmony_ci		twsi1: i2c@1180000001200 {
4228c2ecf20Sopenharmony_ci			#address-cells = <1>;
4238c2ecf20Sopenharmony_ci			#size-cells = <0>;
4248c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-twsi";
4258c2ecf20Sopenharmony_ci			reg = <0x11800 0x00001200 0x0 0x200>;
4268c2ecf20Sopenharmony_ci			interrupts = <3 33>;
4278c2ecf20Sopenharmony_ci			clock-frequency = <100000>;
4288c2ecf20Sopenharmony_ci		};
4298c2ecf20Sopenharmony_ci
4308c2ecf20Sopenharmony_ci		uart0: serial@1180000000800 {
4318c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-uart","ns16550";
4328c2ecf20Sopenharmony_ci			reg = <0x11800 0x00000800 0x0 0x400>;
4338c2ecf20Sopenharmony_ci			clock-frequency = <0>;
4348c2ecf20Sopenharmony_ci			current-speed = <115200>;
4358c2ecf20Sopenharmony_ci			reg-shift = <3>;
4368c2ecf20Sopenharmony_ci			interrupts = <3 36>;
4378c2ecf20Sopenharmony_ci		};
4388c2ecf20Sopenharmony_ci
4398c2ecf20Sopenharmony_ci		uart1: serial@1180000000c00 {
4408c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-uart","ns16550";
4418c2ecf20Sopenharmony_ci			reg = <0x11800 0x00000c00 0x0 0x400>;
4428c2ecf20Sopenharmony_ci			clock-frequency = <0>;
4438c2ecf20Sopenharmony_ci			current-speed = <115200>;
4448c2ecf20Sopenharmony_ci			reg-shift = <3>;
4458c2ecf20Sopenharmony_ci			interrupts = <3 37>;
4468c2ecf20Sopenharmony_ci		};
4478c2ecf20Sopenharmony_ci
4488c2ecf20Sopenharmony_ci		bootbus: bootbus@1180000000000 {
4498c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-3860-bootbus";
4508c2ecf20Sopenharmony_ci			reg = <0x11800 0x00000000 0x0 0x200>;
4518c2ecf20Sopenharmony_ci			/* The chip select number and offset */
4528c2ecf20Sopenharmony_ci			#address-cells = <2>;
4538c2ecf20Sopenharmony_ci			/* The size of the chip select region */
4548c2ecf20Sopenharmony_ci			#size-cells = <1>;
4558c2ecf20Sopenharmony_ci			ranges = <0 0  0       0x1f400000  0xc00000>,
4568c2ecf20Sopenharmony_ci				 <1 0  0x10000 0x30000000  0>,
4578c2ecf20Sopenharmony_ci				 <2 0  0x10000 0x40000000  0>,
4588c2ecf20Sopenharmony_ci				 <3 0  0x10000 0x50000000  0>,
4598c2ecf20Sopenharmony_ci				 <4 0  0       0x1d020000  0x10000>,
4608c2ecf20Sopenharmony_ci				 <5 0  0       0x1d040000  0x10000>,
4618c2ecf20Sopenharmony_ci				 <6 0  0       0x1d050000  0x10000>,
4628c2ecf20Sopenharmony_ci				 <7 0  0x10000 0x90000000  0>;
4638c2ecf20Sopenharmony_ci
4648c2ecf20Sopenharmony_ci			cavium,cs-config@0 {
4658c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-bootbus-config";
4668c2ecf20Sopenharmony_ci				cavium,cs-index = <0>;
4678c2ecf20Sopenharmony_ci				cavium,t-adr  = <10>;
4688c2ecf20Sopenharmony_ci				cavium,t-ce   = <50>;
4698c2ecf20Sopenharmony_ci				cavium,t-oe   = <50>;
4708c2ecf20Sopenharmony_ci				cavium,t-we   = <35>;
4718c2ecf20Sopenharmony_ci				cavium,t-rd-hld = <25>;
4728c2ecf20Sopenharmony_ci				cavium,t-wr-hld = <35>;
4738c2ecf20Sopenharmony_ci				cavium,t-pause	= <0>;
4748c2ecf20Sopenharmony_ci				cavium,t-wait	= <300>;
4758c2ecf20Sopenharmony_ci				cavium,t-page	= <25>;
4768c2ecf20Sopenharmony_ci				cavium,t-rd-dly = <0>;
4778c2ecf20Sopenharmony_ci
4788c2ecf20Sopenharmony_ci				cavium,pages	 = <0>;
4798c2ecf20Sopenharmony_ci				cavium,bus-width = <8>;
4808c2ecf20Sopenharmony_ci			};
4818c2ecf20Sopenharmony_ci			cavium,cs-config@4 {
4828c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-bootbus-config";
4838c2ecf20Sopenharmony_ci				cavium,cs-index = <4>;
4848c2ecf20Sopenharmony_ci				cavium,t-adr  = <320>;
4858c2ecf20Sopenharmony_ci				cavium,t-ce   = <320>;
4868c2ecf20Sopenharmony_ci				cavium,t-oe   = <320>;
4878c2ecf20Sopenharmony_ci				cavium,t-we   = <320>;
4888c2ecf20Sopenharmony_ci				cavium,t-rd-hld = <320>;
4898c2ecf20Sopenharmony_ci				cavium,t-wr-hld = <320>;
4908c2ecf20Sopenharmony_ci				cavium,t-pause	= <320>;
4918c2ecf20Sopenharmony_ci				cavium,t-wait	= <320>;
4928c2ecf20Sopenharmony_ci				cavium,t-page	= <320>;
4938c2ecf20Sopenharmony_ci				cavium,t-rd-dly = <0>;
4948c2ecf20Sopenharmony_ci
4958c2ecf20Sopenharmony_ci				cavium,pages	 = <0>;
4968c2ecf20Sopenharmony_ci				cavium,bus-width = <8>;
4978c2ecf20Sopenharmony_ci			};
4988c2ecf20Sopenharmony_ci			cavium,cs-config@5 {
4998c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-bootbus-config";
5008c2ecf20Sopenharmony_ci				cavium,cs-index = <5>;
5018c2ecf20Sopenharmony_ci				cavium,t-adr  = <0>;
5028c2ecf20Sopenharmony_ci				cavium,t-ce   = <300>;
5038c2ecf20Sopenharmony_ci				cavium,t-oe   = <125>;
5048c2ecf20Sopenharmony_ci				cavium,t-we   = <150>;
5058c2ecf20Sopenharmony_ci				cavium,t-rd-hld = <100>;
5068c2ecf20Sopenharmony_ci				cavium,t-wr-hld = <300>;
5078c2ecf20Sopenharmony_ci				cavium,t-pause	= <0>;
5088c2ecf20Sopenharmony_ci				cavium,t-wait	= <300>;
5098c2ecf20Sopenharmony_ci				cavium,t-page	= <310>;
5108c2ecf20Sopenharmony_ci				cavium,t-rd-dly = <0>;
5118c2ecf20Sopenharmony_ci
5128c2ecf20Sopenharmony_ci				cavium,pages	 = <0>;
5138c2ecf20Sopenharmony_ci				cavium,bus-width = <16>;
5148c2ecf20Sopenharmony_ci			};
5158c2ecf20Sopenharmony_ci			cavium,cs-config@6 {
5168c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-3860-bootbus-config";
5178c2ecf20Sopenharmony_ci				cavium,cs-index = <6>;
5188c2ecf20Sopenharmony_ci				cavium,t-adr  = <0>;
5198c2ecf20Sopenharmony_ci				cavium,t-ce   = <30>;
5208c2ecf20Sopenharmony_ci				cavium,t-oe   = <125>;
5218c2ecf20Sopenharmony_ci				cavium,t-we   = <150>;
5228c2ecf20Sopenharmony_ci				cavium,t-rd-hld = <100>;
5238c2ecf20Sopenharmony_ci				cavium,t-wr-hld = <30>;
5248c2ecf20Sopenharmony_ci				cavium,t-pause	= <0>;
5258c2ecf20Sopenharmony_ci				cavium,t-wait	= <30>;
5268c2ecf20Sopenharmony_ci				cavium,t-page	= <310>;
5278c2ecf20Sopenharmony_ci				cavium,t-rd-dly = <0>;
5288c2ecf20Sopenharmony_ci
5298c2ecf20Sopenharmony_ci				cavium,pages	 = <0>;
5308c2ecf20Sopenharmony_ci				cavium,wait-mode;
5318c2ecf20Sopenharmony_ci				cavium,bus-width = <16>;
5328c2ecf20Sopenharmony_ci			};
5338c2ecf20Sopenharmony_ci
5348c2ecf20Sopenharmony_ci			flash0: nor@0,0 {
5358c2ecf20Sopenharmony_ci				compatible = "cfi-flash";
5368c2ecf20Sopenharmony_ci				reg = <0 0 0x800000>;
5378c2ecf20Sopenharmony_ci				#address-cells = <1>;
5388c2ecf20Sopenharmony_ci				#size-cells = <1>;
5398c2ecf20Sopenharmony_ci
5408c2ecf20Sopenharmony_ci				partition@0 {
5418c2ecf20Sopenharmony_ci					label = "bootloader";
5428c2ecf20Sopenharmony_ci					reg = <0 0x200000>;
5438c2ecf20Sopenharmony_ci					read-only;
5448c2ecf20Sopenharmony_ci				};
5458c2ecf20Sopenharmony_ci				partition@200000 {
5468c2ecf20Sopenharmony_ci					label = "kernel";
5478c2ecf20Sopenharmony_ci					reg = <0x200000 0x200000>;
5488c2ecf20Sopenharmony_ci				};
5498c2ecf20Sopenharmony_ci				partition@400000 {
5508c2ecf20Sopenharmony_ci					label = "cramfs";
5518c2ecf20Sopenharmony_ci					reg = <0x400000 0x3fe000>;
5528c2ecf20Sopenharmony_ci				};
5538c2ecf20Sopenharmony_ci				partition@7fe000 {
5548c2ecf20Sopenharmony_ci					label = "environment";
5558c2ecf20Sopenharmony_ci					reg = <0x7fe000 0x2000>;
5568c2ecf20Sopenharmony_ci					read-only;
5578c2ecf20Sopenharmony_ci				};
5588c2ecf20Sopenharmony_ci			};
5598c2ecf20Sopenharmony_ci
5608c2ecf20Sopenharmony_ci			led0: led-display@4,0 {
5618c2ecf20Sopenharmony_ci				compatible = "avago,hdsp-253x";
5628c2ecf20Sopenharmony_ci				reg = <4 0x20 0x20>, <4 0 0x20>;
5638c2ecf20Sopenharmony_ci			};
5648c2ecf20Sopenharmony_ci
5658c2ecf20Sopenharmony_ci			compact-flash@5,0 {
5668c2ecf20Sopenharmony_ci				compatible = "cavium,ebt3000-compact-flash";
5678c2ecf20Sopenharmony_ci				reg = <5 0 0x10000>, <6 0 0x10000>;
5688c2ecf20Sopenharmony_ci				cavium,bus-width = <16>;
5698c2ecf20Sopenharmony_ci				cavium,true-ide;
5708c2ecf20Sopenharmony_ci				cavium,dma-engine-handle = <&dma0>;
5718c2ecf20Sopenharmony_ci			};
5728c2ecf20Sopenharmony_ci		};
5738c2ecf20Sopenharmony_ci
5748c2ecf20Sopenharmony_ci		dma0: dma-engine@1180000000100 {
5758c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-5750-bootbus-dma";
5768c2ecf20Sopenharmony_ci			reg = <0x11800 0x00000100 0x0 0x8>;
5778c2ecf20Sopenharmony_ci			interrupts = <0 63>;
5788c2ecf20Sopenharmony_ci		};
5798c2ecf20Sopenharmony_ci		dma1: dma-engine@1180000000108 {
5808c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-5750-bootbus-dma";
5818c2ecf20Sopenharmony_ci			reg = <0x11800 0x00000108 0x0 0x8>;
5828c2ecf20Sopenharmony_ci			interrupts = <0 63>;
5838c2ecf20Sopenharmony_ci		};
5848c2ecf20Sopenharmony_ci
5858c2ecf20Sopenharmony_ci		uctl: uctl@118006f000000 {
5868c2ecf20Sopenharmony_ci			compatible = "cavium,octeon-6335-uctl";
5878c2ecf20Sopenharmony_ci			reg = <0x11800 0x6f000000 0x0 0x100>;
5888c2ecf20Sopenharmony_ci			ranges; /* Direct mapping */
5898c2ecf20Sopenharmony_ci			#address-cells = <2>;
5908c2ecf20Sopenharmony_ci			#size-cells = <2>;
5918c2ecf20Sopenharmony_ci			/* 12MHz, 24MHz and 48MHz allowed */
5928c2ecf20Sopenharmony_ci			refclk-frequency = <12000000>;
5938c2ecf20Sopenharmony_ci			/* Either "crystal" or "external" */
5948c2ecf20Sopenharmony_ci			refclk-type = "crystal";
5958c2ecf20Sopenharmony_ci
5968c2ecf20Sopenharmony_ci			ehci@16f0000000000 {
5978c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-6335-ehci","usb-ehci";
5988c2ecf20Sopenharmony_ci				reg = <0x16f00 0x00000000 0x0 0x100>;
5998c2ecf20Sopenharmony_ci				interrupts = <3 44>;
6008c2ecf20Sopenharmony_ci				big-endian-regs;
6018c2ecf20Sopenharmony_ci			};
6028c2ecf20Sopenharmony_ci			ohci@16f0000000400 {
6038c2ecf20Sopenharmony_ci				compatible = "cavium,octeon-6335-ohci","usb-ohci";
6048c2ecf20Sopenharmony_ci				reg = <0x16f00 0x00000400 0x0 0x100>;
6058c2ecf20Sopenharmony_ci				interrupts = <3 44>;
6068c2ecf20Sopenharmony_ci				big-endian-regs;
6078c2ecf20Sopenharmony_ci			};
6088c2ecf20Sopenharmony_ci		};
6098c2ecf20Sopenharmony_ci	};
6108c2ecf20Sopenharmony_ci
6118c2ecf20Sopenharmony_ci	aliases {
6128c2ecf20Sopenharmony_ci		mix0 = &mix0;
6138c2ecf20Sopenharmony_ci		pip = &pip;
6148c2ecf20Sopenharmony_ci		smi0 = &smi0;
6158c2ecf20Sopenharmony_ci		smi1 = &smi1;
6168c2ecf20Sopenharmony_ci		smi2 = &smi2;
6178c2ecf20Sopenharmony_ci		smi3 = &smi3;
6188c2ecf20Sopenharmony_ci		twsi0 = &twsi0;
6198c2ecf20Sopenharmony_ci		twsi1 = &twsi1;
6208c2ecf20Sopenharmony_ci		uart0 = &uart0;
6218c2ecf20Sopenharmony_ci		uart1 = &uart1;
6228c2ecf20Sopenharmony_ci		uctl = &uctl;
6238c2ecf20Sopenharmony_ci		led0 = &led0;
6248c2ecf20Sopenharmony_ci		flash0 = &flash0;
6258c2ecf20Sopenharmony_ci	};
6268c2ecf20Sopenharmony_ci };
627