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
1048dea9a7SNobuhiro Iwamatsu#include <dt-bindings/interrupt-controller/irq.h>
1148dea9a7SNobuhiro Iwamatsu#include <dt-bindings/interrupt-controller/arm-gic.h>
1248dea9a7SNobuhiro Iwamatsu
1348dea9a7SNobuhiro Iwamatsu/memreserve/ 0x81000000 0x00300000;	/* cpu-release-addr */
1448dea9a7SNobuhiro Iwamatsu
1548dea9a7SNobuhiro Iwamatsu/ {
1648dea9a7SNobuhiro Iwamatsu	compatible = "toshiba,tmpv7708";
1748dea9a7SNobuhiro Iwamatsu	#address-cells = <2>;
1848dea9a7SNobuhiro Iwamatsu	#size-cells = <2>;
1948dea9a7SNobuhiro Iwamatsu
2048dea9a7SNobuhiro Iwamatsu	cpus {
2148dea9a7SNobuhiro Iwamatsu		#address-cells = <1>;
2248dea9a7SNobuhiro Iwamatsu		#size-cells = <0>;
2348dea9a7SNobuhiro Iwamatsu
2448dea9a7SNobuhiro Iwamatsu		cpu-map {
2548dea9a7SNobuhiro Iwamatsu			cluster0 {
2648dea9a7SNobuhiro Iwamatsu				core0 {
2748dea9a7SNobuhiro Iwamatsu					cpu = <&cpu0>;
2848dea9a7SNobuhiro Iwamatsu				};
2948dea9a7SNobuhiro Iwamatsu				core1 {
3048dea9a7SNobuhiro Iwamatsu					cpu = <&cpu1>;
3148dea9a7SNobuhiro Iwamatsu				};
3248dea9a7SNobuhiro Iwamatsu				core2 {
3348dea9a7SNobuhiro Iwamatsu					cpu = <&cpu2>;
3448dea9a7SNobuhiro Iwamatsu				};
3548dea9a7SNobuhiro Iwamatsu				core3 {
3648dea9a7SNobuhiro Iwamatsu					cpu = <&cpu3>;
3748dea9a7SNobuhiro Iwamatsu				};
3848dea9a7SNobuhiro Iwamatsu			};
3948dea9a7SNobuhiro Iwamatsu
4048dea9a7SNobuhiro Iwamatsu			cluster1 {
4148dea9a7SNobuhiro Iwamatsu				core0 {
4248dea9a7SNobuhiro Iwamatsu					cpu = <&cpu4>;
4348dea9a7SNobuhiro Iwamatsu				};
4448dea9a7SNobuhiro Iwamatsu				core1 {
4548dea9a7SNobuhiro Iwamatsu					cpu = <&cpu5>;
4648dea9a7SNobuhiro Iwamatsu				};
4748dea9a7SNobuhiro Iwamatsu				core2 {
4848dea9a7SNobuhiro Iwamatsu					cpu = <&cpu6>;
4948dea9a7SNobuhiro Iwamatsu				};
5048dea9a7SNobuhiro Iwamatsu				core3 {
5148dea9a7SNobuhiro Iwamatsu					cpu = <&cpu7>;
5248dea9a7SNobuhiro Iwamatsu				};
5348dea9a7SNobuhiro Iwamatsu			};
5448dea9a7SNobuhiro Iwamatsu		};
5548dea9a7SNobuhiro Iwamatsu
5648dea9a7SNobuhiro Iwamatsu		cpu0: cpu@0 {
5748dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
5848dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
5948dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
6048dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
6148dea9a7SNobuhiro Iwamatsu			reg = <0x00>;
6248dea9a7SNobuhiro Iwamatsu		};
6348dea9a7SNobuhiro Iwamatsu
6448dea9a7SNobuhiro Iwamatsu		cpu1: cpu@1 {
6548dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
6648dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
6748dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
6848dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
6948dea9a7SNobuhiro Iwamatsu			reg = <0x01>;
7048dea9a7SNobuhiro Iwamatsu		};
7148dea9a7SNobuhiro Iwamatsu
7248dea9a7SNobuhiro Iwamatsu		cpu2: cpu@2 {
7348dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
7448dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
7548dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
7648dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
7748dea9a7SNobuhiro Iwamatsu			reg = <0x02>;
7848dea9a7SNobuhiro Iwamatsu		};
7948dea9a7SNobuhiro Iwamatsu
8048dea9a7SNobuhiro Iwamatsu		cpu3: cpu@3 {
8148dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
8248dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
8348dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
8448dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
8548dea9a7SNobuhiro Iwamatsu			reg = <0x03>;
8648dea9a7SNobuhiro Iwamatsu		};
8748dea9a7SNobuhiro Iwamatsu
8848dea9a7SNobuhiro Iwamatsu		cpu4: cpu@100 {
8948dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
9048dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
9148dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
9248dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
9348dea9a7SNobuhiro Iwamatsu			reg = <0x100>;
9448dea9a7SNobuhiro Iwamatsu		};
9548dea9a7SNobuhiro Iwamatsu
9648dea9a7SNobuhiro Iwamatsu		cpu5: cpu@101 {
9748dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
9848dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
9948dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
10048dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
10148dea9a7SNobuhiro Iwamatsu			reg = <0x101>;
10248dea9a7SNobuhiro Iwamatsu		};
10348dea9a7SNobuhiro Iwamatsu
10448dea9a7SNobuhiro Iwamatsu		cpu6: cpu@102 {
10548dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
10648dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
10748dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
10848dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
10948dea9a7SNobuhiro Iwamatsu			reg = <0x102>;
11048dea9a7SNobuhiro Iwamatsu		};
11148dea9a7SNobuhiro Iwamatsu
11248dea9a7SNobuhiro Iwamatsu		cpu7: cpu@103 {
11348dea9a7SNobuhiro Iwamatsu			compatible = "arm,cortex-a53";
11448dea9a7SNobuhiro Iwamatsu			device_type = "cpu";
11548dea9a7SNobuhiro Iwamatsu			enable-method = "spin-table";
11648dea9a7SNobuhiro Iwamatsu			cpu-release-addr = <0x0 0x81100000>;
11748dea9a7SNobuhiro Iwamatsu			reg = <0x103>;
11848dea9a7SNobuhiro Iwamatsu		};
11948dea9a7SNobuhiro Iwamatsu	};
12048dea9a7SNobuhiro Iwamatsu
12148dea9a7SNobuhiro Iwamatsu	timer {
12248dea9a7SNobuhiro Iwamatsu		compatible = "arm,armv8-timer";
12348dea9a7SNobuhiro Iwamatsu		interrupt-parent = <&gic>;
12448dea9a7SNobuhiro Iwamatsu		interrupts =
12548dea9a7SNobuhiro Iwamatsu			<GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12648dea9a7SNobuhiro Iwamatsu			<GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12748dea9a7SNobuhiro Iwamatsu			<GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
12848dea9a7SNobuhiro Iwamatsu			<GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
12948dea9a7SNobuhiro Iwamatsu	};
13048dea9a7SNobuhiro Iwamatsu
13148dea9a7SNobuhiro Iwamatsu	uart_clk: uart-clk {
13248dea9a7SNobuhiro Iwamatsu		compatible = "fixed-clock";
13348dea9a7SNobuhiro Iwamatsu		clock-frequency = <150000000>;
13448dea9a7SNobuhiro Iwamatsu		#clock-cells = <0>;
13548dea9a7SNobuhiro Iwamatsu	};
13648dea9a7SNobuhiro Iwamatsu
1376beeaf48SNobuhiro Iwamatsu	clk25mhz: clk25mhz {
1386beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1396beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1406beeaf48SNobuhiro Iwamatsu		clock-frequency = <25000000>;
1416beeaf48SNobuhiro Iwamatsu		clock-output-names = "clk25mhz";
1426beeaf48SNobuhiro Iwamatsu	};
1436beeaf48SNobuhiro Iwamatsu
144ec8a42e7SNobuhiro Iwamatsu	clk125mhz: clk125mhz {
145ec8a42e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
146ec8a42e7SNobuhiro Iwamatsu		clock-frequency = <125000000>;
147ec8a42e7SNobuhiro Iwamatsu		#clock-cells = <0>;
148ec8a42e7SNobuhiro Iwamatsu		clock-output-names = "clk125mhz";
149ec8a42e7SNobuhiro Iwamatsu	};
150ec8a42e7SNobuhiro Iwamatsu
151*c53fd410SYuji Ishikawa	clk150mhz: clk150mhz {
152*c53fd410SYuji Ishikawa		compatible = "fixed-clock";
153*c53fd410SYuji Ishikawa		clock-frequency = <150000000>;
154*c53fd410SYuji Ishikawa		#clock-cells = <0>;
155*c53fd410SYuji Ishikawa		clock-output-names = "clk150mhz";
156*c53fd410SYuji Ishikawa	};
157*c53fd410SYuji Ishikawa
158ec8a42e7SNobuhiro Iwamatsu	clk300mhz: clk300mhz {
159ec8a42e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
160ec8a42e7SNobuhiro Iwamatsu		clock-frequency = <300000000>;
161ec8a42e7SNobuhiro Iwamatsu		#clock-cells = <0>;
162ec8a42e7SNobuhiro Iwamatsu		clock-output-names = "clk300mhz";
163ec8a42e7SNobuhiro Iwamatsu	};
164ec8a42e7SNobuhiro Iwamatsu
1656beeaf48SNobuhiro Iwamatsu	clk600mhz: clk600mhz {
1666beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1676beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1686beeaf48SNobuhiro Iwamatsu		clock-frequency = <600000000>;
1696beeaf48SNobuhiro Iwamatsu		clock-output-names = "clk600mhz";
1706beeaf48SNobuhiro Iwamatsu	};
1716beeaf48SNobuhiro Iwamatsu
1726beeaf48SNobuhiro Iwamatsu	extclk100mhz: extclk100mhz {
1736beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1746beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1756beeaf48SNobuhiro Iwamatsu		clock-frequency = <100000000>;
1766beeaf48SNobuhiro Iwamatsu		clock-output-names = "extclk100mhz";
1776beeaf48SNobuhiro Iwamatsu	};
1786beeaf48SNobuhiro Iwamatsu
1794fd18fc3SNobuhiro Iwamatsu	wdt_clk: wdt-clk {
1804fd18fc3SNobuhiro Iwamatsu		compatible = "fixed-clock";
1814fd18fc3SNobuhiro Iwamatsu		clock-frequency = <150000000>;
1824fd18fc3SNobuhiro Iwamatsu		#clock-cells = <0>;
1834fd18fc3SNobuhiro Iwamatsu	};
1844fd18fc3SNobuhiro Iwamatsu
18548dea9a7SNobuhiro Iwamatsu	soc {
18648dea9a7SNobuhiro Iwamatsu		#address-cells = <2>;
18748dea9a7SNobuhiro Iwamatsu		#size-cells = <2>;
18848dea9a7SNobuhiro Iwamatsu		compatible = "simple-bus";
18948dea9a7SNobuhiro Iwamatsu		interrupt-parent = <&gic>;
19048dea9a7SNobuhiro Iwamatsu		ranges;
19148dea9a7SNobuhiro Iwamatsu
19248dea9a7SNobuhiro Iwamatsu		gic: interrupt-controller@24001000 {
19348dea9a7SNobuhiro Iwamatsu			compatible = "arm,gic-400";
19448dea9a7SNobuhiro Iwamatsu			interrupt-controller;
19548dea9a7SNobuhiro Iwamatsu			#interrupt-cells = <3>;
19648dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
19748dea9a7SNobuhiro Iwamatsu			reg = <0 0x24001000 0 0x1000>,
19848dea9a7SNobuhiro Iwamatsu			      <0 0x24002000 0 0x2000>,
19948dea9a7SNobuhiro Iwamatsu			      <0 0x24004000 0 0x2000>,
20048dea9a7SNobuhiro Iwamatsu			      <0 0x24006000 0 0x2000>;
20148dea9a7SNobuhiro Iwamatsu		};
20248dea9a7SNobuhiro Iwamatsu
20348dea9a7SNobuhiro Iwamatsu		pmux: pmux@24190000 {
20448dea9a7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pinctrl";
20548dea9a7SNobuhiro Iwamatsu			reg = <0 0x24190000 0 0x10000>;
20648dea9a7SNobuhiro Iwamatsu		};
20748dea9a7SNobuhiro Iwamatsu
2080109a175SNobuhiro Iwamatsu		gpio: gpio@28020000 {
2090109a175SNobuhiro Iwamatsu			compatible = "toshiba,gpio-tmpv7708";
2100109a175SNobuhiro Iwamatsu			reg = <0 0x28020000 0 0x1000>;
2110109a175SNobuhiro Iwamatsu			#gpio-cells = <0x2>;
2120109a175SNobuhiro Iwamatsu			gpio-ranges = <&pmux 0 0 32>;
2130109a175SNobuhiro Iwamatsu			gpio-controller;
2140109a175SNobuhiro Iwamatsu			interrupt-controller;
2150109a175SNobuhiro Iwamatsu			#interrupt-cells = <2>;
2160109a175SNobuhiro Iwamatsu			interrupt-parent = <&gic>;
2170109a175SNobuhiro Iwamatsu		};
2180109a175SNobuhiro Iwamatsu
21948dea9a7SNobuhiro Iwamatsu		uart0: serial@28200000 {
22048dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
22148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28200000 0 0x1000>;
22248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
22348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
22448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart0_pins>;
22548dea9a7SNobuhiro Iwamatsu			status = "disabled";
22648dea9a7SNobuhiro Iwamatsu		};
22748dea9a7SNobuhiro Iwamatsu
22848dea9a7SNobuhiro Iwamatsu		uart1: serial@28201000 {
22948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
23048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28201000 0 0x1000>;
23148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
23248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
23348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart1_pins>;
23448dea9a7SNobuhiro Iwamatsu			status = "disabled";
23548dea9a7SNobuhiro Iwamatsu		};
23648dea9a7SNobuhiro Iwamatsu
23748dea9a7SNobuhiro Iwamatsu		uart2: serial@28202000 {
23848dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
23948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28202000 0 0x1000>;
24048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
24148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
24248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart2_pins>;
24348dea9a7SNobuhiro Iwamatsu			status = "disabled";
24448dea9a7SNobuhiro Iwamatsu		};
24548dea9a7SNobuhiro Iwamatsu
24648dea9a7SNobuhiro Iwamatsu		uart3: serial@28203000 {
24748dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
24848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28203000 0 0x1000>;
24948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
25048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
25148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart3_pins>;
25248dea9a7SNobuhiro Iwamatsu			status = "disabled";
25348dea9a7SNobuhiro Iwamatsu		};
25448dea9a7SNobuhiro Iwamatsu
25548dea9a7SNobuhiro Iwamatsu		i2c0: i2c@28030000 {
25648dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
25748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28030000 0 0x1000>;
25848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
25948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
26048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c0_pins>;
26148dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
26248dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
26348dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
26448dea9a7SNobuhiro Iwamatsu			status = "disabled";
26548dea9a7SNobuhiro Iwamatsu		};
26648dea9a7SNobuhiro Iwamatsu
26748dea9a7SNobuhiro Iwamatsu		i2c1: i2c@28031000 {
26848dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
26948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28031000 0 0x1000>;
27048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
27148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
27248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c1_pins>;
27348dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
27448dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
27548dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
27648dea9a7SNobuhiro Iwamatsu			status = "disabled";
27748dea9a7SNobuhiro Iwamatsu		};
27848dea9a7SNobuhiro Iwamatsu
27948dea9a7SNobuhiro Iwamatsu		i2c2: i2c@28032000 {
28048dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
28148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28032000 0 0x1000>;
28248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
28348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
28448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c2_pins>;
28548dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
28648dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
28748dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
28848dea9a7SNobuhiro Iwamatsu			status = "disabled";
28948dea9a7SNobuhiro Iwamatsu		};
29048dea9a7SNobuhiro Iwamatsu
29148dea9a7SNobuhiro Iwamatsu		i2c3: i2c@28033000 {
29248dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
29348dea9a7SNobuhiro Iwamatsu			reg = <0 0x28033000 0 0x1000>;
29448dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
29548dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
29648dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c3_pins>;
29748dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
29848dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
29948dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
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>;
31248dea9a7SNobuhiro Iwamatsu			status = "disabled";
31348dea9a7SNobuhiro Iwamatsu		};
31448dea9a7SNobuhiro Iwamatsu
31548dea9a7SNobuhiro Iwamatsu		i2c5: i2c@28035000 {
31648dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
31748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28035000 0 0x1000>;
31848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
31948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
32048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c5_pins>;
32148dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
32248dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
32348dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
32448dea9a7SNobuhiro Iwamatsu			status = "disabled";
32548dea9a7SNobuhiro Iwamatsu		};
32648dea9a7SNobuhiro Iwamatsu
32748dea9a7SNobuhiro Iwamatsu		i2c6: i2c@28036000 {
32848dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
32948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28036000 0 0x1000>;
33048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
33148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
33248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c6_pins>;
33348dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
33448dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
33548dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
33648dea9a7SNobuhiro Iwamatsu			status = "disabled";
33748dea9a7SNobuhiro Iwamatsu		};
33848dea9a7SNobuhiro Iwamatsu
33948dea9a7SNobuhiro Iwamatsu		i2c7: i2c@28037000 {
34048dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
34148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28037000 0 0x1000>;
34248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
34348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
34448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c7_pins>;
34548dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
34648dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
34748dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
34848dea9a7SNobuhiro Iwamatsu			status = "disabled";
34948dea9a7SNobuhiro Iwamatsu		};
35048dea9a7SNobuhiro Iwamatsu
35148dea9a7SNobuhiro Iwamatsu		i2c8: i2c@28038000 {
35248dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
35348dea9a7SNobuhiro Iwamatsu			reg = <0 0x28038000 0 0x1000>;
35448dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
35548dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
35648dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c8_pins>;
35748dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
35848dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
35948dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
36048dea9a7SNobuhiro Iwamatsu			status = "disabled";
36148dea9a7SNobuhiro Iwamatsu		};
36248dea9a7SNobuhiro Iwamatsu
36348dea9a7SNobuhiro Iwamatsu		spi0: spi@28140000 {
36448dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
36548dea9a7SNobuhiro Iwamatsu			reg = <0 0x28140000 0 0x1000>;
36648dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
36748dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
36848dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi0_pins>;
36948dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
37048dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
37148dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
37248dea9a7SNobuhiro Iwamatsu			status = "disabled";
37348dea9a7SNobuhiro Iwamatsu		};
37448dea9a7SNobuhiro Iwamatsu
37548dea9a7SNobuhiro Iwamatsu		spi1: spi@28141000 {
37648dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
37748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28141000 0 0x1000>;
37848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
37948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
38048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi1_pins>;
38148dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
38248dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
38348dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
38448dea9a7SNobuhiro Iwamatsu			status = "disabled";
38548dea9a7SNobuhiro Iwamatsu		};
38648dea9a7SNobuhiro Iwamatsu
38748dea9a7SNobuhiro Iwamatsu		spi2: spi@28142000 {
38848dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
38948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28142000 0 0x1000>;
39048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
39148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
39248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi2_pins>;
39348dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
39448dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
39548dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
39648dea9a7SNobuhiro Iwamatsu			status = "disabled";
39748dea9a7SNobuhiro Iwamatsu		};
39848dea9a7SNobuhiro Iwamatsu
39948dea9a7SNobuhiro Iwamatsu		spi3: spi@28143000 {
40048dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
40148dea9a7SNobuhiro Iwamatsu			reg = <0 0x28143000 0 0x1000>;
40248dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
40348dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
40448dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi3_pins>;
40548dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
40648dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
40748dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
40848dea9a7SNobuhiro Iwamatsu			status = "disabled";
40948dea9a7SNobuhiro Iwamatsu		};
41048dea9a7SNobuhiro Iwamatsu
41148dea9a7SNobuhiro Iwamatsu		spi4: spi@28144000 {
41248dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
41348dea9a7SNobuhiro Iwamatsu			reg = <0 0x28144000 0 0x1000>;
41448dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
41548dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
41648dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi4_pins>;
41748dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
41848dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
41948dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
42048dea9a7SNobuhiro Iwamatsu			status = "disabled";
42148dea9a7SNobuhiro Iwamatsu		};
42248dea9a7SNobuhiro Iwamatsu
42348dea9a7SNobuhiro Iwamatsu		spi5: spi@28145000 {
42448dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
42548dea9a7SNobuhiro Iwamatsu			reg = <0 0x28145000 0 0x1000>;
42648dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
42748dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
42848dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi5_pins>;
42948dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
43048dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
43148dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
43248dea9a7SNobuhiro Iwamatsu			status = "disabled";
43348dea9a7SNobuhiro Iwamatsu		};
43448dea9a7SNobuhiro Iwamatsu
43548dea9a7SNobuhiro Iwamatsu		spi6: spi@28146000 {
43648dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
43748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28146000 0 0x1000>;
43848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
43948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
44048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi6_pins>;
44148dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
44248dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
44348dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
44448dea9a7SNobuhiro Iwamatsu			status = "disabled";
44548dea9a7SNobuhiro Iwamatsu		};
446ec8a42e7SNobuhiro Iwamatsu
447ec8a42e7SNobuhiro Iwamatsu		piether: ethernet@28000000 {
448ec8a42e7SNobuhiro Iwamatsu			compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
449ec8a42e7SNobuhiro Iwamatsu			reg = <0 0x28000000 0 0x10000>;
450ec8a42e7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
451ec8a42e7SNobuhiro Iwamatsu			interrupt-names = "macirq";
452ec8a42e7SNobuhiro Iwamatsu			snps,txpbl = <4>;
453ec8a42e7SNobuhiro Iwamatsu			snps,rxpbl = <4>;
454ec8a42e7SNobuhiro Iwamatsu			snps,tso;
455ec8a42e7SNobuhiro Iwamatsu			status = "disabled";
456ec8a42e7SNobuhiro Iwamatsu		};
45782851fceSLinus Torvalds
4584fd18fc3SNobuhiro Iwamatsu		wdt: wdt@28330000 {
4594fd18fc3SNobuhiro Iwamatsu			compatible = "toshiba,visconti-wdt";
4604fd18fc3SNobuhiro Iwamatsu			reg = <0 0x28330000 0 0x1000>;
4614fd18fc3SNobuhiro Iwamatsu			status = "disabled";
4624fd18fc3SNobuhiro Iwamatsu		};
463172cdcaeSNobuhiro Iwamatsu
464172cdcaeSNobuhiro Iwamatsu		pwm: pwm@241c0000 {
465172cdcaeSNobuhiro Iwamatsu			compatible = "toshiba,visconti-pwm";
466172cdcaeSNobuhiro Iwamatsu			reg = <0 0x241c0000 0 0x1000>;
467172cdcaeSNobuhiro Iwamatsu			pinctrl-names = "default";
468172cdcaeSNobuhiro Iwamatsu			pinctrl-0 = <&pwm_mux>;
469172cdcaeSNobuhiro Iwamatsu			#pwm-cells = <2>;
470172cdcaeSNobuhiro Iwamatsu			status = "disabled";
471172cdcaeSNobuhiro Iwamatsu		};
4726beeaf48SNobuhiro Iwamatsu
4736beeaf48SNobuhiro Iwamatsu		pcie: pcie@28400000 {
4746beeaf48SNobuhiro Iwamatsu			compatible = "toshiba,visconti-pcie";
4756beeaf48SNobuhiro Iwamatsu			reg = <0x0 0x28400000 0x0 0x00400000>,
4766beeaf48SNobuhiro Iwamatsu			      <0x0 0x70000000 0x0 0x10000000>,
4776beeaf48SNobuhiro Iwamatsu			      <0x0 0x28050000 0x0 0x00010000>,
4786beeaf48SNobuhiro Iwamatsu			      <0x0 0x24200000 0x0 0x00002000>,
4796beeaf48SNobuhiro Iwamatsu			      <0x0 0x24162000 0x0 0x00001000>;
4806beeaf48SNobuhiro Iwamatsu			reg-names  = "dbi", "config", "ulreg", "smu", "mpu";
4816beeaf48SNobuhiro Iwamatsu			device_type = "pci";
4826beeaf48SNobuhiro Iwamatsu			bus-range = <0x00 0xff>;
4836beeaf48SNobuhiro Iwamatsu			num-lanes = <2>;
4846beeaf48SNobuhiro Iwamatsu			num-viewport = <8>;
4856beeaf48SNobuhiro Iwamatsu
4866beeaf48SNobuhiro Iwamatsu			#address-cells = <3>;
4876beeaf48SNobuhiro Iwamatsu			#size-cells = <2>;
4886beeaf48SNobuhiro Iwamatsu			#interrupt-cells = <1>;
4896beeaf48SNobuhiro Iwamatsu			ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000
4906beeaf48SNobuhiro Iwamatsu				  0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
4916beeaf48SNobuhiro Iwamatsu			interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
4926beeaf48SNobuhiro Iwamatsu				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
4936beeaf48SNobuhiro Iwamatsu			interrupt-names = "msi", "intr";
4946beeaf48SNobuhiro Iwamatsu			interrupt-map-mask = <0 0 0 7>;
4956beeaf48SNobuhiro Iwamatsu			interrupt-map =
4966beeaf48SNobuhiro Iwamatsu				<0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
4976beeaf48SNobuhiro Iwamatsu				 0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
4986beeaf48SNobuhiro Iwamatsu				 0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
4996beeaf48SNobuhiro Iwamatsu				 0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5006beeaf48SNobuhiro Iwamatsu			max-link-speed = <2>;
5016beeaf48SNobuhiro Iwamatsu			status = "disabled";
5026beeaf48SNobuhiro Iwamatsu		};
50348dea9a7SNobuhiro Iwamatsu	};
50448dea9a7SNobuhiro Iwamatsu};
50548dea9a7SNobuhiro Iwamatsu
50648dea9a7SNobuhiro Iwamatsu#include "tmpv7708_pins.dtsi"
507