18c2ecf20Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
28c2ecf20Sopenharmony_ci/dts-v1/;
38c2ecf20Sopenharmony_ci
48c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/arm-gic.h>
58c2ecf20Sopenharmony_ci#include <dt-bindings/clock/qcom,gcc-ipq806x.h>
68c2ecf20Sopenharmony_ci#include <dt-bindings/clock/qcom,lcc-ipq806x.h>
78c2ecf20Sopenharmony_ci#include <dt-bindings/gpio/gpio.h>
88c2ecf20Sopenharmony_ci#include <dt-bindings/reset/qcom,gcc-ipq806x.h>
98c2ecf20Sopenharmony_ci#include <dt-bindings/soc/qcom,gsbi.h>
108c2ecf20Sopenharmony_ci#include <dt-bindings/interrupt-controller/arm-gic.h>
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci/ {
138c2ecf20Sopenharmony_ci	#address-cells = <1>;
148c2ecf20Sopenharmony_ci	#size-cells = <1>;
158c2ecf20Sopenharmony_ci	model = "Qualcomm IPQ8064";
168c2ecf20Sopenharmony_ci	compatible = "qcom,ipq8064";
178c2ecf20Sopenharmony_ci	interrupt-parent = <&intc>;
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	cpus {
208c2ecf20Sopenharmony_ci		#address-cells = <1>;
218c2ecf20Sopenharmony_ci		#size-cells = <0>;
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci		cpu@0 {
248c2ecf20Sopenharmony_ci			compatible = "qcom,krait";
258c2ecf20Sopenharmony_ci			enable-method = "qcom,kpss-acc-v1";
268c2ecf20Sopenharmony_ci			device_type = "cpu";
278c2ecf20Sopenharmony_ci			reg = <0>;
288c2ecf20Sopenharmony_ci			next-level-cache = <&L2>;
298c2ecf20Sopenharmony_ci			qcom,acc = <&acc0>;
308c2ecf20Sopenharmony_ci			qcom,saw = <&saw0>;
318c2ecf20Sopenharmony_ci		};
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_ci		cpu@1 {
348c2ecf20Sopenharmony_ci			compatible = "qcom,krait";
358c2ecf20Sopenharmony_ci			enable-method = "qcom,kpss-acc-v1";
368c2ecf20Sopenharmony_ci			device_type = "cpu";
378c2ecf20Sopenharmony_ci			reg = <1>;
388c2ecf20Sopenharmony_ci			next-level-cache = <&L2>;
398c2ecf20Sopenharmony_ci			qcom,acc = <&acc1>;
408c2ecf20Sopenharmony_ci			qcom,saw = <&saw1>;
418c2ecf20Sopenharmony_ci		};
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ci		L2: l2-cache {
448c2ecf20Sopenharmony_ci			compatible = "cache";
458c2ecf20Sopenharmony_ci			cache-level = <2>;
468c2ecf20Sopenharmony_ci		};
478c2ecf20Sopenharmony_ci	};
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci	memory {
508c2ecf20Sopenharmony_ci		device_type = "memory";
518c2ecf20Sopenharmony_ci		reg = <0x0 0x0>;
528c2ecf20Sopenharmony_ci	};
538c2ecf20Sopenharmony_ci
548c2ecf20Sopenharmony_ci	cpu-pmu {
558c2ecf20Sopenharmony_ci		compatible = "qcom,krait-pmu";
568c2ecf20Sopenharmony_ci		interrupts = <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) |
578c2ecf20Sopenharmony_ci					  IRQ_TYPE_LEVEL_HIGH)>;
588c2ecf20Sopenharmony_ci	};
598c2ecf20Sopenharmony_ci
608c2ecf20Sopenharmony_ci	reserved-memory {
618c2ecf20Sopenharmony_ci		#address-cells = <1>;
628c2ecf20Sopenharmony_ci		#size-cells = <1>;
638c2ecf20Sopenharmony_ci		ranges;
648c2ecf20Sopenharmony_ci
658c2ecf20Sopenharmony_ci		nss@40000000 {
668c2ecf20Sopenharmony_ci			reg = <0x40000000 0x1000000>;
678c2ecf20Sopenharmony_ci			no-map;
688c2ecf20Sopenharmony_ci		};
698c2ecf20Sopenharmony_ci
708c2ecf20Sopenharmony_ci		smem@41000000 {
718c2ecf20Sopenharmony_ci			reg = <0x41000000 0x200000>;
728c2ecf20Sopenharmony_ci			no-map;
738c2ecf20Sopenharmony_ci		};
748c2ecf20Sopenharmony_ci	};
758c2ecf20Sopenharmony_ci
768c2ecf20Sopenharmony_ci	clocks {
778c2ecf20Sopenharmony_ci		cxo_board {
788c2ecf20Sopenharmony_ci			compatible = "fixed-clock";
798c2ecf20Sopenharmony_ci			#clock-cells = <0>;
808c2ecf20Sopenharmony_ci			clock-frequency = <25000000>;
818c2ecf20Sopenharmony_ci		};
828c2ecf20Sopenharmony_ci
838c2ecf20Sopenharmony_ci		pxo_board {
848c2ecf20Sopenharmony_ci			compatible = "fixed-clock";
858c2ecf20Sopenharmony_ci			#clock-cells = <0>;
868c2ecf20Sopenharmony_ci			clock-frequency = <25000000>;
878c2ecf20Sopenharmony_ci		};
888c2ecf20Sopenharmony_ci
898c2ecf20Sopenharmony_ci		sleep_clk: sleep_clk {
908c2ecf20Sopenharmony_ci			compatible = "fixed-clock";
918c2ecf20Sopenharmony_ci			clock-frequency = <32768>;
928c2ecf20Sopenharmony_ci			#clock-cells = <0>;
938c2ecf20Sopenharmony_ci		};
948c2ecf20Sopenharmony_ci	};
958c2ecf20Sopenharmony_ci
968c2ecf20Sopenharmony_ci	firmware {
978c2ecf20Sopenharmony_ci		scm {
988c2ecf20Sopenharmony_ci			compatible = "qcom,scm-ipq806x", "qcom,scm";
998c2ecf20Sopenharmony_ci		};
1008c2ecf20Sopenharmony_ci	};
1018c2ecf20Sopenharmony_ci
1028c2ecf20Sopenharmony_ci	soc: soc {
1038c2ecf20Sopenharmony_ci		#address-cells = <1>;
1048c2ecf20Sopenharmony_ci		#size-cells = <1>;
1058c2ecf20Sopenharmony_ci		ranges;
1068c2ecf20Sopenharmony_ci		compatible = "simple-bus";
1078c2ecf20Sopenharmony_ci
1088c2ecf20Sopenharmony_ci		lpass@28100000 {
1098c2ecf20Sopenharmony_ci			compatible = "qcom,lpass-cpu";
1108c2ecf20Sopenharmony_ci			status = "disabled";
1118c2ecf20Sopenharmony_ci			clocks = <&lcc AHBIX_CLK>,
1128c2ecf20Sopenharmony_ci					<&lcc MI2S_OSR_CLK>,
1138c2ecf20Sopenharmony_ci					<&lcc MI2S_BIT_CLK>;
1148c2ecf20Sopenharmony_ci			clock-names = "ahbix-clk",
1158c2ecf20Sopenharmony_ci					"mi2s-osr-clk",
1168c2ecf20Sopenharmony_ci					"mi2s-bit-clk";
1178c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 85 IRQ_TYPE_EDGE_RISING>;
1188c2ecf20Sopenharmony_ci			interrupt-names = "lpass-irq-lpaif";
1198c2ecf20Sopenharmony_ci			reg = <0x28100000 0x10000>;
1208c2ecf20Sopenharmony_ci			reg-names = "lpass-lpaif";
1218c2ecf20Sopenharmony_ci		};
1228c2ecf20Sopenharmony_ci
1238c2ecf20Sopenharmony_ci		qcom_pinmux: pinmux@800000 {
1248c2ecf20Sopenharmony_ci			compatible = "qcom,ipq8064-pinctrl";
1258c2ecf20Sopenharmony_ci			reg = <0x800000 0x4000>;
1268c2ecf20Sopenharmony_ci
1278c2ecf20Sopenharmony_ci			gpio-controller;
1288c2ecf20Sopenharmony_ci			gpio-ranges = <&qcom_pinmux 0 0 69>;
1298c2ecf20Sopenharmony_ci			#gpio-cells = <2>;
1308c2ecf20Sopenharmony_ci			interrupt-controller;
1318c2ecf20Sopenharmony_ci			#interrupt-cells = <2>;
1328c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
1338c2ecf20Sopenharmony_ci
1348c2ecf20Sopenharmony_ci			pcie0_pins: pcie0_pinmux {
1358c2ecf20Sopenharmony_ci				mux {
1368c2ecf20Sopenharmony_ci					pins = "gpio3";
1378c2ecf20Sopenharmony_ci					function = "pcie1_rst";
1388c2ecf20Sopenharmony_ci					drive-strength = <12>;
1398c2ecf20Sopenharmony_ci					bias-disable;
1408c2ecf20Sopenharmony_ci				};
1418c2ecf20Sopenharmony_ci			};
1428c2ecf20Sopenharmony_ci
1438c2ecf20Sopenharmony_ci			pcie1_pins: pcie1_pinmux {
1448c2ecf20Sopenharmony_ci				mux {
1458c2ecf20Sopenharmony_ci					pins = "gpio48";
1468c2ecf20Sopenharmony_ci					function = "pcie2_rst";
1478c2ecf20Sopenharmony_ci					drive-strength = <12>;
1488c2ecf20Sopenharmony_ci					bias-disable;
1498c2ecf20Sopenharmony_ci				};
1508c2ecf20Sopenharmony_ci			};
1518c2ecf20Sopenharmony_ci
1528c2ecf20Sopenharmony_ci			pcie2_pins: pcie2_pinmux {
1538c2ecf20Sopenharmony_ci				mux {
1548c2ecf20Sopenharmony_ci					pins = "gpio63";
1558c2ecf20Sopenharmony_ci					function = "pcie3_rst";
1568c2ecf20Sopenharmony_ci					drive-strength = <12>;
1578c2ecf20Sopenharmony_ci					bias-disable;
1588c2ecf20Sopenharmony_ci				};
1598c2ecf20Sopenharmony_ci			};
1608c2ecf20Sopenharmony_ci
1618c2ecf20Sopenharmony_ci			spi_pins: spi_pins {
1628c2ecf20Sopenharmony_ci				mux {
1638c2ecf20Sopenharmony_ci					pins = "gpio18", "gpio19", "gpio21";
1648c2ecf20Sopenharmony_ci					function = "gsbi5";
1658c2ecf20Sopenharmony_ci					drive-strength = <10>;
1668c2ecf20Sopenharmony_ci					bias-none;
1678c2ecf20Sopenharmony_ci				};
1688c2ecf20Sopenharmony_ci			};
1698c2ecf20Sopenharmony_ci
1708c2ecf20Sopenharmony_ci			leds_pins: leds_pins {
1718c2ecf20Sopenharmony_ci				mux {
1728c2ecf20Sopenharmony_ci					pins = "gpio7", "gpio8", "gpio9",
1738c2ecf20Sopenharmony_ci					       "gpio26", "gpio53";
1748c2ecf20Sopenharmony_ci					function = "gpio";
1758c2ecf20Sopenharmony_ci					drive-strength = <2>;
1768c2ecf20Sopenharmony_ci					bias-pull-down;
1778c2ecf20Sopenharmony_ci					output-low;
1788c2ecf20Sopenharmony_ci				};
1798c2ecf20Sopenharmony_ci			};
1808c2ecf20Sopenharmony_ci
1818c2ecf20Sopenharmony_ci			buttons_pins: buttons_pins {
1828c2ecf20Sopenharmony_ci				mux {
1838c2ecf20Sopenharmony_ci					pins = "gpio54";
1848c2ecf20Sopenharmony_ci					drive-strength = <2>;
1858c2ecf20Sopenharmony_ci					bias-pull-up;
1868c2ecf20Sopenharmony_ci				};
1878c2ecf20Sopenharmony_ci			};
1888c2ecf20Sopenharmony_ci		};
1898c2ecf20Sopenharmony_ci
1908c2ecf20Sopenharmony_ci		intc: interrupt-controller@2000000 {
1918c2ecf20Sopenharmony_ci			compatible = "qcom,msm-qgic2";
1928c2ecf20Sopenharmony_ci			interrupt-controller;
1938c2ecf20Sopenharmony_ci			#interrupt-cells = <3>;
1948c2ecf20Sopenharmony_ci			reg = <0x02000000 0x1000>,
1958c2ecf20Sopenharmony_ci			      <0x02002000 0x1000>;
1968c2ecf20Sopenharmony_ci		};
1978c2ecf20Sopenharmony_ci
1988c2ecf20Sopenharmony_ci		timer@200a000 {
1998c2ecf20Sopenharmony_ci			compatible = "qcom,kpss-timer",
2008c2ecf20Sopenharmony_ci				     "qcom,kpss-wdt-ipq8064", "qcom,msm-timer";
2018c2ecf20Sopenharmony_ci			interrupts = <GIC_PPI 1 (GIC_CPU_MASK_SIMPLE(2) |
2028c2ecf20Sopenharmony_ci						 IRQ_TYPE_EDGE_RISING)>,
2038c2ecf20Sopenharmony_ci				     <GIC_PPI 2 (GIC_CPU_MASK_SIMPLE(2) |
2048c2ecf20Sopenharmony_ci						 IRQ_TYPE_EDGE_RISING)>,
2058c2ecf20Sopenharmony_ci				     <GIC_PPI 3 (GIC_CPU_MASK_SIMPLE(2) |
2068c2ecf20Sopenharmony_ci						 IRQ_TYPE_EDGE_RISING)>,
2078c2ecf20Sopenharmony_ci				     <GIC_PPI 4 (GIC_CPU_MASK_SIMPLE(2) |
2088c2ecf20Sopenharmony_ci						 IRQ_TYPE_EDGE_RISING)>,
2098c2ecf20Sopenharmony_ci				     <GIC_PPI 5 (GIC_CPU_MASK_SIMPLE(2) |
2108c2ecf20Sopenharmony_ci						 IRQ_TYPE_EDGE_RISING)>;
2118c2ecf20Sopenharmony_ci			reg = <0x0200a000 0x100>;
2128c2ecf20Sopenharmony_ci			clock-frequency = <25000000>,
2138c2ecf20Sopenharmony_ci					  <32768>;
2148c2ecf20Sopenharmony_ci			clocks = <&sleep_clk>;
2158c2ecf20Sopenharmony_ci			clock-names = "sleep";
2168c2ecf20Sopenharmony_ci			cpu-offset = <0x80000>;
2178c2ecf20Sopenharmony_ci		};
2188c2ecf20Sopenharmony_ci
2198c2ecf20Sopenharmony_ci		acc0: clock-controller@2088000 {
2208c2ecf20Sopenharmony_ci			compatible = "qcom,kpss-acc-v1";
2218c2ecf20Sopenharmony_ci			reg = <0x02088000 0x1000>, <0x02008000 0x1000>;
2228c2ecf20Sopenharmony_ci		};
2238c2ecf20Sopenharmony_ci
2248c2ecf20Sopenharmony_ci		acc1: clock-controller@2098000 {
2258c2ecf20Sopenharmony_ci			compatible = "qcom,kpss-acc-v1";
2268c2ecf20Sopenharmony_ci			reg = <0x02098000 0x1000>, <0x02008000 0x1000>;
2278c2ecf20Sopenharmony_ci		};
2288c2ecf20Sopenharmony_ci
2298c2ecf20Sopenharmony_ci		saw0: regulator@2089000 {
2308c2ecf20Sopenharmony_ci			compatible = "qcom,saw2";
2318c2ecf20Sopenharmony_ci			reg = <0x02089000 0x1000>, <0x02009000 0x1000>;
2328c2ecf20Sopenharmony_ci			regulator;
2338c2ecf20Sopenharmony_ci		};
2348c2ecf20Sopenharmony_ci
2358c2ecf20Sopenharmony_ci		saw1: regulator@2099000 {
2368c2ecf20Sopenharmony_ci			compatible = "qcom,saw2";
2378c2ecf20Sopenharmony_ci			reg = <0x02099000 0x1000>, <0x02009000 0x1000>;
2388c2ecf20Sopenharmony_ci			regulator;
2398c2ecf20Sopenharmony_ci		};
2408c2ecf20Sopenharmony_ci
2418c2ecf20Sopenharmony_ci		gsbi2: gsbi@12480000 {
2428c2ecf20Sopenharmony_ci			compatible = "qcom,gsbi-v1.0.0";
2438c2ecf20Sopenharmony_ci			cell-index = <2>;
2448c2ecf20Sopenharmony_ci			reg = <0x12480000 0x100>;
2458c2ecf20Sopenharmony_ci			clocks = <&gcc GSBI2_H_CLK>;
2468c2ecf20Sopenharmony_ci			clock-names = "iface";
2478c2ecf20Sopenharmony_ci			#address-cells = <1>;
2488c2ecf20Sopenharmony_ci			#size-cells = <1>;
2498c2ecf20Sopenharmony_ci			ranges;
2508c2ecf20Sopenharmony_ci			status = "disabled";
2518c2ecf20Sopenharmony_ci
2528c2ecf20Sopenharmony_ci			syscon-tcsr = <&tcsr>;
2538c2ecf20Sopenharmony_ci
2548c2ecf20Sopenharmony_ci			serial@12490000 {
2558c2ecf20Sopenharmony_ci				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
2568c2ecf20Sopenharmony_ci				reg = <0x12490000 0x1000>,
2578c2ecf20Sopenharmony_ci				      <0x12480000 0x1000>;
2588c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>;
2598c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI2_UART_CLK>, <&gcc GSBI2_H_CLK>;
2608c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
2618c2ecf20Sopenharmony_ci				status = "disabled";
2628c2ecf20Sopenharmony_ci			};
2638c2ecf20Sopenharmony_ci
2648c2ecf20Sopenharmony_ci			i2c@124a0000 {
2658c2ecf20Sopenharmony_ci				compatible = "qcom,i2c-qup-v1.1.1";
2668c2ecf20Sopenharmony_ci				reg = <0x124a0000 0x1000>;
2678c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>;
2688c2ecf20Sopenharmony_ci
2698c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI2_QUP_CLK>, <&gcc GSBI2_H_CLK>;
2708c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
2718c2ecf20Sopenharmony_ci				status = "disabled";
2728c2ecf20Sopenharmony_ci
2738c2ecf20Sopenharmony_ci				#address-cells = <1>;
2748c2ecf20Sopenharmony_ci				#size-cells = <0>;
2758c2ecf20Sopenharmony_ci			};
2768c2ecf20Sopenharmony_ci
2778c2ecf20Sopenharmony_ci		};
2788c2ecf20Sopenharmony_ci
2798c2ecf20Sopenharmony_ci		gsbi4: gsbi@16300000 {
2808c2ecf20Sopenharmony_ci			compatible = "qcom,gsbi-v1.0.0";
2818c2ecf20Sopenharmony_ci			cell-index = <4>;
2828c2ecf20Sopenharmony_ci			reg = <0x16300000 0x100>;
2838c2ecf20Sopenharmony_ci			clocks = <&gcc GSBI4_H_CLK>;
2848c2ecf20Sopenharmony_ci			clock-names = "iface";
2858c2ecf20Sopenharmony_ci			#address-cells = <1>;
2868c2ecf20Sopenharmony_ci			#size-cells = <1>;
2878c2ecf20Sopenharmony_ci			ranges;
2888c2ecf20Sopenharmony_ci			status = "disabled";
2898c2ecf20Sopenharmony_ci
2908c2ecf20Sopenharmony_ci			syscon-tcsr = <&tcsr>;
2918c2ecf20Sopenharmony_ci
2928c2ecf20Sopenharmony_ci			gsbi4_serial: serial@16340000 {
2938c2ecf20Sopenharmony_ci				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
2948c2ecf20Sopenharmony_ci				reg = <0x16340000 0x1000>,
2958c2ecf20Sopenharmony_ci				      <0x16300000 0x1000>;
2968c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
2978c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI4_UART_CLK>, <&gcc GSBI4_H_CLK>;
2988c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
2998c2ecf20Sopenharmony_ci				status = "disabled";
3008c2ecf20Sopenharmony_ci			};
3018c2ecf20Sopenharmony_ci
3028c2ecf20Sopenharmony_ci			i2c@16380000 {
3038c2ecf20Sopenharmony_ci				compatible = "qcom,i2c-qup-v1.1.1";
3048c2ecf20Sopenharmony_ci				reg = <0x16380000 0x1000>;
3058c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
3068c2ecf20Sopenharmony_ci
3078c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI4_QUP_CLK>, <&gcc GSBI4_H_CLK>;
3088c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
3098c2ecf20Sopenharmony_ci				status = "disabled";
3108c2ecf20Sopenharmony_ci
3118c2ecf20Sopenharmony_ci				#address-cells = <1>;
3128c2ecf20Sopenharmony_ci				#size-cells = <0>;
3138c2ecf20Sopenharmony_ci			};
3148c2ecf20Sopenharmony_ci		};
3158c2ecf20Sopenharmony_ci
3168c2ecf20Sopenharmony_ci		gsbi5: gsbi@1a200000 {
3178c2ecf20Sopenharmony_ci			compatible = "qcom,gsbi-v1.0.0";
3188c2ecf20Sopenharmony_ci			cell-index = <5>;
3198c2ecf20Sopenharmony_ci			reg = <0x1a200000 0x100>;
3208c2ecf20Sopenharmony_ci			clocks = <&gcc GSBI5_H_CLK>;
3218c2ecf20Sopenharmony_ci			clock-names = "iface";
3228c2ecf20Sopenharmony_ci			#address-cells = <1>;
3238c2ecf20Sopenharmony_ci			#size-cells = <1>;
3248c2ecf20Sopenharmony_ci			ranges;
3258c2ecf20Sopenharmony_ci			status = "disabled";
3268c2ecf20Sopenharmony_ci
3278c2ecf20Sopenharmony_ci			syscon-tcsr = <&tcsr>;
3288c2ecf20Sopenharmony_ci
3298c2ecf20Sopenharmony_ci			serial@1a240000 {
3308c2ecf20Sopenharmony_ci				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
3318c2ecf20Sopenharmony_ci				reg = <0x1a240000 0x1000>,
3328c2ecf20Sopenharmony_ci				      <0x1a200000 0x1000>;
3338c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
3348c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI5_UART_CLK>, <&gcc GSBI5_H_CLK>;
3358c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
3368c2ecf20Sopenharmony_ci				status = "disabled";
3378c2ecf20Sopenharmony_ci			};
3388c2ecf20Sopenharmony_ci
3398c2ecf20Sopenharmony_ci			i2c@1a280000 {
3408c2ecf20Sopenharmony_ci				compatible = "qcom,i2c-qup-v1.1.1";
3418c2ecf20Sopenharmony_ci				reg = <0x1a280000 0x1000>;
3428c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3438c2ecf20Sopenharmony_ci
3448c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
3458c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
3468c2ecf20Sopenharmony_ci				status = "disabled";
3478c2ecf20Sopenharmony_ci
3488c2ecf20Sopenharmony_ci				#address-cells = <1>;
3498c2ecf20Sopenharmony_ci				#size-cells = <0>;
3508c2ecf20Sopenharmony_ci			};
3518c2ecf20Sopenharmony_ci
3528c2ecf20Sopenharmony_ci			spi@1a280000 {
3538c2ecf20Sopenharmony_ci				compatible = "qcom,spi-qup-v1.1.1";
3548c2ecf20Sopenharmony_ci				reg = <0x1a280000 0x1000>;
3558c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
3568c2ecf20Sopenharmony_ci
3578c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI5_QUP_CLK>, <&gcc GSBI5_H_CLK>;
3588c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
3598c2ecf20Sopenharmony_ci				status = "disabled";
3608c2ecf20Sopenharmony_ci
3618c2ecf20Sopenharmony_ci				#address-cells = <1>;
3628c2ecf20Sopenharmony_ci				#size-cells = <0>;
3638c2ecf20Sopenharmony_ci			};
3648c2ecf20Sopenharmony_ci		};
3658c2ecf20Sopenharmony_ci
3668c2ecf20Sopenharmony_ci		gsbi7: gsbi@16600000 {
3678c2ecf20Sopenharmony_ci			status = "disabled";
3688c2ecf20Sopenharmony_ci			compatible = "qcom,gsbi-v1.0.0";
3698c2ecf20Sopenharmony_ci			cell-index = <7>;
3708c2ecf20Sopenharmony_ci			reg = <0x16600000 0x100>;
3718c2ecf20Sopenharmony_ci			clocks = <&gcc GSBI7_H_CLK>;
3728c2ecf20Sopenharmony_ci			clock-names = "iface";
3738c2ecf20Sopenharmony_ci			#address-cells = <1>;
3748c2ecf20Sopenharmony_ci			#size-cells = <1>;
3758c2ecf20Sopenharmony_ci			ranges;
3768c2ecf20Sopenharmony_ci			syscon-tcsr = <&tcsr>;
3778c2ecf20Sopenharmony_ci
3788c2ecf20Sopenharmony_ci			gsbi7_serial: serial@16640000 {
3798c2ecf20Sopenharmony_ci				compatible = "qcom,msm-uartdm-v1.3", "qcom,msm-uartdm";
3808c2ecf20Sopenharmony_ci				reg = <0x16640000 0x1000>,
3818c2ecf20Sopenharmony_ci				      <0x16600000 0x1000>;
3828c2ecf20Sopenharmony_ci				interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
3838c2ecf20Sopenharmony_ci				clocks = <&gcc GSBI7_UART_CLK>, <&gcc GSBI7_H_CLK>;
3848c2ecf20Sopenharmony_ci				clock-names = "core", "iface";
3858c2ecf20Sopenharmony_ci				status = "disabled";
3868c2ecf20Sopenharmony_ci			};
3878c2ecf20Sopenharmony_ci		};
3888c2ecf20Sopenharmony_ci
3898c2ecf20Sopenharmony_ci		sata_phy: sata-phy@1b400000 {
3908c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-sata-phy";
3918c2ecf20Sopenharmony_ci			reg = <0x1b400000 0x200>;
3928c2ecf20Sopenharmony_ci
3938c2ecf20Sopenharmony_ci			clocks = <&gcc SATA_PHY_CFG_CLK>;
3948c2ecf20Sopenharmony_ci			clock-names = "cfg";
3958c2ecf20Sopenharmony_ci
3968c2ecf20Sopenharmony_ci			#phy-cells = <0>;
3978c2ecf20Sopenharmony_ci			status = "disabled";
3988c2ecf20Sopenharmony_ci		};
3998c2ecf20Sopenharmony_ci
4008c2ecf20Sopenharmony_ci		sata@29000000 {
4018c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-ahci", "generic-ahci";
4028c2ecf20Sopenharmony_ci			reg = <0x29000000 0x180>;
4038c2ecf20Sopenharmony_ci
4048c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
4058c2ecf20Sopenharmony_ci
4068c2ecf20Sopenharmony_ci			clocks = <&gcc SFAB_SATA_S_H_CLK>,
4078c2ecf20Sopenharmony_ci				 <&gcc SATA_H_CLK>,
4088c2ecf20Sopenharmony_ci				 <&gcc SATA_A_CLK>,
4098c2ecf20Sopenharmony_ci				 <&gcc SATA_RXOOB_CLK>,
4108c2ecf20Sopenharmony_ci				 <&gcc SATA_PMALIVE_CLK>;
4118c2ecf20Sopenharmony_ci			clock-names = "slave_face", "iface", "core",
4128c2ecf20Sopenharmony_ci					"rxoob", "pmalive";
4138c2ecf20Sopenharmony_ci
4148c2ecf20Sopenharmony_ci			assigned-clocks = <&gcc SATA_RXOOB_CLK>, <&gcc SATA_PMALIVE_CLK>;
4158c2ecf20Sopenharmony_ci			assigned-clock-rates = <100000000>, <100000000>;
4168c2ecf20Sopenharmony_ci
4178c2ecf20Sopenharmony_ci			phys = <&sata_phy>;
4188c2ecf20Sopenharmony_ci			phy-names = "sata-phy";
4198c2ecf20Sopenharmony_ci			status = "disabled";
4208c2ecf20Sopenharmony_ci		};
4218c2ecf20Sopenharmony_ci
4228c2ecf20Sopenharmony_ci		qcom,ssbi@500000 {
4238c2ecf20Sopenharmony_ci			compatible = "qcom,ssbi";
4248c2ecf20Sopenharmony_ci			reg = <0x00500000 0x1000>;
4258c2ecf20Sopenharmony_ci			qcom,controller-type = "pmic-arbiter";
4268c2ecf20Sopenharmony_ci		};
4278c2ecf20Sopenharmony_ci
4288c2ecf20Sopenharmony_ci		qfprom: qfprom@700000 {
4298c2ecf20Sopenharmony_ci			compatible = "qcom,qfprom";
4308c2ecf20Sopenharmony_ci			reg = <0x00700000 0x1000>;
4318c2ecf20Sopenharmony_ci			#address-cells = <1>;
4328c2ecf20Sopenharmony_ci			#size-cells = <1>;
4338c2ecf20Sopenharmony_ci		};
4348c2ecf20Sopenharmony_ci
4358c2ecf20Sopenharmony_ci		gcc: clock-controller@900000 {
4368c2ecf20Sopenharmony_ci			compatible = "qcom,gcc-ipq8064";
4378c2ecf20Sopenharmony_ci			reg = <0x00900000 0x4000>;
4388c2ecf20Sopenharmony_ci			#clock-cells = <1>;
4398c2ecf20Sopenharmony_ci			#reset-cells = <1>;
4408c2ecf20Sopenharmony_ci		};
4418c2ecf20Sopenharmony_ci
4428c2ecf20Sopenharmony_ci		tcsr: syscon@1a400000 {
4438c2ecf20Sopenharmony_ci			compatible = "qcom,tcsr-ipq8064", "syscon";
4448c2ecf20Sopenharmony_ci			reg = <0x1a400000 0x100>;
4458c2ecf20Sopenharmony_ci		};
4468c2ecf20Sopenharmony_ci
4478c2ecf20Sopenharmony_ci		lcc: clock-controller@28000000 {
4488c2ecf20Sopenharmony_ci			compatible = "qcom,lcc-ipq8064";
4498c2ecf20Sopenharmony_ci			reg = <0x28000000 0x1000>;
4508c2ecf20Sopenharmony_ci			#clock-cells = <1>;
4518c2ecf20Sopenharmony_ci			#reset-cells = <1>;
4528c2ecf20Sopenharmony_ci		};
4538c2ecf20Sopenharmony_ci
4548c2ecf20Sopenharmony_ci		pcie0: pci@1b500000 {
4558c2ecf20Sopenharmony_ci			compatible = "qcom,pcie-ipq8064";
4568c2ecf20Sopenharmony_ci			reg = <0x1b500000 0x1000
4578c2ecf20Sopenharmony_ci			       0x1b502000 0x80
4588c2ecf20Sopenharmony_ci			       0x1b600000 0x100
4598c2ecf20Sopenharmony_ci			       0x0ff00000 0x100000>;
4608c2ecf20Sopenharmony_ci			reg-names = "dbi", "elbi", "parf", "config";
4618c2ecf20Sopenharmony_ci			device_type = "pci";
4628c2ecf20Sopenharmony_ci			linux,pci-domain = <0>;
4638c2ecf20Sopenharmony_ci			bus-range = <0x00 0xff>;
4648c2ecf20Sopenharmony_ci			num-lanes = <1>;
4658c2ecf20Sopenharmony_ci			#address-cells = <3>;
4668c2ecf20Sopenharmony_ci			#size-cells = <2>;
4678c2ecf20Sopenharmony_ci
4688c2ecf20Sopenharmony_ci			ranges = <0x81000000 0x0 0x00000000 0x0fe00000 0x0 0x00010000   /* I/O */
4698c2ecf20Sopenharmony_ci				  0x82000000 0x0 0x08000000 0x08000000 0x0 0x07e00000>; /* MEM */
4708c2ecf20Sopenharmony_ci
4718c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
4728c2ecf20Sopenharmony_ci			interrupt-names = "msi";
4738c2ecf20Sopenharmony_ci			#interrupt-cells = <1>;
4748c2ecf20Sopenharmony_ci			interrupt-map-mask = <0 0 0 0x7>;
4758c2ecf20Sopenharmony_ci			interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
4768c2ecf20Sopenharmony_ci					<0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
4778c2ecf20Sopenharmony_ci					<0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
4788c2ecf20Sopenharmony_ci					<0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
4798c2ecf20Sopenharmony_ci
4808c2ecf20Sopenharmony_ci			clocks = <&gcc PCIE_A_CLK>,
4818c2ecf20Sopenharmony_ci				 <&gcc PCIE_H_CLK>,
4828c2ecf20Sopenharmony_ci				 <&gcc PCIE_PHY_CLK>,
4838c2ecf20Sopenharmony_ci				 <&gcc PCIE_AUX_CLK>,
4848c2ecf20Sopenharmony_ci				 <&gcc PCIE_ALT_REF_CLK>;
4858c2ecf20Sopenharmony_ci			clock-names = "core", "iface", "phy", "aux", "ref";
4868c2ecf20Sopenharmony_ci
4878c2ecf20Sopenharmony_ci			assigned-clocks = <&gcc PCIE_ALT_REF_CLK>;
4888c2ecf20Sopenharmony_ci			assigned-clock-rates = <100000000>;
4898c2ecf20Sopenharmony_ci
4908c2ecf20Sopenharmony_ci			resets = <&gcc PCIE_ACLK_RESET>,
4918c2ecf20Sopenharmony_ci				 <&gcc PCIE_HCLK_RESET>,
4928c2ecf20Sopenharmony_ci				 <&gcc PCIE_POR_RESET>,
4938c2ecf20Sopenharmony_ci				 <&gcc PCIE_PCI_RESET>,
4948c2ecf20Sopenharmony_ci				 <&gcc PCIE_PHY_RESET>,
4958c2ecf20Sopenharmony_ci				 <&gcc PCIE_EXT_RESET>;
4968c2ecf20Sopenharmony_ci			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
4978c2ecf20Sopenharmony_ci
4988c2ecf20Sopenharmony_ci			pinctrl-0 = <&pcie0_pins>;
4998c2ecf20Sopenharmony_ci			pinctrl-names = "default";
5008c2ecf20Sopenharmony_ci
5018c2ecf20Sopenharmony_ci			status = "disabled";
5028c2ecf20Sopenharmony_ci			perst-gpio = <&qcom_pinmux 3 GPIO_ACTIVE_LOW>;
5038c2ecf20Sopenharmony_ci		};
5048c2ecf20Sopenharmony_ci
5058c2ecf20Sopenharmony_ci		pcie1: pci@1b700000 {
5068c2ecf20Sopenharmony_ci			compatible = "qcom,pcie-ipq8064";
5078c2ecf20Sopenharmony_ci			reg = <0x1b700000 0x1000
5088c2ecf20Sopenharmony_ci			       0x1b702000 0x80
5098c2ecf20Sopenharmony_ci			       0x1b800000 0x100
5108c2ecf20Sopenharmony_ci			       0x31f00000 0x100000>;
5118c2ecf20Sopenharmony_ci			reg-names = "dbi", "elbi", "parf", "config";
5128c2ecf20Sopenharmony_ci			device_type = "pci";
5138c2ecf20Sopenharmony_ci			linux,pci-domain = <1>;
5148c2ecf20Sopenharmony_ci			bus-range = <0x00 0xff>;
5158c2ecf20Sopenharmony_ci			num-lanes = <1>;
5168c2ecf20Sopenharmony_ci			#address-cells = <3>;
5178c2ecf20Sopenharmony_ci			#size-cells = <2>;
5188c2ecf20Sopenharmony_ci
5198c2ecf20Sopenharmony_ci			ranges = <0x81000000 0x0 0x00000000 0x31e00000 0x0 0x00010000   /* I/O */
5208c2ecf20Sopenharmony_ci				  0x82000000 0x0 0x2e000000 0x2e000000 0x0 0x03e00000>; /* MEM */
5218c2ecf20Sopenharmony_ci
5228c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>;
5238c2ecf20Sopenharmony_ci			interrupt-names = "msi";
5248c2ecf20Sopenharmony_ci			#interrupt-cells = <1>;
5258c2ecf20Sopenharmony_ci			interrupt-map-mask = <0 0 0 0x7>;
5268c2ecf20Sopenharmony_ci			interrupt-map = <0 0 0 1 &intc 0 58 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
5278c2ecf20Sopenharmony_ci					<0 0 0 2 &intc 0 59 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
5288c2ecf20Sopenharmony_ci					<0 0 0 3 &intc 0 60 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
5298c2ecf20Sopenharmony_ci					<0 0 0 4 &intc 0 61 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
5308c2ecf20Sopenharmony_ci
5318c2ecf20Sopenharmony_ci			clocks = <&gcc PCIE_1_A_CLK>,
5328c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_H_CLK>,
5338c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_PHY_CLK>,
5348c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_AUX_CLK>,
5358c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_ALT_REF_CLK>;
5368c2ecf20Sopenharmony_ci			clock-names = "core", "iface", "phy", "aux", "ref";
5378c2ecf20Sopenharmony_ci
5388c2ecf20Sopenharmony_ci			assigned-clocks = <&gcc PCIE_1_ALT_REF_CLK>;
5398c2ecf20Sopenharmony_ci			assigned-clock-rates = <100000000>;
5408c2ecf20Sopenharmony_ci
5418c2ecf20Sopenharmony_ci			resets = <&gcc PCIE_1_ACLK_RESET>,
5428c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_HCLK_RESET>,
5438c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_POR_RESET>,
5448c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_PCI_RESET>,
5458c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_PHY_RESET>,
5468c2ecf20Sopenharmony_ci				 <&gcc PCIE_1_EXT_RESET>;
5478c2ecf20Sopenharmony_ci			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
5488c2ecf20Sopenharmony_ci
5498c2ecf20Sopenharmony_ci			pinctrl-0 = <&pcie1_pins>;
5508c2ecf20Sopenharmony_ci			pinctrl-names = "default";
5518c2ecf20Sopenharmony_ci
5528c2ecf20Sopenharmony_ci			status = "disabled";
5538c2ecf20Sopenharmony_ci			perst-gpio = <&qcom_pinmux 48 GPIO_ACTIVE_LOW>;
5548c2ecf20Sopenharmony_ci		};
5558c2ecf20Sopenharmony_ci
5568c2ecf20Sopenharmony_ci		pcie2: pci@1b900000 {
5578c2ecf20Sopenharmony_ci			compatible = "qcom,pcie-ipq8064";
5588c2ecf20Sopenharmony_ci			reg = <0x1b900000 0x1000
5598c2ecf20Sopenharmony_ci			       0x1b902000 0x80
5608c2ecf20Sopenharmony_ci			       0x1ba00000 0x100
5618c2ecf20Sopenharmony_ci			       0x35f00000 0x100000>;
5628c2ecf20Sopenharmony_ci			reg-names = "dbi", "elbi", "parf", "config";
5638c2ecf20Sopenharmony_ci			device_type = "pci";
5648c2ecf20Sopenharmony_ci			linux,pci-domain = <2>;
5658c2ecf20Sopenharmony_ci			bus-range = <0x00 0xff>;
5668c2ecf20Sopenharmony_ci			num-lanes = <1>;
5678c2ecf20Sopenharmony_ci			#address-cells = <3>;
5688c2ecf20Sopenharmony_ci			#size-cells = <2>;
5698c2ecf20Sopenharmony_ci
5708c2ecf20Sopenharmony_ci			ranges = <0x81000000 0x0 0x00000000 0x35e00000 0x0 0x00010000   /* I/O */
5718c2ecf20Sopenharmony_ci				  0x82000000 0x0 0x32000000 0x32000000 0x0 0x03e00000>; /* MEM */
5728c2ecf20Sopenharmony_ci
5738c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
5748c2ecf20Sopenharmony_ci			interrupt-names = "msi";
5758c2ecf20Sopenharmony_ci			#interrupt-cells = <1>;
5768c2ecf20Sopenharmony_ci			interrupt-map-mask = <0 0 0 0x7>;
5778c2ecf20Sopenharmony_ci			interrupt-map = <0 0 0 1 &intc 0 72 IRQ_TYPE_LEVEL_HIGH>, /* int_a */
5788c2ecf20Sopenharmony_ci					<0 0 0 2 &intc 0 73 IRQ_TYPE_LEVEL_HIGH>, /* int_b */
5798c2ecf20Sopenharmony_ci					<0 0 0 3 &intc 0 74 IRQ_TYPE_LEVEL_HIGH>, /* int_c */
5808c2ecf20Sopenharmony_ci					<0 0 0 4 &intc 0 75 IRQ_TYPE_LEVEL_HIGH>; /* int_d */
5818c2ecf20Sopenharmony_ci
5828c2ecf20Sopenharmony_ci			clocks = <&gcc PCIE_2_A_CLK>,
5838c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_H_CLK>,
5848c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_PHY_CLK>,
5858c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_AUX_CLK>,
5868c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_ALT_REF_CLK>;
5878c2ecf20Sopenharmony_ci			clock-names = "core", "iface", "phy", "aux", "ref";
5888c2ecf20Sopenharmony_ci
5898c2ecf20Sopenharmony_ci			assigned-clocks = <&gcc PCIE_2_ALT_REF_CLK>;
5908c2ecf20Sopenharmony_ci			assigned-clock-rates = <100000000>;
5918c2ecf20Sopenharmony_ci
5928c2ecf20Sopenharmony_ci			resets = <&gcc PCIE_2_ACLK_RESET>,
5938c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_HCLK_RESET>,
5948c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_POR_RESET>,
5958c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_PCI_RESET>,
5968c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_PHY_RESET>,
5978c2ecf20Sopenharmony_ci				 <&gcc PCIE_2_EXT_RESET>;
5988c2ecf20Sopenharmony_ci			reset-names = "axi", "ahb", "por", "pci", "phy", "ext";
5998c2ecf20Sopenharmony_ci
6008c2ecf20Sopenharmony_ci			pinctrl-0 = <&pcie2_pins>;
6018c2ecf20Sopenharmony_ci			pinctrl-names = "default";
6028c2ecf20Sopenharmony_ci
6038c2ecf20Sopenharmony_ci			status = "disabled";
6048c2ecf20Sopenharmony_ci			perst-gpio = <&qcom_pinmux 63 GPIO_ACTIVE_LOW>;
6058c2ecf20Sopenharmony_ci		};
6068c2ecf20Sopenharmony_ci
6078c2ecf20Sopenharmony_ci		nss_common: syscon@03000000 {
6088c2ecf20Sopenharmony_ci			compatible = "syscon";
6098c2ecf20Sopenharmony_ci			reg = <0x03000000 0x0000FFFF>;
6108c2ecf20Sopenharmony_ci		};
6118c2ecf20Sopenharmony_ci
6128c2ecf20Sopenharmony_ci		qsgmii_csr: syscon@1bb00000 {
6138c2ecf20Sopenharmony_ci			compatible = "syscon";
6148c2ecf20Sopenharmony_ci			reg = <0x1bb00000 0x000001FF>;
6158c2ecf20Sopenharmony_ci		};
6168c2ecf20Sopenharmony_ci
6178c2ecf20Sopenharmony_ci		stmmac_axi_setup: stmmac-axi-config {
6188c2ecf20Sopenharmony_ci			snps,wr_osr_lmt = <7>;
6198c2ecf20Sopenharmony_ci			snps,rd_osr_lmt = <7>;
6208c2ecf20Sopenharmony_ci			snps,blen = <16 0 0 0 0 0 0>;
6218c2ecf20Sopenharmony_ci		};
6228c2ecf20Sopenharmony_ci
6238c2ecf20Sopenharmony_ci		gmac0: ethernet@37000000 {
6248c2ecf20Sopenharmony_ci			device_type = "network";
6258c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-gmac";
6268c2ecf20Sopenharmony_ci			reg = <0x37000000 0x200000>;
6278c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>;
6288c2ecf20Sopenharmony_ci			interrupt-names = "macirq";
6298c2ecf20Sopenharmony_ci
6308c2ecf20Sopenharmony_ci			snps,axi-config = <&stmmac_axi_setup>;
6318c2ecf20Sopenharmony_ci			snps,pbl = <32>;
6328c2ecf20Sopenharmony_ci			snps,aal = <1>;
6338c2ecf20Sopenharmony_ci
6348c2ecf20Sopenharmony_ci			qcom,nss-common = <&nss_common>;
6358c2ecf20Sopenharmony_ci			qcom,qsgmii-csr = <&qsgmii_csr>;
6368c2ecf20Sopenharmony_ci
6378c2ecf20Sopenharmony_ci			clocks = <&gcc GMAC_CORE1_CLK>;
6388c2ecf20Sopenharmony_ci			clock-names = "stmmaceth";
6398c2ecf20Sopenharmony_ci
6408c2ecf20Sopenharmony_ci			resets = <&gcc GMAC_CORE1_RESET>;
6418c2ecf20Sopenharmony_ci			reset-names = "stmmaceth";
6428c2ecf20Sopenharmony_ci
6438c2ecf20Sopenharmony_ci			status = "disabled";
6448c2ecf20Sopenharmony_ci		};
6458c2ecf20Sopenharmony_ci
6468c2ecf20Sopenharmony_ci		gmac1: ethernet@37200000 {
6478c2ecf20Sopenharmony_ci			device_type = "network";
6488c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-gmac";
6498c2ecf20Sopenharmony_ci			reg = <0x37200000 0x200000>;
6508c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>;
6518c2ecf20Sopenharmony_ci			interrupt-names = "macirq";
6528c2ecf20Sopenharmony_ci
6538c2ecf20Sopenharmony_ci			snps,axi-config = <&stmmac_axi_setup>;
6548c2ecf20Sopenharmony_ci			snps,pbl = <32>;
6558c2ecf20Sopenharmony_ci			snps,aal = <1>;
6568c2ecf20Sopenharmony_ci
6578c2ecf20Sopenharmony_ci			qcom,nss-common = <&nss_common>;
6588c2ecf20Sopenharmony_ci			qcom,qsgmii-csr = <&qsgmii_csr>;
6598c2ecf20Sopenharmony_ci
6608c2ecf20Sopenharmony_ci			clocks = <&gcc GMAC_CORE2_CLK>;
6618c2ecf20Sopenharmony_ci			clock-names = "stmmaceth";
6628c2ecf20Sopenharmony_ci
6638c2ecf20Sopenharmony_ci			resets = <&gcc GMAC_CORE2_RESET>;
6648c2ecf20Sopenharmony_ci			reset-names = "stmmaceth";
6658c2ecf20Sopenharmony_ci
6668c2ecf20Sopenharmony_ci			status = "disabled";
6678c2ecf20Sopenharmony_ci		};
6688c2ecf20Sopenharmony_ci
6698c2ecf20Sopenharmony_ci		gmac2: ethernet@37400000 {
6708c2ecf20Sopenharmony_ci			device_type = "network";
6718c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-gmac";
6728c2ecf20Sopenharmony_ci			reg = <0x37400000 0x200000>;
6738c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
6748c2ecf20Sopenharmony_ci			interrupt-names = "macirq";
6758c2ecf20Sopenharmony_ci
6768c2ecf20Sopenharmony_ci			snps,axi-config = <&stmmac_axi_setup>;
6778c2ecf20Sopenharmony_ci			snps,pbl = <32>;
6788c2ecf20Sopenharmony_ci			snps,aal = <1>;
6798c2ecf20Sopenharmony_ci
6808c2ecf20Sopenharmony_ci			qcom,nss-common = <&nss_common>;
6818c2ecf20Sopenharmony_ci			qcom,qsgmii-csr = <&qsgmii_csr>;
6828c2ecf20Sopenharmony_ci
6838c2ecf20Sopenharmony_ci			clocks = <&gcc GMAC_CORE3_CLK>;
6848c2ecf20Sopenharmony_ci			clock-names = "stmmaceth";
6858c2ecf20Sopenharmony_ci
6868c2ecf20Sopenharmony_ci			resets = <&gcc GMAC_CORE3_RESET>;
6878c2ecf20Sopenharmony_ci			reset-names = "stmmaceth";
6888c2ecf20Sopenharmony_ci
6898c2ecf20Sopenharmony_ci			status = "disabled";
6908c2ecf20Sopenharmony_ci		};
6918c2ecf20Sopenharmony_ci
6928c2ecf20Sopenharmony_ci		gmac3: ethernet@37600000 {
6938c2ecf20Sopenharmony_ci			device_type = "network";
6948c2ecf20Sopenharmony_ci			compatible = "qcom,ipq806x-gmac";
6958c2ecf20Sopenharmony_ci			reg = <0x37600000 0x200000>;
6968c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>;
6978c2ecf20Sopenharmony_ci			interrupt-names = "macirq";
6988c2ecf20Sopenharmony_ci
6998c2ecf20Sopenharmony_ci			snps,axi-config = <&stmmac_axi_setup>;
7008c2ecf20Sopenharmony_ci			snps,pbl = <32>;
7018c2ecf20Sopenharmony_ci			snps,aal = <1>;
7028c2ecf20Sopenharmony_ci
7038c2ecf20Sopenharmony_ci			qcom,nss-common = <&nss_common>;
7048c2ecf20Sopenharmony_ci			qcom,qsgmii-csr = <&qsgmii_csr>;
7058c2ecf20Sopenharmony_ci
7068c2ecf20Sopenharmony_ci			clocks = <&gcc GMAC_CORE4_CLK>;
7078c2ecf20Sopenharmony_ci			clock-names = "stmmaceth";
7088c2ecf20Sopenharmony_ci
7098c2ecf20Sopenharmony_ci			resets = <&gcc GMAC_CORE4_RESET>;
7108c2ecf20Sopenharmony_ci			reset-names = "stmmaceth";
7118c2ecf20Sopenharmony_ci
7128c2ecf20Sopenharmony_ci			status = "disabled";
7138c2ecf20Sopenharmony_ci		};
7148c2ecf20Sopenharmony_ci
7158c2ecf20Sopenharmony_ci		vsdcc_fixed: vsdcc-regulator {
7168c2ecf20Sopenharmony_ci			compatible = "regulator-fixed";
7178c2ecf20Sopenharmony_ci			regulator-name = "SDCC Power";
7188c2ecf20Sopenharmony_ci			regulator-min-microvolt = <3300000>;
7198c2ecf20Sopenharmony_ci			regulator-max-microvolt = <3300000>;
7208c2ecf20Sopenharmony_ci			regulator-always-on;
7218c2ecf20Sopenharmony_ci		};
7228c2ecf20Sopenharmony_ci
7238c2ecf20Sopenharmony_ci		sdcc1bam:dma@12402000 {
7248c2ecf20Sopenharmony_ci			compatible = "qcom,bam-v1.3.0";
7258c2ecf20Sopenharmony_ci			reg = <0x12402000 0x8000>;
7268c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
7278c2ecf20Sopenharmony_ci			clocks = <&gcc SDC1_H_CLK>;
7288c2ecf20Sopenharmony_ci			clock-names = "bam_clk";
7298c2ecf20Sopenharmony_ci			#dma-cells = <1>;
7308c2ecf20Sopenharmony_ci			qcom,ee = <0>;
7318c2ecf20Sopenharmony_ci		};
7328c2ecf20Sopenharmony_ci
7338c2ecf20Sopenharmony_ci		sdcc3bam:dma@12182000 {
7348c2ecf20Sopenharmony_ci			compatible = "qcom,bam-v1.3.0";
7358c2ecf20Sopenharmony_ci			reg = <0x12182000 0x8000>;
7368c2ecf20Sopenharmony_ci			interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
7378c2ecf20Sopenharmony_ci			clocks = <&gcc SDC3_H_CLK>;
7388c2ecf20Sopenharmony_ci			clock-names = "bam_clk";
7398c2ecf20Sopenharmony_ci			#dma-cells = <1>;
7408c2ecf20Sopenharmony_ci			qcom,ee = <0>;
7418c2ecf20Sopenharmony_ci		};
7428c2ecf20Sopenharmony_ci
7438c2ecf20Sopenharmony_ci		amba {
7448c2ecf20Sopenharmony_ci			compatible = "simple-bus";
7458c2ecf20Sopenharmony_ci			#address-cells = <1>;
7468c2ecf20Sopenharmony_ci			#size-cells = <1>;
7478c2ecf20Sopenharmony_ci			ranges;
7488c2ecf20Sopenharmony_ci
7498c2ecf20Sopenharmony_ci			sdcc@12400000 {
7508c2ecf20Sopenharmony_ci				status          = "disabled";
7518c2ecf20Sopenharmony_ci				compatible      = "arm,pl18x", "arm,primecell";
7528c2ecf20Sopenharmony_ci				arm,primecell-periphid = <0x00051180>;
7538c2ecf20Sopenharmony_ci				reg             = <0x12400000 0x2000>;
7548c2ecf20Sopenharmony_ci				interrupts      = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>;
7558c2ecf20Sopenharmony_ci				interrupt-names = "cmd_irq";
7568c2ecf20Sopenharmony_ci				clocks          = <&gcc SDC1_CLK>, <&gcc SDC1_H_CLK>;
7578c2ecf20Sopenharmony_ci				clock-names     = "mclk", "apb_pclk";
7588c2ecf20Sopenharmony_ci				bus-width       = <8>;
7598c2ecf20Sopenharmony_ci				max-frequency   = <96000000>;
7608c2ecf20Sopenharmony_ci				non-removable;
7618c2ecf20Sopenharmony_ci				cap-sd-highspeed;
7628c2ecf20Sopenharmony_ci				cap-mmc-highspeed;
7638c2ecf20Sopenharmony_ci				mmc-ddr-1_8v;
7648c2ecf20Sopenharmony_ci				vmmc-supply = <&vsdcc_fixed>;
7658c2ecf20Sopenharmony_ci				dmas = <&sdcc1bam 2>, <&sdcc1bam 1>;
7668c2ecf20Sopenharmony_ci				dma-names = "tx", "rx";
7678c2ecf20Sopenharmony_ci			};
7688c2ecf20Sopenharmony_ci
7698c2ecf20Sopenharmony_ci			sdcc@12180000 {
7708c2ecf20Sopenharmony_ci				compatible      = "arm,pl18x", "arm,primecell";
7718c2ecf20Sopenharmony_ci				arm,primecell-periphid = <0x00051180>;
7728c2ecf20Sopenharmony_ci				status          = "disabled";
7738c2ecf20Sopenharmony_ci				reg             = <0x12180000 0x2000>;
7748c2ecf20Sopenharmony_ci				interrupts      = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
7758c2ecf20Sopenharmony_ci				interrupt-names = "cmd_irq";
7768c2ecf20Sopenharmony_ci				clocks          = <&gcc SDC3_CLK>, <&gcc SDC3_H_CLK>;
7778c2ecf20Sopenharmony_ci				clock-names     = "mclk", "apb_pclk";
7788c2ecf20Sopenharmony_ci				bus-width       = <8>;
7798c2ecf20Sopenharmony_ci				cap-sd-highspeed;
7808c2ecf20Sopenharmony_ci				cap-mmc-highspeed;
7818c2ecf20Sopenharmony_ci				max-frequency   = <192000000>;
7828c2ecf20Sopenharmony_ci				#mmc-ddr-1_8v;
7838c2ecf20Sopenharmony_ci				sd-uhs-sdr104;
7848c2ecf20Sopenharmony_ci				sd-uhs-ddr50;
7858c2ecf20Sopenharmony_ci				vqmmc-supply = <&vsdcc_fixed>;
7868c2ecf20Sopenharmony_ci				dmas = <&sdcc3bam 2>, <&sdcc3bam 1>;
7878c2ecf20Sopenharmony_ci				dma-names = "tx", "rx";
7888c2ecf20Sopenharmony_ci			};
7898c2ecf20Sopenharmony_ci		};
7908c2ecf20Sopenharmony_ci	};
7918c2ecf20Sopenharmony_ci};
792