148dea9a7SNobuhiro Iwamatsu// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
248dea9a7SNobuhiro Iwamatsu/*
348dea9a7SNobuhiro Iwamatsu * Device Tree Source for the TMPV7708
448dea9a7SNobuhiro Iwamatsu *
548dea9a7SNobuhiro Iwamatsu * (C) Copyright 2018 - 2020, Toshiba Corporation.
648dea9a7SNobuhiro Iwamatsu * (C) Copyright 2020, Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp>
748dea9a7SNobuhiro Iwamatsu *
848dea9a7SNobuhiro Iwamatsu */
948dea9a7SNobuhiro Iwamatsu
1034f7c6e7SNobuhiro Iwamatsu#include <dt-bindings/clock/toshiba,tmpv770x.h>
1148dea9a7SNobuhiro Iwamatsu#include <dt-bindings/interrupt-controller/irq.h>
1248dea9a7SNobuhiro Iwamatsu#include <dt-bindings/interrupt-controller/arm-gic.h>
1348dea9a7SNobuhiro Iwamatsu
1448dea9a7SNobuhiro Iwamatsu/memreserve/ 0x81000000 0x00300000;	/* cpu-release-addr */
1548dea9a7SNobuhiro Iwamatsu
1648dea9a7SNobuhiro Iwamatsu/ {
1748dea9a7SNobuhiro Iwamatsu	compatible = "toshiba,tmpv7708";
1848dea9a7SNobuhiro Iwamatsu	#address-cells = <2>;
1948dea9a7SNobuhiro Iwamatsu	#size-cells = <2>;
2048dea9a7SNobuhiro Iwamatsu
2148dea9a7SNobuhiro Iwamatsu	cpus {
2248dea9a7SNobuhiro Iwamatsu		#address-cells = <1>;
2348dea9a7SNobuhiro Iwamatsu		#size-cells = <0>;
2448dea9a7SNobuhiro Iwamatsu
2548dea9a7SNobuhiro Iwamatsu		cpu-map {
2648dea9a7SNobuhiro Iwamatsu			cluster0 {
2748dea9a7SNobuhiro Iwamatsu				core0 {
2848dea9a7SNobuhiro Iwamatsu					cpu = <&cpu0>;
2948dea9a7SNobuhiro Iwamatsu				};
3048dea9a7SNobuhiro Iwamatsu				core1 {
3148dea9a7SNobuhiro Iwamatsu					cpu = <&cpu1>;
3248dea9a7SNobuhiro Iwamatsu				};
3348dea9a7SNobuhiro Iwamatsu				core2 {
3448dea9a7SNobuhiro Iwamatsu					cpu = <&cpu2>;
3548dea9a7SNobuhiro Iwamatsu				};
3648dea9a7SNobuhiro Iwamatsu				core3 {
3748dea9a7SNobuhiro Iwamatsu					cpu = <&cpu3>;
3848dea9a7SNobuhiro Iwamatsu				};
3948dea9a7SNobuhiro Iwamatsu			};
4048dea9a7SNobuhiro Iwamatsu
4148dea9a7SNobuhiro Iwamatsu			cluster1 {
4248dea9a7SNobuhiro Iwamatsu				core0 {
4348dea9a7SNobuhiro Iwamatsu					cpu = <&cpu4>;
4448dea9a7SNobuhiro Iwamatsu				};
4548dea9a7SNobuhiro Iwamatsu				core1 {
4648dea9a7SNobuhiro Iwamatsu					cpu = <&cpu5>;
4748dea9a7SNobuhiro Iwamatsu				};
4848dea9a7SNobuhiro Iwamatsu				core2 {
4948dea9a7SNobuhiro Iwamatsu					cpu = <&cpu6>;
5048dea9a7SNobuhiro Iwamatsu				};
5148dea9a7SNobuhiro Iwamatsu				core3 {
5248dea9a7SNobuhiro Iwamatsu					cpu = <&cpu7>;
5348dea9a7SNobuhiro Iwamatsu				};
5448dea9a7SNobuhiro Iwamatsu			};
5548dea9a7SNobuhiro Iwamatsu		};
5648dea9a7SNobuhiro Iwamatsu
5748dea9a7SNobuhiro Iwamatsu		cpu0: cpu@0 {
5848dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
5948dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
6048dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
6148dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
6248dea9a7SNobuhiro Iwamatsu			reg = <0x00>;
6348dea9a7SNobuhiro Iwamatsu		};
6448dea9a7SNobuhiro Iwamatsu
6548dea9a7SNobuhiro Iwamatsu		cpu1: cpu@1 {
6648dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
6748dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
6848dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
6948dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
7048dea9a7SNobuhiro Iwamatsu			reg = <0x01>;
7148dea9a7SNobuhiro Iwamatsu		};
7248dea9a7SNobuhiro Iwamatsu
7348dea9a7SNobuhiro Iwamatsu		cpu2: cpu@2 {
7448dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
7548dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
7648dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
7748dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
7848dea9a7SNobuhiro Iwamatsu			reg = <0x02>;
7948dea9a7SNobuhiro Iwamatsu		};
8048dea9a7SNobuhiro Iwamatsu
8148dea9a7SNobuhiro Iwamatsu		cpu3: cpu@3 {
8248dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
8348dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
8448dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
8548dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
8648dea9a7SNobuhiro Iwamatsu			reg = <0x03>;
8748dea9a7SNobuhiro Iwamatsu		};
8848dea9a7SNobuhiro Iwamatsu
8948dea9a7SNobuhiro Iwamatsu		cpu4: cpu@100 {
9048dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
9148dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
9248dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
9348dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
9448dea9a7SNobuhiro Iwamatsu			reg = <0x100>;
9548dea9a7SNobuhiro Iwamatsu		};
9648dea9a7SNobuhiro Iwamatsu
9748dea9a7SNobuhiro Iwamatsu		cpu5: cpu@101 {
9848dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
9948dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
10048dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
10148dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
10248dea9a7SNobuhiro Iwamatsu			reg = <0x101>;
10348dea9a7SNobuhiro Iwamatsu		};
10448dea9a7SNobuhiro Iwamatsu
10548dea9a7SNobuhiro Iwamatsu		cpu6: cpu@102 {
10648dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
10748dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
10848dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
10948dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
11048dea9a7SNobuhiro Iwamatsu			reg = <0x102>;
11148dea9a7SNobuhiro Iwamatsu		};
11248dea9a7SNobuhiro Iwamatsu
11348dea9a7SNobuhiro Iwamatsu		cpu7: cpu@103 {
11448dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
11548dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
11648dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
11748dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
11848dea9a7SNobuhiro Iwamatsu			reg = <0x103>;
11948dea9a7SNobuhiro Iwamatsu		};
12048dea9a7SNobuhiro Iwamatsu	};
12148dea9a7SNobuhiro Iwamatsu
12248dea9a7SNobuhiro Iwamatsu	timer {
12348dea9a7SNobuhiro Iwamatsu		compatible = "arm,armv8-timer";
12448dea9a7SNobuhiro Iwamatsu		interrupt-parent = <&gic>;
12548dea9a7SNobuhiro Iwamatsu		interrupts =
12648dea9a7SNobuhiro Iwamatsu			<GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12748dea9a7SNobuhiro Iwamatsu			<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12848dea9a7SNobuhiro Iwamatsu			<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12948dea9a7SNobuhiro Iwamatsu			<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
13048dea9a7SNobuhiro Iwamatsu	};
13148dea9a7SNobuhiro Iwamatsu
1326beeaf48SNobuhiro Iwamatsu	clk25mhz: clk25mhz {
1336beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1346beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1356beeaf48SNobuhiro Iwamatsu		clock-frequency = <25000000>;
1366beeaf48SNobuhiro Iwamatsu		clock-output-names = "clk25mhz";
1376beeaf48SNobuhiro Iwamatsu	};
1386beeaf48SNobuhiro Iwamatsu
1396beeaf48SNobuhiro Iwamatsu	clk600mhz: clk600mhz {
1406beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1416beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1426beeaf48SNobuhiro Iwamatsu		clock-frequency = <600000000>;
1436beeaf48SNobuhiro Iwamatsu		clock-output-names = "clk600mhz";
1446beeaf48SNobuhiro Iwamatsu	};
1456beeaf48SNobuhiro Iwamatsu
1466beeaf48SNobuhiro Iwamatsu	extclk100mhz: extclk100mhz {
1476beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1486beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1496beeaf48SNobuhiro Iwamatsu		clock-frequency = <100000000>;
1506beeaf48SNobuhiro Iwamatsu		clock-output-names = "extclk100mhz";
1516beeaf48SNobuhiro Iwamatsu	};
1526beeaf48SNobuhiro Iwamatsu
15334f7c6e7SNobuhiro Iwamatsu	osc2_clk: osc2-clk {
15434f7c6e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
15534f7c6e7SNobuhiro Iwamatsu		clock-frequency = <20000000>;
15634f7c6e7SNobuhiro Iwamatsu		#clock-cells = <0>;
15734f7c6e7SNobuhiro Iwamatsu	};
15834f7c6e7SNobuhiro Iwamatsu
15948dea9a7SNobuhiro Iwamatsu	soc {
16048dea9a7SNobuhiro Iwamatsu		#address-cells = <2>;
16148dea9a7SNobuhiro Iwamatsu		#size-cells = <2>;
16248dea9a7SNobuhiro Iwamatsu		compatible = "simple-bus";
16348dea9a7SNobuhiro Iwamatsu		interrupt-parent = <&gic>;
16448dea9a7SNobuhiro Iwamatsu		ranges;
16548dea9a7SNobuhiro Iwamatsu
16648dea9a7SNobuhiro Iwamatsu		gic: interrupt-controller@24001000 {
16748dea9a7SNobuhiro Iwamatsu			compatible = "arm,gic-400";
16848dea9a7SNobuhiro Iwamatsu			interrupt-controller;
16948dea9a7SNobuhiro Iwamatsu			#interrupt-cells = <3>;
17048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
17148dea9a7SNobuhiro Iwamatsu			reg = <0 0x24001000 0 0x1000>,
17248dea9a7SNobuhiro Iwamatsu			      <0 0x24002000 0 0x2000>,
17348dea9a7SNobuhiro Iwamatsu			      <0 0x24004000 0 0x2000>,
17448dea9a7SNobuhiro Iwamatsu			      <0 0x24006000 0 0x2000>;
17548dea9a7SNobuhiro Iwamatsu		};
17648dea9a7SNobuhiro Iwamatsu
17748dea9a7SNobuhiro Iwamatsu		pmux: pmux@24190000 {
17848dea9a7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pinctrl";
17948dea9a7SNobuhiro Iwamatsu			reg = <0 0x24190000 0 0x10000>;
18048dea9a7SNobuhiro Iwamatsu		};
18148dea9a7SNobuhiro Iwamatsu
1820109a175SNobuhiro Iwamatsu		gpio: gpio@28020000 {
1830109a175SNobuhiro Iwamatsu			compatible = "toshiba,gpio-tmpv7708";
1840109a175SNobuhiro Iwamatsu			reg = <0 0x28020000 0 0x1000>;
1850109a175SNobuhiro Iwamatsu			#gpio-cells = <0x2>;
1860109a175SNobuhiro Iwamatsu			gpio-ranges = <&pmux 0 0 32>;
1870109a175SNobuhiro Iwamatsu			gpio-controller;
1880109a175SNobuhiro Iwamatsu			interrupt-controller;
1890109a175SNobuhiro Iwamatsu			#interrupt-cells = <2>;
1900109a175SNobuhiro Iwamatsu			interrupt-parent = <&gic>;
1910109a175SNobuhiro Iwamatsu		};
1920109a175SNobuhiro Iwamatsu
19334f7c6e7SNobuhiro Iwamatsu		pipllct: clock-controller@24220000 {
19434f7c6e7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pipllct";
19534f7c6e7SNobuhiro Iwamatsu			reg = <0 0x24220000 0 0x820>;
19634f7c6e7SNobuhiro Iwamatsu			#clock-cells = <1>;
19734f7c6e7SNobuhiro Iwamatsu			clocks = <&osc2_clk>;
19834f7c6e7SNobuhiro Iwamatsu		};
19934f7c6e7SNobuhiro Iwamatsu
20034f7c6e7SNobuhiro Iwamatsu		pismu: syscon@24200000 {
20134f7c6e7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pismu", "syscon";
20234f7c6e7SNobuhiro Iwamatsu			reg = <0 0x24200000 0 0x2140>;
20334f7c6e7SNobuhiro Iwamatsu			#clock-cells = <1>;
20434f7c6e7SNobuhiro Iwamatsu			#reset-cells = <1>;
20534f7c6e7SNobuhiro Iwamatsu		};
20634f7c6e7SNobuhiro Iwamatsu
20748dea9a7SNobuhiro Iwamatsu		uart0: serial@28200000 {
20848dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
20948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28200000 0 0x1000>;
21048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
21148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
21248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart0_pins>;
21343740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART0>;
21443740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
21548dea9a7SNobuhiro Iwamatsu			status = "disabled";
21648dea9a7SNobuhiro Iwamatsu		};
21748dea9a7SNobuhiro Iwamatsu
21848dea9a7SNobuhiro Iwamatsu		uart1: serial@28201000 {
21948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
22048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28201000 0 0x1000>;
22148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
22248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
22348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart1_pins>;
22443740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART1>;
22543740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
22648dea9a7SNobuhiro Iwamatsu			status = "disabled";
22748dea9a7SNobuhiro Iwamatsu		};
22848dea9a7SNobuhiro Iwamatsu
22948dea9a7SNobuhiro Iwamatsu		uart2: serial@28202000 {
23048dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
23148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28202000 0 0x1000>;
23248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
23348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
23448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart2_pins>;
23543740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART2>;
23643740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
23748dea9a7SNobuhiro Iwamatsu			status = "disabled";
23848dea9a7SNobuhiro Iwamatsu		};
23948dea9a7SNobuhiro Iwamatsu
24048dea9a7SNobuhiro Iwamatsu		uart3: serial@28203000 {
24148dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
24248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28203000 0 0x1000>;
24348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
24448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
24548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart3_pins>;
24643740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART2>;
24743740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
24848dea9a7SNobuhiro Iwamatsu			status = "disabled";
24948dea9a7SNobuhiro Iwamatsu		};
25048dea9a7SNobuhiro Iwamatsu
25148dea9a7SNobuhiro Iwamatsu		i2c0: i2c@28030000 {
25248dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
25348dea9a7SNobuhiro Iwamatsu			reg = <0 0x28030000 0 0x1000>;
25448dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
25548dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
25648dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c0_pins>;
25748dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
25848dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
25948dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
2600e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C0>;
26148dea9a7SNobuhiro Iwamatsu			status = "disabled";
26248dea9a7SNobuhiro Iwamatsu		};
26348dea9a7SNobuhiro Iwamatsu
26448dea9a7SNobuhiro Iwamatsu		i2c1: i2c@28031000 {
26548dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
26648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28031000 0 0x1000>;
26748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
26848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
26948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c1_pins>;
27048dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
27148dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
27248dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
2730e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C1>;
27448dea9a7SNobuhiro Iwamatsu			status = "disabled";
27548dea9a7SNobuhiro Iwamatsu		};
27648dea9a7SNobuhiro Iwamatsu
27748dea9a7SNobuhiro Iwamatsu		i2c2: i2c@28032000 {
27848dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
27948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28032000 0 0x1000>;
28048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
28148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
28248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c2_pins>;
28348dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
28448dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
28548dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
2860e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C2>;
28748dea9a7SNobuhiro Iwamatsu			status = "disabled";
28848dea9a7SNobuhiro Iwamatsu		};
28948dea9a7SNobuhiro Iwamatsu
29048dea9a7SNobuhiro Iwamatsu		i2c3: i2c@28033000 {
29148dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
29248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28033000 0 0x1000>;
29348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
29448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
29548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c3_pins>;
29648dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
29748dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
29848dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
2990e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C3>;
30048dea9a7SNobuhiro Iwamatsu			status = "disabled";
30148dea9a7SNobuhiro Iwamatsu		};
30248dea9a7SNobuhiro Iwamatsu
30348dea9a7SNobuhiro Iwamatsu		i2c4: i2c@28034000 {
30448dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
30548dea9a7SNobuhiro Iwamatsu			reg = <0 0x28034000 0 0x1000>;
30648dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
30748dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
30848dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c4_pins>;
30948dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
31048dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
31148dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
3120e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C4>;
31348dea9a7SNobuhiro Iwamatsu			status = "disabled";
31448dea9a7SNobuhiro Iwamatsu		};
31548dea9a7SNobuhiro Iwamatsu
31648dea9a7SNobuhiro Iwamatsu		i2c5: i2c@28035000 {
31748dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
31848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28035000 0 0x1000>;
31948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
32048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
32148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c5_pins>;
32248dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
32348dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
32448dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
3250e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C5>;
32648dea9a7SNobuhiro Iwamatsu			status = "disabled";
32748dea9a7SNobuhiro Iwamatsu		};
32848dea9a7SNobuhiro Iwamatsu
32948dea9a7SNobuhiro Iwamatsu		i2c6: i2c@28036000 {
33048dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
33148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28036000 0 0x1000>;
33248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
33348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
33448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c6_pins>;
33548dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
33648dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
33748dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
3380e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C6>;
33948dea9a7SNobuhiro Iwamatsu			status = "disabled";
34048dea9a7SNobuhiro Iwamatsu		};
34148dea9a7SNobuhiro Iwamatsu
34248dea9a7SNobuhiro Iwamatsu		i2c7: i2c@28037000 {
34348dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
34448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28037000 0 0x1000>;
34548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
34648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
34748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c7_pins>;
34848dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
34948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
35048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
3510e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C7>;
35248dea9a7SNobuhiro Iwamatsu			status = "disabled";
35348dea9a7SNobuhiro Iwamatsu		};
35448dea9a7SNobuhiro Iwamatsu
35548dea9a7SNobuhiro Iwamatsu		i2c8: i2c@28038000 {
35648dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
35748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28038000 0 0x1000>;
35848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
35948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
36048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c8_pins>;
36148dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
36248dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
36348dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
3640e7cd439SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PII2C8>;
36548dea9a7SNobuhiro Iwamatsu			status = "disabled";
36648dea9a7SNobuhiro Iwamatsu		};
36748dea9a7SNobuhiro Iwamatsu
36848dea9a7SNobuhiro Iwamatsu		spi0: spi@28140000 {
36948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
37048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28140000 0 0x1000>;
37148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
37248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
37348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi0_pins>;
37448dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
37548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
37648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
377340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI1>;
378340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
37948dea9a7SNobuhiro Iwamatsu			status = "disabled";
38048dea9a7SNobuhiro Iwamatsu		};
38148dea9a7SNobuhiro Iwamatsu
38248dea9a7SNobuhiro Iwamatsu		spi1: spi@28141000 {
38348dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
38448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28141000 0 0x1000>;
38548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
38648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
38748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi1_pins>;
38848dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
38948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
39048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
391340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI1>;
392340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
39348dea9a7SNobuhiro Iwamatsu			status = "disabled";
39448dea9a7SNobuhiro Iwamatsu		};
39548dea9a7SNobuhiro Iwamatsu
39648dea9a7SNobuhiro Iwamatsu		spi2: spi@28142000 {
39748dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
39848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28142000 0 0x1000>;
39948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
40048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
40148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi2_pins>;
40248dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
40348dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
40448dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
405340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI2>;
406340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
40748dea9a7SNobuhiro Iwamatsu			status = "disabled";
40848dea9a7SNobuhiro Iwamatsu		};
40948dea9a7SNobuhiro Iwamatsu
41048dea9a7SNobuhiro Iwamatsu		spi3: spi@28143000 {
41148dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
41248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28143000 0 0x1000>;
41348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
41448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
41548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi3_pins>;
41648dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
41748dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
41848dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
419340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI3>;
420340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
42148dea9a7SNobuhiro Iwamatsu			status = "disabled";
42248dea9a7SNobuhiro Iwamatsu		};
42348dea9a7SNobuhiro Iwamatsu
42448dea9a7SNobuhiro Iwamatsu		spi4: spi@28144000 {
42548dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
42648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28144000 0 0x1000>;
42748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
42848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
42948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi4_pins>;
43048dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
43148dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
43248dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
433340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI4>;
434340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
43548dea9a7SNobuhiro Iwamatsu			status = "disabled";
43648dea9a7SNobuhiro Iwamatsu		};
43748dea9a7SNobuhiro Iwamatsu
43848dea9a7SNobuhiro Iwamatsu		spi5: spi@28145000 {
43948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
44048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28145000 0 0x1000>;
44148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
44248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
44348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi5_pins>;
44448dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
44548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
44648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
447340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI5>;
448340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
44948dea9a7SNobuhiro Iwamatsu			status = "disabled";
45048dea9a7SNobuhiro Iwamatsu		};
45148dea9a7SNobuhiro Iwamatsu
45248dea9a7SNobuhiro Iwamatsu		spi6: spi@28146000 {
45348dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
45448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28146000 0 0x1000>;
45548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
45648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
45748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi6_pins>;
45848dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
45948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
46048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
461340657b1SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PISPI6>;
462340657b1SNobuhiro Iwamatsu			clock-names = "apb_pclk";
46348dea9a7SNobuhiro Iwamatsu			status = "disabled";
46448dea9a7SNobuhiro Iwamatsu		};
465ec8a42e7SNobuhiro Iwamatsu
466ec8a42e7SNobuhiro Iwamatsu		piether: ethernet@28000000 {
467ec8a42e7SNobuhiro Iwamatsu			compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
468ec8a42e7SNobuhiro Iwamatsu			reg = <0 0x28000000 0 0x10000>;
469ec8a42e7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
470ec8a42e7SNobuhiro Iwamatsu			interrupt-names = "macirq";
471ec8a42e7SNobuhiro Iwamatsu			snps,txpbl = <4>;
472ec8a42e7SNobuhiro Iwamatsu			snps,rxpbl = <4>;
473ec8a42e7SNobuhiro Iwamatsu			snps,tso;
474*c8a93f91SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>;
475*c8a93f91SNobuhiro Iwamatsu			clock-names = "stmmaceth", "phy_ref_clk";
476ec8a42e7SNobuhiro Iwamatsu			status = "disabled";
477ec8a42e7SNobuhiro Iwamatsu		};
47882851fceSLinus Torvalds
4794fd18fc3SNobuhiro Iwamatsu		wdt: wdt@28330000 {
4804fd18fc3SNobuhiro Iwamatsu			compatible = "toshiba,visconti-wdt";
4814fd18fc3SNobuhiro Iwamatsu			reg = <0 0x28330000 0 0x1000>;
48227b75490SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_WDTCLK>;
4834fd18fc3SNobuhiro Iwamatsu			status = "disabled";
4844fd18fc3SNobuhiro Iwamatsu		};
485172cdcaeSNobuhiro Iwamatsu
486172cdcaeSNobuhiro Iwamatsu		pwm: pwm@241c0000 {
487172cdcaeSNobuhiro Iwamatsu			compatible = "toshiba,visconti-pwm";
488172cdcaeSNobuhiro Iwamatsu			reg = <0 0x241c0000 0 0x1000>;
489172cdcaeSNobuhiro Iwamatsu			pinctrl-names = "default";
490172cdcaeSNobuhiro Iwamatsu			pinctrl-0 = <&pwm_mux>;
491172cdcaeSNobuhiro Iwamatsu			#pwm-cells = <2>;
492172cdcaeSNobuhiro Iwamatsu			status = "disabled";
493172cdcaeSNobuhiro Iwamatsu		};
4946beeaf48SNobuhiro Iwamatsu
4956beeaf48SNobuhiro Iwamatsu		pcie: pcie@28400000 {
4966beeaf48SNobuhiro Iwamatsu			compatible = "toshiba,visconti-pcie";
4976beeaf48SNobuhiro Iwamatsu			reg = <0x0 0x28400000 0x0 0x00400000>,
4986beeaf48SNobuhiro Iwamatsu			      <0x0 0x70000000 0x0 0x10000000>,
4996beeaf48SNobuhiro Iwamatsu			      <0x0 0x28050000 0x0 0x00010000>,
5006beeaf48SNobuhiro Iwamatsu			      <0x0 0x24200000 0x0 0x00002000>,
5016beeaf48SNobuhiro Iwamatsu			      <0x0 0x24162000 0x0 0x00001000>;
5026beeaf48SNobuhiro Iwamatsu			reg-names  = "dbi", "config", "ulreg", "smu", "mpu";
5036beeaf48SNobuhiro Iwamatsu			device_type = "pci";
5046beeaf48SNobuhiro Iwamatsu			bus-range = <0x00 0xff>;
5056beeaf48SNobuhiro Iwamatsu			num-lanes = <2>;
5066beeaf48SNobuhiro Iwamatsu			num-viewport = <8>;
5076beeaf48SNobuhiro Iwamatsu
5086beeaf48SNobuhiro Iwamatsu			#address-cells = <3>;
5096beeaf48SNobuhiro Iwamatsu			#size-cells = <2>;
5106beeaf48SNobuhiro Iwamatsu			#interrupt-cells = <1>;
5116beeaf48SNobuhiro Iwamatsu			ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000
5126beeaf48SNobuhiro Iwamatsu				  0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
5136beeaf48SNobuhiro Iwamatsu			interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
5146beeaf48SNobuhiro Iwamatsu				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5156beeaf48SNobuhiro Iwamatsu			interrupt-names = "msi", "intr";
5166beeaf48SNobuhiro Iwamatsu			interrupt-map-mask = <0 0 0 7>;
5176beeaf48SNobuhiro Iwamatsu			interrupt-map =
5186beeaf48SNobuhiro Iwamatsu				<0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5196beeaf48SNobuhiro Iwamatsu				 0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5206beeaf48SNobuhiro Iwamatsu				 0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5216beeaf48SNobuhiro Iwamatsu				 0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5226beeaf48SNobuhiro Iwamatsu			max-link-speed = <2>;
5236beeaf48SNobuhiro Iwamatsu			status = "disabled";
5246beeaf48SNobuhiro Iwamatsu		};
52548dea9a7SNobuhiro Iwamatsu	};
52648dea9a7SNobuhiro Iwamatsu};
52748dea9a7SNobuhiro Iwamatsu
52848dea9a7SNobuhiro Iwamatsu#include "tmpv7708_pins.dtsi"
529