xref: /freebsd/sys/contrib/device-tree/src/arm64/toshiba/tmpv7708.dtsi (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
16be33864SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
26be33864SEmmanuel Vadot/*
36be33864SEmmanuel Vadot * Device Tree Source for the TMPV7708
46be33864SEmmanuel Vadot *
56be33864SEmmanuel Vadot * (C) Copyright 2018 - 2020, Toshiba Corporation.
66be33864SEmmanuel Vadot * (C) Copyright 2020, Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
76be33864SEmmanuel Vadot *
86be33864SEmmanuel Vadot */
96be33864SEmmanuel Vadot
10d5b0e70fSEmmanuel Vadot#include <dt-bindings/clock/toshiba,tmpv770x.h>
116be33864SEmmanuel Vadot#include <dt-bindings/interrupt-controller/irq.h>
126be33864SEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h>
136be33864SEmmanuel Vadot
146be33864SEmmanuel Vadot/memreserve/ 0x81000000 0x00300000;	/* cpu-release-addr */
156be33864SEmmanuel Vadot
166be33864SEmmanuel Vadot/ {
176be33864SEmmanuel Vadot	compatible = "toshiba,tmpv7708";
186be33864SEmmanuel Vadot	#address-cells = <2>;
196be33864SEmmanuel Vadot	#size-cells = <2>;
206be33864SEmmanuel Vadot
216be33864SEmmanuel Vadot	cpus {
226be33864SEmmanuel Vadot		#address-cells = <1>;
236be33864SEmmanuel Vadot		#size-cells = <0>;
246be33864SEmmanuel Vadot
256be33864SEmmanuel Vadot		cpu-map {
266be33864SEmmanuel Vadot			cluster0 {
276be33864SEmmanuel Vadot				core0 {
286be33864SEmmanuel Vadot					cpu = <&cpu0>;
296be33864SEmmanuel Vadot				};
306be33864SEmmanuel Vadot				core1 {
316be33864SEmmanuel Vadot					cpu = <&cpu1>;
326be33864SEmmanuel Vadot				};
336be33864SEmmanuel Vadot				core2 {
346be33864SEmmanuel Vadot					cpu = <&cpu2>;
356be33864SEmmanuel Vadot				};
366be33864SEmmanuel Vadot				core3 {
376be33864SEmmanuel Vadot					cpu = <&cpu3>;
386be33864SEmmanuel Vadot				};
396be33864SEmmanuel Vadot			};
406be33864SEmmanuel Vadot
416be33864SEmmanuel Vadot			cluster1 {
426be33864SEmmanuel Vadot				core0 {
436be33864SEmmanuel Vadot					cpu = <&cpu4>;
446be33864SEmmanuel Vadot				};
456be33864SEmmanuel Vadot				core1 {
466be33864SEmmanuel Vadot					cpu = <&cpu5>;
476be33864SEmmanuel Vadot				};
486be33864SEmmanuel Vadot				core2 {
496be33864SEmmanuel Vadot					cpu = <&cpu6>;
506be33864SEmmanuel Vadot				};
516be33864SEmmanuel Vadot				core3 {
526be33864SEmmanuel Vadot					cpu = <&cpu7>;
536be33864SEmmanuel Vadot				};
546be33864SEmmanuel Vadot			};
556be33864SEmmanuel Vadot		};
566be33864SEmmanuel Vadot
576be33864SEmmanuel Vadot		cpu0: cpu@0 {
586be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
596be33864SEmmanuel Vadot			device_type = "cpu";
606be33864SEmmanuel Vadot			enable-method = "spin-table";
616be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
626be33864SEmmanuel Vadot			reg = <0x00>;
636be33864SEmmanuel Vadot		};
646be33864SEmmanuel Vadot
656be33864SEmmanuel Vadot		cpu1: cpu@1 {
666be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
676be33864SEmmanuel Vadot			device_type = "cpu";
686be33864SEmmanuel Vadot			enable-method = "spin-table";
696be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
706be33864SEmmanuel Vadot			reg = <0x01>;
716be33864SEmmanuel Vadot		};
726be33864SEmmanuel Vadot
736be33864SEmmanuel Vadot		cpu2: cpu@2 {
746be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
756be33864SEmmanuel Vadot			device_type = "cpu";
766be33864SEmmanuel Vadot			enable-method = "spin-table";
776be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
786be33864SEmmanuel Vadot			reg = <0x02>;
796be33864SEmmanuel Vadot		};
806be33864SEmmanuel Vadot
816be33864SEmmanuel Vadot		cpu3: cpu@3 {
826be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
836be33864SEmmanuel Vadot			device_type = "cpu";
846be33864SEmmanuel Vadot			enable-method = "spin-table";
856be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
866be33864SEmmanuel Vadot			reg = <0x03>;
876be33864SEmmanuel Vadot		};
886be33864SEmmanuel Vadot
896be33864SEmmanuel Vadot		cpu4: cpu@100 {
906be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
916be33864SEmmanuel Vadot			device_type = "cpu";
926be33864SEmmanuel Vadot			enable-method = "spin-table";
936be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
946be33864SEmmanuel Vadot			reg = <0x100>;
956be33864SEmmanuel Vadot		};
966be33864SEmmanuel Vadot
976be33864SEmmanuel Vadot		cpu5: cpu@101 {
986be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
996be33864SEmmanuel Vadot			device_type = "cpu";
1006be33864SEmmanuel Vadot			enable-method = "spin-table";
1016be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
1026be33864SEmmanuel Vadot			reg = <0x101>;
1036be33864SEmmanuel Vadot		};
1046be33864SEmmanuel Vadot
1056be33864SEmmanuel Vadot		cpu6: cpu@102 {
1066be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
1076be33864SEmmanuel Vadot			device_type = "cpu";
1086be33864SEmmanuel Vadot			enable-method = "spin-table";
1096be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
1106be33864SEmmanuel Vadot			reg = <0x102>;
1116be33864SEmmanuel Vadot		};
1126be33864SEmmanuel Vadot
1136be33864SEmmanuel Vadot		cpu7: cpu@103 {
1146be33864SEmmanuel Vadot			compatible = "arm,cortex-a53";
1156be33864SEmmanuel Vadot			device_type = "cpu";
1166be33864SEmmanuel Vadot			enable-method = "spin-table";
1176be33864SEmmanuel Vadot			cpu-release-addr = <0x0 0x81100000>;
1186be33864SEmmanuel Vadot			reg = <0x103>;
1196be33864SEmmanuel Vadot		};
1206be33864SEmmanuel Vadot	};
1216be33864SEmmanuel Vadot
1226be33864SEmmanuel Vadot	timer {
1236be33864SEmmanuel Vadot		compatible = "arm,armv8-timer";
1246be33864SEmmanuel Vadot		interrupt-parent = <&gic>;
1256be33864SEmmanuel Vadot		interrupts =
1266be33864SEmmanuel Vadot			<GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1276be33864SEmmanuel Vadot			<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1286be33864SEmmanuel Vadot			<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1296be33864SEmmanuel Vadot			<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
1306be33864SEmmanuel Vadot	};
1316be33864SEmmanuel Vadot
1328cc087a1SEmmanuel Vadot	extclk100mhz: extclk100mhz {
1338cc087a1SEmmanuel Vadot		compatible = "fixed-clock";
1348cc087a1SEmmanuel Vadot		#clock-cells = <0>;
1358cc087a1SEmmanuel Vadot		clock-frequency = <100000000>;
1368cc087a1SEmmanuel Vadot		clock-output-names = "extclk100mhz";
1378cc087a1SEmmanuel Vadot	};
1388cc087a1SEmmanuel Vadot
139d5b0e70fSEmmanuel Vadot	osc2_clk: osc2-clk {
1405def4c47SEmmanuel Vadot		compatible = "fixed-clock";
141d5b0e70fSEmmanuel Vadot		clock-frequency = <20000000>;
1425def4c47SEmmanuel Vadot		#clock-cells = <0>;
1435def4c47SEmmanuel Vadot	};
1445def4c47SEmmanuel Vadot
1456be33864SEmmanuel Vadot	soc {
1466be33864SEmmanuel Vadot		#address-cells = <2>;
1476be33864SEmmanuel Vadot		#size-cells = <2>;
1486be33864SEmmanuel Vadot		compatible = "simple-bus";
1496be33864SEmmanuel Vadot		interrupt-parent = <&gic>;
1506be33864SEmmanuel Vadot		ranges;
1516be33864SEmmanuel Vadot
1526be33864SEmmanuel Vadot		gic: interrupt-controller@24001000 {
1536be33864SEmmanuel Vadot			compatible = "arm,gic-400";
1546be33864SEmmanuel Vadot			interrupt-controller;
1556be33864SEmmanuel Vadot			#interrupt-cells = <3>;
1566be33864SEmmanuel Vadot			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
1576be33864SEmmanuel Vadot			reg = <0 0x24001000 0 0x1000>,
1586be33864SEmmanuel Vadot			      <0 0x24002000 0 0x2000>,
1596be33864SEmmanuel Vadot			      <0 0x24004000 0 0x2000>,
1606be33864SEmmanuel Vadot			      <0 0x24006000 0 0x2000>;
1616be33864SEmmanuel Vadot		};
1626be33864SEmmanuel Vadot
1636be33864SEmmanuel Vadot		pmux: pmux@24190000 {
1646be33864SEmmanuel Vadot			compatible = "toshiba,tmpv7708-pinctrl";
1656be33864SEmmanuel Vadot			reg = <0 0x24190000 0 0x10000>;
1666be33864SEmmanuel Vadot		};
1676be33864SEmmanuel Vadot
1685def4c47SEmmanuel Vadot		gpio: gpio@28020000 {
1695def4c47SEmmanuel Vadot			compatible = "toshiba,gpio-tmpv7708";
1705def4c47SEmmanuel Vadot			reg = <0 0x28020000 0 0x1000>;
1715def4c47SEmmanuel Vadot			#gpio-cells = <0x2>;
1725def4c47SEmmanuel Vadot			gpio-ranges = <&pmux 0 0 32>;
1735def4c47SEmmanuel Vadot			gpio-controller;
1745def4c47SEmmanuel Vadot			interrupt-controller;
1755def4c47SEmmanuel Vadot			#interrupt-cells = <2>;
1765def4c47SEmmanuel Vadot			interrupt-parent = <&gic>;
1775def4c47SEmmanuel Vadot		};
1785def4c47SEmmanuel Vadot
179d5b0e70fSEmmanuel Vadot		pipllct: clock-controller@24220000 {
180d5b0e70fSEmmanuel Vadot			compatible = "toshiba,tmpv7708-pipllct";
181d5b0e70fSEmmanuel Vadot			reg = <0 0x24220000 0 0x820>;
182d5b0e70fSEmmanuel Vadot			#clock-cells = <1>;
183d5b0e70fSEmmanuel Vadot			clocks = <&osc2_clk>;
184d5b0e70fSEmmanuel Vadot		};
185d5b0e70fSEmmanuel Vadot
186d5b0e70fSEmmanuel Vadot		pismu: syscon@24200000 {
187d5b0e70fSEmmanuel Vadot			compatible = "toshiba,tmpv7708-pismu", "syscon";
188d5b0e70fSEmmanuel Vadot			reg = <0 0x24200000 0 0x2140>;
189d5b0e70fSEmmanuel Vadot			#clock-cells = <1>;
190d5b0e70fSEmmanuel Vadot			#reset-cells = <1>;
191d5b0e70fSEmmanuel Vadot		};
192d5b0e70fSEmmanuel Vadot
1936be33864SEmmanuel Vadot		uart0: serial@28200000 {
1946be33864SEmmanuel Vadot			compatible = "arm,pl011", "arm,primecell";
1956be33864SEmmanuel Vadot			reg = <0 0x28200000 0 0x1000>;
1966be33864SEmmanuel Vadot			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
1976be33864SEmmanuel Vadot			pinctrl-names = "default";
1986be33864SEmmanuel Vadot			pinctrl-0 = <&uart0_pins>;
199*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PIUART0>, <&pismu TMPV770X_CLK_PIUART0>;
200*b2d2a78aSEmmanuel Vadot			clock-names = "uartclk", "apb_pclk";
2016be33864SEmmanuel Vadot			status = "disabled";
2026be33864SEmmanuel Vadot		};
2036be33864SEmmanuel Vadot
2046be33864SEmmanuel Vadot		uart1: serial@28201000 {
2056be33864SEmmanuel Vadot			compatible = "arm,pl011", "arm,primecell";
2066be33864SEmmanuel Vadot			reg = <0 0x28201000 0 0x1000>;
2076be33864SEmmanuel Vadot			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
2086be33864SEmmanuel Vadot			pinctrl-names = "default";
2096be33864SEmmanuel Vadot			pinctrl-0 = <&uart1_pins>;
210*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PIUART1>, <&pismu TMPV770X_CLK_PIUART1>;
211*b2d2a78aSEmmanuel Vadot			clock-names = "uartclk", "apb_pclk";
2126be33864SEmmanuel Vadot			status = "disabled";
2136be33864SEmmanuel Vadot		};
2146be33864SEmmanuel Vadot
2156be33864SEmmanuel Vadot		uart2: serial@28202000 {
2166be33864SEmmanuel Vadot			compatible = "arm,pl011", "arm,primecell";
2176be33864SEmmanuel Vadot			reg = <0 0x28202000 0 0x1000>;
2186be33864SEmmanuel Vadot			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
2196be33864SEmmanuel Vadot			pinctrl-names = "default";
2206be33864SEmmanuel Vadot			pinctrl-0 = <&uart2_pins>;
221*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PIUART2>, <&pismu TMPV770X_CLK_PIUART2>;
222*b2d2a78aSEmmanuel Vadot			clock-names = "uartclk", "apb_pclk";
2236be33864SEmmanuel Vadot			status = "disabled";
2246be33864SEmmanuel Vadot		};
2256be33864SEmmanuel Vadot
2266be33864SEmmanuel Vadot		uart3: serial@28203000 {
2276be33864SEmmanuel Vadot			compatible = "arm,pl011", "arm,primecell";
2286be33864SEmmanuel Vadot			reg = <0 0x28203000 0 0x1000>;
2296be33864SEmmanuel Vadot			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
2306be33864SEmmanuel Vadot			pinctrl-names = "default";
2316be33864SEmmanuel Vadot			pinctrl-0 = <&uart3_pins>;
232*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PIUART2>, <&pismu TMPV770X_CLK_PIUART2>;
233*b2d2a78aSEmmanuel Vadot			clock-names = "uartclk", "apb_pclk";
2346be33864SEmmanuel Vadot			status = "disabled";
2356be33864SEmmanuel Vadot		};
2366be33864SEmmanuel Vadot
2376be33864SEmmanuel Vadot		i2c0: i2c@28030000 {
2386be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
2396be33864SEmmanuel Vadot			reg = <0 0x28030000 0 0x1000>;
2406be33864SEmmanuel Vadot			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
2416be33864SEmmanuel Vadot			pinctrl-names = "default";
2426be33864SEmmanuel Vadot			pinctrl-0 = <&i2c0_pins>;
2436be33864SEmmanuel Vadot			clock-frequency = <400000>;
2446be33864SEmmanuel Vadot			#address-cells = <1>;
2456be33864SEmmanuel Vadot			#size-cells = <0>;
246d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C0>;
2476be33864SEmmanuel Vadot			status = "disabled";
2486be33864SEmmanuel Vadot		};
2496be33864SEmmanuel Vadot
2506be33864SEmmanuel Vadot		i2c1: i2c@28031000 {
2516be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
2526be33864SEmmanuel Vadot			reg = <0 0x28031000 0 0x1000>;
2536be33864SEmmanuel Vadot			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
2546be33864SEmmanuel Vadot			pinctrl-names = "default";
2556be33864SEmmanuel Vadot			pinctrl-0 = <&i2c1_pins>;
2566be33864SEmmanuel Vadot			clock-frequency = <400000>;
2576be33864SEmmanuel Vadot			#address-cells = <1>;
2586be33864SEmmanuel Vadot			#size-cells = <0>;
259d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C1>;
2606be33864SEmmanuel Vadot			status = "disabled";
2616be33864SEmmanuel Vadot		};
2626be33864SEmmanuel Vadot
2636be33864SEmmanuel Vadot		i2c2: i2c@28032000 {
2646be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
2656be33864SEmmanuel Vadot			reg = <0 0x28032000 0 0x1000>;
2666be33864SEmmanuel Vadot			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
2676be33864SEmmanuel Vadot			pinctrl-names = "default";
2686be33864SEmmanuel Vadot			pinctrl-0 = <&i2c2_pins>;
2696be33864SEmmanuel Vadot			clock-frequency = <400000>;
2706be33864SEmmanuel Vadot			#address-cells = <1>;
2716be33864SEmmanuel Vadot			#size-cells = <0>;
272d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C2>;
2736be33864SEmmanuel Vadot			status = "disabled";
2746be33864SEmmanuel Vadot		};
2756be33864SEmmanuel Vadot
2766be33864SEmmanuel Vadot		i2c3: i2c@28033000 {
2776be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
2786be33864SEmmanuel Vadot			reg = <0 0x28033000 0 0x1000>;
2796be33864SEmmanuel Vadot			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
2806be33864SEmmanuel Vadot			pinctrl-names = "default";
2816be33864SEmmanuel Vadot			pinctrl-0 = <&i2c3_pins>;
2826be33864SEmmanuel Vadot			clock-frequency = <400000>;
2836be33864SEmmanuel Vadot			#address-cells = <1>;
2846be33864SEmmanuel Vadot			#size-cells = <0>;
285d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C3>;
2866be33864SEmmanuel Vadot			status = "disabled";
2876be33864SEmmanuel Vadot		};
2886be33864SEmmanuel Vadot
2896be33864SEmmanuel Vadot		i2c4: i2c@28034000 {
2906be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
2916be33864SEmmanuel Vadot			reg = <0 0x28034000 0 0x1000>;
2926be33864SEmmanuel Vadot			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
2936be33864SEmmanuel Vadot			pinctrl-names = "default";
2946be33864SEmmanuel Vadot			pinctrl-0 = <&i2c4_pins>;
2956be33864SEmmanuel Vadot			clock-frequency = <400000>;
2966be33864SEmmanuel Vadot			#address-cells = <1>;
2976be33864SEmmanuel Vadot			#size-cells = <0>;
298d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C4>;
2996be33864SEmmanuel Vadot			status = "disabled";
3006be33864SEmmanuel Vadot		};
3016be33864SEmmanuel Vadot
3026be33864SEmmanuel Vadot		i2c5: i2c@28035000 {
3036be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
3046be33864SEmmanuel Vadot			reg = <0 0x28035000 0 0x1000>;
3056be33864SEmmanuel Vadot			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
3066be33864SEmmanuel Vadot			pinctrl-names = "default";
3076be33864SEmmanuel Vadot			pinctrl-0 = <&i2c5_pins>;
3086be33864SEmmanuel Vadot			clock-frequency = <400000>;
3096be33864SEmmanuel Vadot			#address-cells = <1>;
3106be33864SEmmanuel Vadot			#size-cells = <0>;
311d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C5>;
3126be33864SEmmanuel Vadot			status = "disabled";
3136be33864SEmmanuel Vadot		};
3146be33864SEmmanuel Vadot
3156be33864SEmmanuel Vadot		i2c6: i2c@28036000 {
3166be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
3176be33864SEmmanuel Vadot			reg = <0 0x28036000 0 0x1000>;
3186be33864SEmmanuel Vadot			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
3196be33864SEmmanuel Vadot			pinctrl-names = "default";
3206be33864SEmmanuel Vadot			pinctrl-0 = <&i2c6_pins>;
3216be33864SEmmanuel Vadot			clock-frequency = <400000>;
3226be33864SEmmanuel Vadot			#address-cells = <1>;
3236be33864SEmmanuel Vadot			#size-cells = <0>;
324d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C6>;
3256be33864SEmmanuel Vadot			status = "disabled";
3266be33864SEmmanuel Vadot		};
3276be33864SEmmanuel Vadot
3286be33864SEmmanuel Vadot		i2c7: i2c@28037000 {
3296be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
3306be33864SEmmanuel Vadot			reg = <0 0x28037000 0 0x1000>;
3316be33864SEmmanuel Vadot			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
3326be33864SEmmanuel Vadot			pinctrl-names = "default";
3336be33864SEmmanuel Vadot			pinctrl-0 = <&i2c7_pins>;
3346be33864SEmmanuel Vadot			clock-frequency = <400000>;
3356be33864SEmmanuel Vadot			#address-cells = <1>;
3366be33864SEmmanuel Vadot			#size-cells = <0>;
337d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C7>;
3386be33864SEmmanuel Vadot			status = "disabled";
3396be33864SEmmanuel Vadot		};
3406be33864SEmmanuel Vadot
3416be33864SEmmanuel Vadot		i2c8: i2c@28038000 {
3426be33864SEmmanuel Vadot			compatible = "snps,designware-i2c";
3436be33864SEmmanuel Vadot			reg = <0 0x28038000 0 0x1000>;
3446be33864SEmmanuel Vadot			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
3456be33864SEmmanuel Vadot			pinctrl-names = "default";
3466be33864SEmmanuel Vadot			pinctrl-0 = <&i2c8_pins>;
3476be33864SEmmanuel Vadot			clock-frequency = <400000>;
3486be33864SEmmanuel Vadot			#address-cells = <1>;
3496be33864SEmmanuel Vadot			#size-cells = <0>;
350d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PII2C8>;
3516be33864SEmmanuel Vadot			status = "disabled";
3526be33864SEmmanuel Vadot		};
3536be33864SEmmanuel Vadot
3546be33864SEmmanuel Vadot		spi0: spi@28140000 {
3556be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
3566be33864SEmmanuel Vadot			reg = <0 0x28140000 0 0x1000>;
3576be33864SEmmanuel Vadot			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
3586be33864SEmmanuel Vadot			pinctrl-names = "default";
3596be33864SEmmanuel Vadot			pinctrl-0 = <&spi0_pins>;
3606be33864SEmmanuel Vadot			num-cs = <1>;
3616be33864SEmmanuel Vadot			#address-cells = <1>;
3626be33864SEmmanuel Vadot			#size-cells = <0>;
363*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI1>, <&pismu TMPV770X_CLK_PISPI1>;
364*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
3656be33864SEmmanuel Vadot			status = "disabled";
3666be33864SEmmanuel Vadot		};
3676be33864SEmmanuel Vadot
3686be33864SEmmanuel Vadot		spi1: spi@28141000 {
3696be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
3706be33864SEmmanuel Vadot			reg = <0 0x28141000 0 0x1000>;
3716be33864SEmmanuel Vadot			interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
3726be33864SEmmanuel Vadot			pinctrl-names = "default";
3736be33864SEmmanuel Vadot			pinctrl-0 = <&spi1_pins>;
3746be33864SEmmanuel Vadot			num-cs = <1>;
3756be33864SEmmanuel Vadot			#address-cells = <1>;
3766be33864SEmmanuel Vadot			#size-cells = <0>;
377*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI1>, <&pismu TMPV770X_CLK_PISPI1>;
378*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
3796be33864SEmmanuel Vadot			status = "disabled";
3806be33864SEmmanuel Vadot		};
3816be33864SEmmanuel Vadot
3826be33864SEmmanuel Vadot		spi2: spi@28142000 {
3836be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
3846be33864SEmmanuel Vadot			reg = <0 0x28142000 0 0x1000>;
3856be33864SEmmanuel Vadot			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
3866be33864SEmmanuel Vadot			pinctrl-names = "default";
3876be33864SEmmanuel Vadot			pinctrl-0 = <&spi2_pins>;
3886be33864SEmmanuel Vadot			num-cs = <1>;
3896be33864SEmmanuel Vadot			#address-cells = <1>;
3906be33864SEmmanuel Vadot			#size-cells = <0>;
391*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI2>, <&pismu TMPV770X_CLK_PISPI2>;
392*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
3936be33864SEmmanuel Vadot			status = "disabled";
3946be33864SEmmanuel Vadot		};
3956be33864SEmmanuel Vadot
3966be33864SEmmanuel Vadot		spi3: spi@28143000 {
3976be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
3986be33864SEmmanuel Vadot			reg = <0 0x28143000 0 0x1000>;
3996be33864SEmmanuel Vadot			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
4006be33864SEmmanuel Vadot			pinctrl-names = "default";
4016be33864SEmmanuel Vadot			pinctrl-0 = <&spi3_pins>;
4026be33864SEmmanuel Vadot			num-cs = <1>;
4036be33864SEmmanuel Vadot			#address-cells = <1>;
4046be33864SEmmanuel Vadot			#size-cells = <0>;
405*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI3>, <&pismu TMPV770X_CLK_PISPI3>;
406*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
4076be33864SEmmanuel Vadot			status = "disabled";
4086be33864SEmmanuel Vadot		};
4096be33864SEmmanuel Vadot
4106be33864SEmmanuel Vadot		spi4: spi@28144000 {
4116be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
4126be33864SEmmanuel Vadot			reg = <0 0x28144000 0 0x1000>;
4136be33864SEmmanuel Vadot			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
4146be33864SEmmanuel Vadot			pinctrl-names = "default";
4156be33864SEmmanuel Vadot			pinctrl-0 = <&spi4_pins>;
4166be33864SEmmanuel Vadot			num-cs = <1>;
4176be33864SEmmanuel Vadot			#address-cells = <1>;
4186be33864SEmmanuel Vadot			#size-cells = <0>;
419*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI4>, <&pismu TMPV770X_CLK_PISPI4>;
420*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
4216be33864SEmmanuel Vadot			status = "disabled";
4226be33864SEmmanuel Vadot		};
4236be33864SEmmanuel Vadot
4246be33864SEmmanuel Vadot		spi5: spi@28145000 {
4256be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
4266be33864SEmmanuel Vadot			reg = <0 0x28145000 0 0x1000>;
4276be33864SEmmanuel Vadot			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
4286be33864SEmmanuel Vadot			pinctrl-names = "default";
4296be33864SEmmanuel Vadot			pinctrl-0 = <&spi5_pins>;
4306be33864SEmmanuel Vadot			num-cs = <1>;
4316be33864SEmmanuel Vadot			#address-cells = <1>;
4326be33864SEmmanuel Vadot			#size-cells = <0>;
433*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI5>, <&pismu TMPV770X_CLK_PISPI5>;
434*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
4356be33864SEmmanuel Vadot			status = "disabled";
4366be33864SEmmanuel Vadot		};
4376be33864SEmmanuel Vadot
4386be33864SEmmanuel Vadot		spi6: spi@28146000 {
4396be33864SEmmanuel Vadot			compatible = "arm,pl022", "arm,primecell";
4406be33864SEmmanuel Vadot			reg = <0 0x28146000 0 0x1000>;
4416be33864SEmmanuel Vadot			interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
4426be33864SEmmanuel Vadot			pinctrl-names = "default";
4436be33864SEmmanuel Vadot			pinctrl-0 = <&spi6_pins>;
4446be33864SEmmanuel Vadot			num-cs = <1>;
4456be33864SEmmanuel Vadot			#address-cells = <1>;
4466be33864SEmmanuel Vadot			#size-cells = <0>;
447*b2d2a78aSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PISPI6>, <&pismu TMPV770X_CLK_PISPI6>;
448*b2d2a78aSEmmanuel Vadot			clock-names = "sspclk", "apb_pclk";
4496be33864SEmmanuel Vadot			status = "disabled";
4506be33864SEmmanuel Vadot		};
4515def4c47SEmmanuel Vadot
4525def4c47SEmmanuel Vadot		piether: ethernet@28000000 {
4535def4c47SEmmanuel Vadot			compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
4545def4c47SEmmanuel Vadot			reg = <0 0x28000000 0 0x10000>;
4555def4c47SEmmanuel Vadot			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
4565def4c47SEmmanuel Vadot			interrupt-names = "macirq";
4575def4c47SEmmanuel Vadot			snps,txpbl = <4>;
4585def4c47SEmmanuel Vadot			snps,rxpbl = <4>;
4595def4c47SEmmanuel Vadot			snps,tso;
460d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>;
461d5b0e70fSEmmanuel Vadot			clock-names = "stmmaceth", "phy_ref_clk";
4625def4c47SEmmanuel Vadot			status = "disabled";
4635def4c47SEmmanuel Vadot		};
4645def4c47SEmmanuel Vadot
4655def4c47SEmmanuel Vadot		wdt: wdt@28330000 {
4665def4c47SEmmanuel Vadot			compatible = "toshiba,visconti-wdt";
4675def4c47SEmmanuel Vadot			reg = <0 0x28330000 0 0x1000>;
468d5b0e70fSEmmanuel Vadot			clocks = <&pismu TMPV770X_CLK_WDTCLK>;
4695def4c47SEmmanuel Vadot			status = "disabled";
4705def4c47SEmmanuel Vadot		};
4715956d97fSEmmanuel Vadot
4725956d97fSEmmanuel Vadot		pwm: pwm@241c0000 {
4735956d97fSEmmanuel Vadot			compatible = "toshiba,visconti-pwm";
4745956d97fSEmmanuel Vadot			reg = <0 0x241c0000 0 0x1000>;
4755956d97fSEmmanuel Vadot			pinctrl-names = "default";
4765956d97fSEmmanuel Vadot			pinctrl-0 = <&pwm_mux>;
4775956d97fSEmmanuel Vadot			#pwm-cells = <2>;
4785956d97fSEmmanuel Vadot			status = "disabled";
4795956d97fSEmmanuel Vadot		};
4808cc087a1SEmmanuel Vadot
4818cc087a1SEmmanuel Vadot		pcie: pcie@28400000 {
4828cc087a1SEmmanuel Vadot			compatible = "toshiba,visconti-pcie";
4838cc087a1SEmmanuel Vadot			reg = <0x0 0x28400000 0x0 0x00400000>,
4848cc087a1SEmmanuel Vadot			      <0x0 0x70000000 0x0 0x10000000>,
4858cc087a1SEmmanuel Vadot			      <0x0 0x28050000 0x0 0x00010000>,
4868cc087a1SEmmanuel Vadot			      <0x0 0x24200000 0x0 0x00002000>,
4878cc087a1SEmmanuel Vadot			      <0x0 0x24162000 0x0 0x00001000>;
4888cc087a1SEmmanuel Vadot			reg-names = "dbi", "config", "ulreg", "smu", "mpu";
4898cc087a1SEmmanuel Vadot			device_type = "pci";
4908cc087a1SEmmanuel Vadot			bus-range = <0x00 0xff>;
4918cc087a1SEmmanuel Vadot			num-lanes = <2>;
4928cc087a1SEmmanuel Vadot			num-viewport = <8>;
4938cc087a1SEmmanuel Vadot
4948cc087a1SEmmanuel Vadot			#address-cells = <3>;
4958cc087a1SEmmanuel Vadot			#size-cells = <2>;
4968cc087a1SEmmanuel Vadot			#interrupt-cells = <1>;
4978cc087a1SEmmanuel Vadot			ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000
4988cc087a1SEmmanuel Vadot				  0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
4998cc087a1SEmmanuel Vadot			interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
5008cc087a1SEmmanuel Vadot				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5018cc087a1SEmmanuel Vadot			interrupt-names = "msi", "intr";
5028cc087a1SEmmanuel Vadot			interrupt-map-mask = <0 0 0 7>;
5038cc087a1SEmmanuel Vadot			interrupt-map =
5048cc087a1SEmmanuel Vadot				<0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5058cc087a1SEmmanuel Vadot				 0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5068cc087a1SEmmanuel Vadot				 0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5078cc087a1SEmmanuel Vadot				 0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5088cc087a1SEmmanuel Vadot			max-link-speed = <2>;
509d5b0e70fSEmmanuel Vadot			clocks = <&extclk100mhz>, <&pismu TMPV770X_CLK_PCIE_MSTR>, <&pismu TMPV770X_CLK_PCIE_AUX>;
510d5b0e70fSEmmanuel Vadot			clock-names = "ref", "core", "aux";
5118cc087a1SEmmanuel Vadot			status = "disabled";
5128cc087a1SEmmanuel Vadot		};
5136be33864SEmmanuel Vadot	};
5146be33864SEmmanuel Vadot};
5156be33864SEmmanuel Vadot
5166be33864SEmmanuel Vadot#include "tmpv7708_pins.dtsi"
517