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
139ec8a42e7SNobuhiro Iwamatsu	clk125mhz: clk125mhz {
140ec8a42e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
141ec8a42e7SNobuhiro Iwamatsu		clock-frequency = <125000000>;
142ec8a42e7SNobuhiro Iwamatsu		#clock-cells = <0>;
143ec8a42e7SNobuhiro Iwamatsu		clock-output-names = "clk125mhz";
144ec8a42e7SNobuhiro Iwamatsu	};
145ec8a42e7SNobuhiro Iwamatsu
146c53fd410SYuji Ishikawa	clk150mhz: clk150mhz {
147c53fd410SYuji Ishikawa		compatible = "fixed-clock";
148c53fd410SYuji Ishikawa		clock-frequency = <150000000>;
149c53fd410SYuji Ishikawa		#clock-cells = <0>;
150c53fd410SYuji Ishikawa		clock-output-names = "clk150mhz";
151c53fd410SYuji Ishikawa	};
152c53fd410SYuji Ishikawa
153ec8a42e7SNobuhiro Iwamatsu	clk300mhz: clk300mhz {
154ec8a42e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
155ec8a42e7SNobuhiro Iwamatsu		clock-frequency = <300000000>;
156ec8a42e7SNobuhiro Iwamatsu		#clock-cells = <0>;
157ec8a42e7SNobuhiro Iwamatsu		clock-output-names = "clk300mhz";
158ec8a42e7SNobuhiro Iwamatsu	};
159ec8a42e7SNobuhiro Iwamatsu
1606beeaf48SNobuhiro Iwamatsu	clk600mhz: clk600mhz {
1616beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1626beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1636beeaf48SNobuhiro Iwamatsu		clock-frequency = <600000000>;
1646beeaf48SNobuhiro Iwamatsu		clock-output-names = "clk600mhz";
1656beeaf48SNobuhiro Iwamatsu	};
1666beeaf48SNobuhiro Iwamatsu
1676beeaf48SNobuhiro Iwamatsu	extclk100mhz: extclk100mhz {
1686beeaf48SNobuhiro Iwamatsu		compatible = "fixed-clock";
1696beeaf48SNobuhiro Iwamatsu		#clock-cells = <0>;
1706beeaf48SNobuhiro Iwamatsu		clock-frequency = <100000000>;
1716beeaf48SNobuhiro Iwamatsu		clock-output-names = "extclk100mhz";
1726beeaf48SNobuhiro Iwamatsu	};
1736beeaf48SNobuhiro Iwamatsu
1744fd18fc3SNobuhiro Iwamatsu	wdt_clk: wdt-clk {
1754fd18fc3SNobuhiro Iwamatsu		compatible = "fixed-clock";
1764fd18fc3SNobuhiro Iwamatsu		clock-frequency = <150000000>;
1774fd18fc3SNobuhiro Iwamatsu		#clock-cells = <0>;
1784fd18fc3SNobuhiro Iwamatsu	};
1794fd18fc3SNobuhiro Iwamatsu
18034f7c6e7SNobuhiro Iwamatsu	osc2_clk: osc2-clk {
18134f7c6e7SNobuhiro Iwamatsu		compatible = "fixed-clock";
18234f7c6e7SNobuhiro Iwamatsu		clock-frequency = <20000000>;
18334f7c6e7SNobuhiro Iwamatsu		#clock-cells = <0>;
18434f7c6e7SNobuhiro Iwamatsu	};
18534f7c6e7SNobuhiro Iwamatsu
18648dea9a7SNobuhiro Iwamatsu	soc {
18748dea9a7SNobuhiro Iwamatsu		#address-cells = <2>;
18848dea9a7SNobuhiro Iwamatsu		#size-cells = <2>;
18948dea9a7SNobuhiro Iwamatsu		compatible = "simple-bus";
19048dea9a7SNobuhiro Iwamatsu		interrupt-parent = <&gic>;
19148dea9a7SNobuhiro Iwamatsu		ranges;
19248dea9a7SNobuhiro Iwamatsu
19348dea9a7SNobuhiro Iwamatsu		gic: interrupt-controller@24001000 {
19448dea9a7SNobuhiro Iwamatsu			compatible = "arm,gic-400";
19548dea9a7SNobuhiro Iwamatsu			interrupt-controller;
19648dea9a7SNobuhiro Iwamatsu			#interrupt-cells = <3>;
19748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
19848dea9a7SNobuhiro Iwamatsu			reg = <0 0x24001000 0 0x1000>,
19948dea9a7SNobuhiro Iwamatsu			      <0 0x24002000 0 0x2000>,
20048dea9a7SNobuhiro Iwamatsu			      <0 0x24004000 0 0x2000>,
20148dea9a7SNobuhiro Iwamatsu			      <0 0x24006000 0 0x2000>;
20248dea9a7SNobuhiro Iwamatsu		};
20348dea9a7SNobuhiro Iwamatsu
20448dea9a7SNobuhiro Iwamatsu		pmux: pmux@24190000 {
20548dea9a7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pinctrl";
20648dea9a7SNobuhiro Iwamatsu			reg = <0 0x24190000 0 0x10000>;
20748dea9a7SNobuhiro Iwamatsu		};
20848dea9a7SNobuhiro Iwamatsu
2090109a175SNobuhiro Iwamatsu		gpio: gpio@28020000 {
2100109a175SNobuhiro Iwamatsu			compatible = "toshiba,gpio-tmpv7708";
2110109a175SNobuhiro Iwamatsu			reg = <0 0x28020000 0 0x1000>;
2120109a175SNobuhiro Iwamatsu			#gpio-cells = <0x2>;
2130109a175SNobuhiro Iwamatsu			gpio-ranges = <&pmux 0 0 32>;
2140109a175SNobuhiro Iwamatsu			gpio-controller;
2150109a175SNobuhiro Iwamatsu			interrupt-controller;
2160109a175SNobuhiro Iwamatsu			#interrupt-cells = <2>;
2170109a175SNobuhiro Iwamatsu			interrupt-parent = <&gic>;
2180109a175SNobuhiro Iwamatsu		};
2190109a175SNobuhiro Iwamatsu
22034f7c6e7SNobuhiro Iwamatsu		pipllct: clock-controller@24220000 {
22134f7c6e7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pipllct";
22234f7c6e7SNobuhiro Iwamatsu			reg = <0 0x24220000 0 0x820>;
22334f7c6e7SNobuhiro Iwamatsu			#clock-cells = <1>;
22434f7c6e7SNobuhiro Iwamatsu			clocks = <&osc2_clk>;
22534f7c6e7SNobuhiro Iwamatsu		};
22634f7c6e7SNobuhiro Iwamatsu
22734f7c6e7SNobuhiro Iwamatsu		pismu: syscon@24200000 {
22834f7c6e7SNobuhiro Iwamatsu			compatible = "toshiba,tmpv7708-pismu", "syscon";
22934f7c6e7SNobuhiro Iwamatsu			reg = <0 0x24200000 0 0x2140>;
23034f7c6e7SNobuhiro Iwamatsu			#clock-cells = <1>;
23134f7c6e7SNobuhiro Iwamatsu			#reset-cells = <1>;
23234f7c6e7SNobuhiro Iwamatsu		};
23334f7c6e7SNobuhiro Iwamatsu
23448dea9a7SNobuhiro Iwamatsu		uart0: serial@28200000 {
23548dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
23648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28200000 0 0x1000>;
23748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>;
23848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
23948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart0_pins>;
240*43740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART0>;
241*43740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
24248dea9a7SNobuhiro Iwamatsu			status = "disabled";
24348dea9a7SNobuhiro Iwamatsu		};
24448dea9a7SNobuhiro Iwamatsu
24548dea9a7SNobuhiro Iwamatsu		uart1: serial@28201000 {
24648dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
24748dea9a7SNobuhiro Iwamatsu			reg = <0 0x28201000 0 0x1000>;
24848dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>;
24948dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
25048dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart1_pins>;
251*43740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART1>;
252*43740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
25348dea9a7SNobuhiro Iwamatsu			status = "disabled";
25448dea9a7SNobuhiro Iwamatsu		};
25548dea9a7SNobuhiro Iwamatsu
25648dea9a7SNobuhiro Iwamatsu		uart2: serial@28202000 {
25748dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
25848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28202000 0 0x1000>;
25948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>;
26048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
26148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart2_pins>;
262*43740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART2>;
263*43740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
26448dea9a7SNobuhiro Iwamatsu			status = "disabled";
26548dea9a7SNobuhiro Iwamatsu		};
26648dea9a7SNobuhiro Iwamatsu
26748dea9a7SNobuhiro Iwamatsu		uart3: serial@28203000 {
26848dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl011", "arm,primecell";
26948dea9a7SNobuhiro Iwamatsu			reg = <0 0x28203000 0 0x1000>;
27048dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>;
27148dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
27248dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&uart3_pins>;
273*43740556SNobuhiro Iwamatsu			clocks = <&pismu TMPV770X_CLK_PIUART2>;
274*43740556SNobuhiro Iwamatsu			clock-names = "apb_pclk";
27548dea9a7SNobuhiro Iwamatsu			status = "disabled";
27648dea9a7SNobuhiro Iwamatsu		};
27748dea9a7SNobuhiro Iwamatsu
27848dea9a7SNobuhiro Iwamatsu		i2c0: i2c@28030000 {
27948dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
28048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28030000 0 0x1000>;
28148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>;
28248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
28348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c0_pins>;
28448dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
28548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
28648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
28748dea9a7SNobuhiro Iwamatsu			status = "disabled";
28848dea9a7SNobuhiro Iwamatsu		};
28948dea9a7SNobuhiro Iwamatsu
29048dea9a7SNobuhiro Iwamatsu		i2c1: i2c@28031000 {
29148dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
29248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28031000 0 0x1000>;
29348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>;
29448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
29548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c1_pins>;
29648dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
29748dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
29848dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
29948dea9a7SNobuhiro Iwamatsu			status = "disabled";
30048dea9a7SNobuhiro Iwamatsu		};
30148dea9a7SNobuhiro Iwamatsu
30248dea9a7SNobuhiro Iwamatsu		i2c2: i2c@28032000 {
30348dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
30448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28032000 0 0x1000>;
30548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
30648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
30748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c2_pins>;
30848dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
30948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
31048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
31148dea9a7SNobuhiro Iwamatsu			status = "disabled";
31248dea9a7SNobuhiro Iwamatsu		};
31348dea9a7SNobuhiro Iwamatsu
31448dea9a7SNobuhiro Iwamatsu		i2c3: i2c@28033000 {
31548dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
31648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28033000 0 0x1000>;
31748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>;
31848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
31948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c3_pins>;
32048dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
32148dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
32248dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
32348dea9a7SNobuhiro Iwamatsu			status = "disabled";
32448dea9a7SNobuhiro Iwamatsu		};
32548dea9a7SNobuhiro Iwamatsu
32648dea9a7SNobuhiro Iwamatsu		i2c4: i2c@28034000 {
32748dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
32848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28034000 0 0x1000>;
32948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>;
33048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
33148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c4_pins>;
33248dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
33348dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
33448dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
33548dea9a7SNobuhiro Iwamatsu			status = "disabled";
33648dea9a7SNobuhiro Iwamatsu		};
33748dea9a7SNobuhiro Iwamatsu
33848dea9a7SNobuhiro Iwamatsu		i2c5: i2c@28035000 {
33948dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
34048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28035000 0 0x1000>;
34148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
34248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
34348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c5_pins>;
34448dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
34548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
34648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
34748dea9a7SNobuhiro Iwamatsu			status = "disabled";
34848dea9a7SNobuhiro Iwamatsu		};
34948dea9a7SNobuhiro Iwamatsu
35048dea9a7SNobuhiro Iwamatsu		i2c6: i2c@28036000 {
35148dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
35248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28036000 0 0x1000>;
35348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
35448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
35548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c6_pins>;
35648dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
35748dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
35848dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
35948dea9a7SNobuhiro Iwamatsu			status = "disabled";
36048dea9a7SNobuhiro Iwamatsu		};
36148dea9a7SNobuhiro Iwamatsu
36248dea9a7SNobuhiro Iwamatsu		i2c7: i2c@28037000 {
36348dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
36448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28037000 0 0x1000>;
36548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
36648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
36748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c7_pins>;
36848dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
36948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
37048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
37148dea9a7SNobuhiro Iwamatsu			status = "disabled";
37248dea9a7SNobuhiro Iwamatsu		};
37348dea9a7SNobuhiro Iwamatsu
37448dea9a7SNobuhiro Iwamatsu		i2c8: i2c@28038000 {
37548dea9a7SNobuhiro Iwamatsu			compatible = "snps,designware-i2c";
37648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28038000 0 0x1000>;
37748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>;
37848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
37948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&i2c8_pins>;
38048dea9a7SNobuhiro Iwamatsu			clock-frequency = <400000>;
38148dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
38248dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
38348dea9a7SNobuhiro Iwamatsu			status = "disabled";
38448dea9a7SNobuhiro Iwamatsu		};
38548dea9a7SNobuhiro Iwamatsu
38648dea9a7SNobuhiro Iwamatsu		spi0: spi@28140000 {
38748dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
38848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28140000 0 0x1000>;
38948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
39048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
39148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi0_pins>;
39248dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
39348dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
39448dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
39548dea9a7SNobuhiro Iwamatsu			status = "disabled";
39648dea9a7SNobuhiro Iwamatsu		};
39748dea9a7SNobuhiro Iwamatsu
39848dea9a7SNobuhiro Iwamatsu		spi1: spi@28141000 {
39948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
40048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28141000 0 0x1000>;
40148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
40248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
40348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi1_pins>;
40448dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
40548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
40648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
40748dea9a7SNobuhiro Iwamatsu			status = "disabled";
40848dea9a7SNobuhiro Iwamatsu		};
40948dea9a7SNobuhiro Iwamatsu
41048dea9a7SNobuhiro Iwamatsu		spi2: spi@28142000 {
41148dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
41248dea9a7SNobuhiro Iwamatsu			reg = <0 0x28142000 0 0x1000>;
41348dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>;
41448dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
41548dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi2_pins>;
41648dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
41748dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
41848dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
41948dea9a7SNobuhiro Iwamatsu			status = "disabled";
42048dea9a7SNobuhiro Iwamatsu		};
42148dea9a7SNobuhiro Iwamatsu
42248dea9a7SNobuhiro Iwamatsu		spi3: spi@28143000 {
42348dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
42448dea9a7SNobuhiro Iwamatsu			reg = <0 0x28143000 0 0x1000>;
42548dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>;
42648dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
42748dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi3_pins>;
42848dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
42948dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
43048dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
43148dea9a7SNobuhiro Iwamatsu			status = "disabled";
43248dea9a7SNobuhiro Iwamatsu		};
43348dea9a7SNobuhiro Iwamatsu
43448dea9a7SNobuhiro Iwamatsu		spi4: spi@28144000 {
43548dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
43648dea9a7SNobuhiro Iwamatsu			reg = <0 0x28144000 0 0x1000>;
43748dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
43848dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
43948dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi4_pins>;
44048dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
44148dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
44248dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
44348dea9a7SNobuhiro Iwamatsu			status = "disabled";
44448dea9a7SNobuhiro Iwamatsu		};
44548dea9a7SNobuhiro Iwamatsu
44648dea9a7SNobuhiro Iwamatsu		spi5: spi@28145000 {
44748dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
44848dea9a7SNobuhiro Iwamatsu			reg = <0 0x28145000 0 0x1000>;
44948dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
45048dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
45148dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi5_pins>;
45248dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
45348dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
45448dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
45548dea9a7SNobuhiro Iwamatsu			status = "disabled";
45648dea9a7SNobuhiro Iwamatsu		};
45748dea9a7SNobuhiro Iwamatsu
45848dea9a7SNobuhiro Iwamatsu		spi6: spi@28146000 {
45948dea9a7SNobuhiro Iwamatsu			compatible = "arm,pl022", "arm,primecell";
46048dea9a7SNobuhiro Iwamatsu			reg = <0 0x28146000 0 0x1000>;
46148dea9a7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>;
46248dea9a7SNobuhiro Iwamatsu			pinctrl-names = "default";
46348dea9a7SNobuhiro Iwamatsu			pinctrl-0 = <&spi6_pins>;
46448dea9a7SNobuhiro Iwamatsu			num-cs = <1>;
46548dea9a7SNobuhiro Iwamatsu			#address-cells = <1>;
46648dea9a7SNobuhiro Iwamatsu			#size-cells = <0>;
46748dea9a7SNobuhiro Iwamatsu			status = "disabled";
46848dea9a7SNobuhiro Iwamatsu		};
469ec8a42e7SNobuhiro Iwamatsu
470ec8a42e7SNobuhiro Iwamatsu		piether: ethernet@28000000 {
471ec8a42e7SNobuhiro Iwamatsu			compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a";
472ec8a42e7SNobuhiro Iwamatsu			reg = <0 0x28000000 0 0x10000>;
473ec8a42e7SNobuhiro Iwamatsu			interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
474ec8a42e7SNobuhiro Iwamatsu			interrupt-names = "macirq";
475ec8a42e7SNobuhiro Iwamatsu			snps,txpbl = <4>;
476ec8a42e7SNobuhiro Iwamatsu			snps,rxpbl = <4>;
477ec8a42e7SNobuhiro Iwamatsu			snps,tso;
478ec8a42e7SNobuhiro Iwamatsu			status = "disabled";
479ec8a42e7SNobuhiro Iwamatsu		};
48082851fceSLinus Torvalds
4814fd18fc3SNobuhiro Iwamatsu		wdt: wdt@28330000 {
4824fd18fc3SNobuhiro Iwamatsu			compatible = "toshiba,visconti-wdt";
4834fd18fc3SNobuhiro Iwamatsu			reg = <0 0x28330000 0 0x1000>;
4844fd18fc3SNobuhiro Iwamatsu			status = "disabled";
4854fd18fc3SNobuhiro Iwamatsu		};
486172cdcaeSNobuhiro Iwamatsu
487172cdcaeSNobuhiro Iwamatsu		pwm: pwm@241c0000 {
488172cdcaeSNobuhiro Iwamatsu			compatible = "toshiba,visconti-pwm";
489172cdcaeSNobuhiro Iwamatsu			reg = <0 0x241c0000 0 0x1000>;
490172cdcaeSNobuhiro Iwamatsu			pinctrl-names = "default";
491172cdcaeSNobuhiro Iwamatsu			pinctrl-0 = <&pwm_mux>;
492172cdcaeSNobuhiro Iwamatsu			#pwm-cells = <2>;
493172cdcaeSNobuhiro Iwamatsu			status = "disabled";
494172cdcaeSNobuhiro Iwamatsu		};
4956beeaf48SNobuhiro Iwamatsu
4966beeaf48SNobuhiro Iwamatsu		pcie: pcie@28400000 {
4976beeaf48SNobuhiro Iwamatsu			compatible = "toshiba,visconti-pcie";
4986beeaf48SNobuhiro Iwamatsu			reg = <0x0 0x28400000 0x0 0x00400000>,
4996beeaf48SNobuhiro Iwamatsu			      <0x0 0x70000000 0x0 0x10000000>,
5006beeaf48SNobuhiro Iwamatsu			      <0x0 0x28050000 0x0 0x00010000>,
5016beeaf48SNobuhiro Iwamatsu			      <0x0 0x24200000 0x0 0x00002000>,
5026beeaf48SNobuhiro Iwamatsu			      <0x0 0x24162000 0x0 0x00001000>;
5036beeaf48SNobuhiro Iwamatsu			reg-names  = "dbi", "config", "ulreg", "smu", "mpu";
5046beeaf48SNobuhiro Iwamatsu			device_type = "pci";
5056beeaf48SNobuhiro Iwamatsu			bus-range = <0x00 0xff>;
5066beeaf48SNobuhiro Iwamatsu			num-lanes = <2>;
5076beeaf48SNobuhiro Iwamatsu			num-viewport = <8>;
5086beeaf48SNobuhiro Iwamatsu
5096beeaf48SNobuhiro Iwamatsu			#address-cells = <3>;
5106beeaf48SNobuhiro Iwamatsu			#size-cells = <2>;
5116beeaf48SNobuhiro Iwamatsu			#interrupt-cells = <1>;
5126beeaf48SNobuhiro Iwamatsu			ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000
5136beeaf48SNobuhiro Iwamatsu				  0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>;
5146beeaf48SNobuhiro Iwamatsu			interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
5156beeaf48SNobuhiro Iwamatsu				     <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5166beeaf48SNobuhiro Iwamatsu			interrupt-names = "msi", "intr";
5176beeaf48SNobuhiro Iwamatsu			interrupt-map-mask = <0 0 0 7>;
5186beeaf48SNobuhiro Iwamatsu			interrupt-map =
5196beeaf48SNobuhiro Iwamatsu				<0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5206beeaf48SNobuhiro Iwamatsu				 0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5216beeaf48SNobuhiro Iwamatsu				 0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH
5226beeaf48SNobuhiro Iwamatsu				 0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>;
5236beeaf48SNobuhiro Iwamatsu			max-link-speed = <2>;
5246beeaf48SNobuhiro Iwamatsu			status = "disabled";
5256beeaf48SNobuhiro Iwamatsu		};
52648dea9a7SNobuhiro Iwamatsu	};
52748dea9a7SNobuhiro Iwamatsu};
52848dea9a7SNobuhiro Iwamatsu
52948dea9a7SNobuhiro Iwamatsu#include "tmpv7708_pins.dtsi"
530