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 extclk100mhz: extclk100mhz { 1336beeaf48SNobuhiro Iwamatsu compatible = "fixed-clock"; 1346beeaf48SNobuhiro Iwamatsu #clock-cells = <0>; 1356beeaf48SNobuhiro Iwamatsu clock-frequency = <100000000>; 1366beeaf48SNobuhiro Iwamatsu clock-output-names = "extclk100mhz"; 1376beeaf48SNobuhiro Iwamatsu }; 1386beeaf48SNobuhiro Iwamatsu 13934f7c6e7SNobuhiro Iwamatsu osc2_clk: osc2-clk { 14034f7c6e7SNobuhiro Iwamatsu compatible = "fixed-clock"; 14134f7c6e7SNobuhiro Iwamatsu clock-frequency = <20000000>; 14234f7c6e7SNobuhiro Iwamatsu #clock-cells = <0>; 14334f7c6e7SNobuhiro Iwamatsu }; 14434f7c6e7SNobuhiro Iwamatsu 14548dea9a7SNobuhiro Iwamatsu soc { 14648dea9a7SNobuhiro Iwamatsu #address-cells = <2>; 14748dea9a7SNobuhiro Iwamatsu #size-cells = <2>; 14848dea9a7SNobuhiro Iwamatsu compatible = "simple-bus"; 14948dea9a7SNobuhiro Iwamatsu interrupt-parent = <&gic>; 15048dea9a7SNobuhiro Iwamatsu ranges; 15148dea9a7SNobuhiro Iwamatsu 15248dea9a7SNobuhiro Iwamatsu gic: interrupt-controller@24001000 { 15348dea9a7SNobuhiro Iwamatsu compatible = "arm,gic-400"; 15448dea9a7SNobuhiro Iwamatsu interrupt-controller; 15548dea9a7SNobuhiro Iwamatsu #interrupt-cells = <3>; 15648dea9a7SNobuhiro Iwamatsu interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>; 15748dea9a7SNobuhiro Iwamatsu reg = <0 0x24001000 0 0x1000>, 15848dea9a7SNobuhiro Iwamatsu <0 0x24002000 0 0x2000>, 15948dea9a7SNobuhiro Iwamatsu <0 0x24004000 0 0x2000>, 16048dea9a7SNobuhiro Iwamatsu <0 0x24006000 0 0x2000>; 16148dea9a7SNobuhiro Iwamatsu }; 16248dea9a7SNobuhiro Iwamatsu 16348dea9a7SNobuhiro Iwamatsu pmux: pmux@24190000 { 16448dea9a7SNobuhiro Iwamatsu compatible = "toshiba,tmpv7708-pinctrl"; 16548dea9a7SNobuhiro Iwamatsu reg = <0 0x24190000 0 0x10000>; 16648dea9a7SNobuhiro Iwamatsu }; 16748dea9a7SNobuhiro Iwamatsu 1680109a175SNobuhiro Iwamatsu gpio: gpio@28020000 { 1690109a175SNobuhiro Iwamatsu compatible = "toshiba,gpio-tmpv7708"; 1700109a175SNobuhiro Iwamatsu reg = <0 0x28020000 0 0x1000>; 1710109a175SNobuhiro Iwamatsu #gpio-cells = <0x2>; 1720109a175SNobuhiro Iwamatsu gpio-ranges = <&pmux 0 0 32>; 1730109a175SNobuhiro Iwamatsu gpio-controller; 1740109a175SNobuhiro Iwamatsu interrupt-controller; 1750109a175SNobuhiro Iwamatsu #interrupt-cells = <2>; 1760109a175SNobuhiro Iwamatsu interrupt-parent = <&gic>; 1770109a175SNobuhiro Iwamatsu }; 1780109a175SNobuhiro Iwamatsu 17934f7c6e7SNobuhiro Iwamatsu pipllct: clock-controller@24220000 { 18034f7c6e7SNobuhiro Iwamatsu compatible = "toshiba,tmpv7708-pipllct"; 18134f7c6e7SNobuhiro Iwamatsu reg = <0 0x24220000 0 0x820>; 18234f7c6e7SNobuhiro Iwamatsu #clock-cells = <1>; 18334f7c6e7SNobuhiro Iwamatsu clocks = <&osc2_clk>; 18434f7c6e7SNobuhiro Iwamatsu }; 18534f7c6e7SNobuhiro Iwamatsu 18634f7c6e7SNobuhiro Iwamatsu pismu: syscon@24200000 { 18734f7c6e7SNobuhiro Iwamatsu compatible = "toshiba,tmpv7708-pismu", "syscon"; 18834f7c6e7SNobuhiro Iwamatsu reg = <0 0x24200000 0 0x2140>; 18934f7c6e7SNobuhiro Iwamatsu #clock-cells = <1>; 19034f7c6e7SNobuhiro Iwamatsu #reset-cells = <1>; 19134f7c6e7SNobuhiro Iwamatsu }; 19234f7c6e7SNobuhiro Iwamatsu 19348dea9a7SNobuhiro Iwamatsu uart0: serial@28200000 { 19448dea9a7SNobuhiro Iwamatsu compatible = "arm,pl011", "arm,primecell"; 19548dea9a7SNobuhiro Iwamatsu reg = <0 0x28200000 0 0x1000>; 19648dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>; 19748dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 19848dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&uart0_pins>; 19943740556SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PIUART0>; 20043740556SNobuhiro Iwamatsu clock-names = "apb_pclk"; 20148dea9a7SNobuhiro Iwamatsu status = "disabled"; 20248dea9a7SNobuhiro Iwamatsu }; 20348dea9a7SNobuhiro Iwamatsu 20448dea9a7SNobuhiro Iwamatsu uart1: serial@28201000 { 20548dea9a7SNobuhiro Iwamatsu compatible = "arm,pl011", "arm,primecell"; 20648dea9a7SNobuhiro Iwamatsu reg = <0 0x28201000 0 0x1000>; 20748dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>; 20848dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 20948dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&uart1_pins>; 21043740556SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PIUART1>; 21143740556SNobuhiro Iwamatsu clock-names = "apb_pclk"; 21248dea9a7SNobuhiro Iwamatsu status = "disabled"; 21348dea9a7SNobuhiro Iwamatsu }; 21448dea9a7SNobuhiro Iwamatsu 21548dea9a7SNobuhiro Iwamatsu uart2: serial@28202000 { 21648dea9a7SNobuhiro Iwamatsu compatible = "arm,pl011", "arm,primecell"; 21748dea9a7SNobuhiro Iwamatsu reg = <0 0x28202000 0 0x1000>; 21848dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>; 21948dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 22048dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&uart2_pins>; 22143740556SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PIUART2>; 22243740556SNobuhiro Iwamatsu clock-names = "apb_pclk"; 22348dea9a7SNobuhiro Iwamatsu status = "disabled"; 22448dea9a7SNobuhiro Iwamatsu }; 22548dea9a7SNobuhiro Iwamatsu 22648dea9a7SNobuhiro Iwamatsu uart3: serial@28203000 { 22748dea9a7SNobuhiro Iwamatsu compatible = "arm,pl011", "arm,primecell"; 22848dea9a7SNobuhiro Iwamatsu reg = <0 0x28203000 0 0x1000>; 22948dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; 23048dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 23148dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&uart3_pins>; 23243740556SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PIUART2>; 23343740556SNobuhiro Iwamatsu clock-names = "apb_pclk"; 23448dea9a7SNobuhiro Iwamatsu status = "disabled"; 23548dea9a7SNobuhiro Iwamatsu }; 23648dea9a7SNobuhiro Iwamatsu 23748dea9a7SNobuhiro Iwamatsu i2c0: i2c@28030000 { 23848dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 23948dea9a7SNobuhiro Iwamatsu reg = <0 0x28030000 0 0x1000>; 24048dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; 24148dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 24248dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c0_pins>; 24348dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 24448dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 24548dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 2460e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C0>; 24748dea9a7SNobuhiro Iwamatsu status = "disabled"; 24848dea9a7SNobuhiro Iwamatsu }; 24948dea9a7SNobuhiro Iwamatsu 25048dea9a7SNobuhiro Iwamatsu i2c1: i2c@28031000 { 25148dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 25248dea9a7SNobuhiro Iwamatsu reg = <0 0x28031000 0 0x1000>; 25348dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 139 IRQ_TYPE_LEVEL_HIGH>; 25448dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 25548dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c1_pins>; 25648dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 25748dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 25848dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 2590e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C1>; 26048dea9a7SNobuhiro Iwamatsu status = "disabled"; 26148dea9a7SNobuhiro Iwamatsu }; 26248dea9a7SNobuhiro Iwamatsu 26348dea9a7SNobuhiro Iwamatsu i2c2: i2c@28032000 { 26448dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 26548dea9a7SNobuhiro Iwamatsu reg = <0 0x28032000 0 0x1000>; 26648dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; 26748dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 26848dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c2_pins>; 26948dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 27048dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 27148dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 2720e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C2>; 27348dea9a7SNobuhiro Iwamatsu status = "disabled"; 27448dea9a7SNobuhiro Iwamatsu }; 27548dea9a7SNobuhiro Iwamatsu 27648dea9a7SNobuhiro Iwamatsu i2c3: i2c@28033000 { 27748dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 27848dea9a7SNobuhiro Iwamatsu reg = <0 0x28033000 0 0x1000>; 27948dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; 28048dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 28148dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c3_pins>; 28248dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 28348dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 28448dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 2850e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C3>; 28648dea9a7SNobuhiro Iwamatsu status = "disabled"; 28748dea9a7SNobuhiro Iwamatsu }; 28848dea9a7SNobuhiro Iwamatsu 28948dea9a7SNobuhiro Iwamatsu i2c4: i2c@28034000 { 29048dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 29148dea9a7SNobuhiro Iwamatsu reg = <0 0x28034000 0 0x1000>; 29248dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; 29348dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 29448dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c4_pins>; 29548dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 29648dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 29748dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 2980e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C4>; 29948dea9a7SNobuhiro Iwamatsu status = "disabled"; 30048dea9a7SNobuhiro Iwamatsu }; 30148dea9a7SNobuhiro Iwamatsu 30248dea9a7SNobuhiro Iwamatsu i2c5: i2c@28035000 { 30348dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 30448dea9a7SNobuhiro Iwamatsu reg = <0 0x28035000 0 0x1000>; 30548dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>; 30648dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 30748dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c5_pins>; 30848dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 30948dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 31048dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 3110e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C5>; 31248dea9a7SNobuhiro Iwamatsu status = "disabled"; 31348dea9a7SNobuhiro Iwamatsu }; 31448dea9a7SNobuhiro Iwamatsu 31548dea9a7SNobuhiro Iwamatsu i2c6: i2c@28036000 { 31648dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 31748dea9a7SNobuhiro Iwamatsu reg = <0 0x28036000 0 0x1000>; 31848dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 31948dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 32048dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c6_pins>; 32148dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 32248dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 32348dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 3240e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C6>; 32548dea9a7SNobuhiro Iwamatsu status = "disabled"; 32648dea9a7SNobuhiro Iwamatsu }; 32748dea9a7SNobuhiro Iwamatsu 32848dea9a7SNobuhiro Iwamatsu i2c7: i2c@28037000 { 32948dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 33048dea9a7SNobuhiro Iwamatsu reg = <0 0x28037000 0 0x1000>; 33148dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 33248dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 33348dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c7_pins>; 33448dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 33548dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 33648dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 3370e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C7>; 33848dea9a7SNobuhiro Iwamatsu status = "disabled"; 33948dea9a7SNobuhiro Iwamatsu }; 34048dea9a7SNobuhiro Iwamatsu 34148dea9a7SNobuhiro Iwamatsu i2c8: i2c@28038000 { 34248dea9a7SNobuhiro Iwamatsu compatible = "snps,designware-i2c"; 34348dea9a7SNobuhiro Iwamatsu reg = <0 0x28038000 0 0x1000>; 34448dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 34548dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 34648dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&i2c8_pins>; 34748dea9a7SNobuhiro Iwamatsu clock-frequency = <400000>; 34848dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 34948dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 3500e7cd439SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PII2C8>; 35148dea9a7SNobuhiro Iwamatsu status = "disabled"; 35248dea9a7SNobuhiro Iwamatsu }; 35348dea9a7SNobuhiro Iwamatsu 35448dea9a7SNobuhiro Iwamatsu spi0: spi@28140000 { 35548dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 35648dea9a7SNobuhiro Iwamatsu reg = <0 0x28140000 0 0x1000>; 35748dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 35848dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 35948dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi0_pins>; 36048dea9a7SNobuhiro Iwamatsu num-cs = <1>; 36148dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 36248dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 363340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI1>; 364340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 36548dea9a7SNobuhiro Iwamatsu status = "disabled"; 36648dea9a7SNobuhiro Iwamatsu }; 36748dea9a7SNobuhiro Iwamatsu 36848dea9a7SNobuhiro Iwamatsu spi1: spi@28141000 { 36948dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 37048dea9a7SNobuhiro Iwamatsu reg = <0 0x28141000 0 0x1000>; 37148dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; 37248dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 37348dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi1_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 spi2: spi@28142000 { 38348dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 38448dea9a7SNobuhiro Iwamatsu reg = <0 0x28142000 0 0x1000>; 38548dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 38648dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 38748dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi2_pins>; 38848dea9a7SNobuhiro Iwamatsu num-cs = <1>; 38948dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 39048dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 391340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI2>; 392340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 39348dea9a7SNobuhiro Iwamatsu status = "disabled"; 39448dea9a7SNobuhiro Iwamatsu }; 39548dea9a7SNobuhiro Iwamatsu 39648dea9a7SNobuhiro Iwamatsu spi3: spi@28143000 { 39748dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 39848dea9a7SNobuhiro Iwamatsu reg = <0 0x28143000 0 0x1000>; 39948dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 40048dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 40148dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi3_pins>; 40248dea9a7SNobuhiro Iwamatsu num-cs = <1>; 40348dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 40448dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 405340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI3>; 406340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 40748dea9a7SNobuhiro Iwamatsu status = "disabled"; 40848dea9a7SNobuhiro Iwamatsu }; 40948dea9a7SNobuhiro Iwamatsu 41048dea9a7SNobuhiro Iwamatsu spi4: spi@28144000 { 41148dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 41248dea9a7SNobuhiro Iwamatsu reg = <0 0x28144000 0 0x1000>; 41348dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 41448dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 41548dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi4_pins>; 41648dea9a7SNobuhiro Iwamatsu num-cs = <1>; 41748dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 41848dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 419340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI4>; 420340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 42148dea9a7SNobuhiro Iwamatsu status = "disabled"; 42248dea9a7SNobuhiro Iwamatsu }; 42348dea9a7SNobuhiro Iwamatsu 42448dea9a7SNobuhiro Iwamatsu spi5: spi@28145000 { 42548dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 42648dea9a7SNobuhiro Iwamatsu reg = <0 0x28145000 0 0x1000>; 42748dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; 42848dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 42948dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi5_pins>; 43048dea9a7SNobuhiro Iwamatsu num-cs = <1>; 43148dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 43248dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 433340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI5>; 434340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 43548dea9a7SNobuhiro Iwamatsu status = "disabled"; 43648dea9a7SNobuhiro Iwamatsu }; 43748dea9a7SNobuhiro Iwamatsu 43848dea9a7SNobuhiro Iwamatsu spi6: spi@28146000 { 43948dea9a7SNobuhiro Iwamatsu compatible = "arm,pl022", "arm,primecell"; 44048dea9a7SNobuhiro Iwamatsu reg = <0 0x28146000 0 0x1000>; 44148dea9a7SNobuhiro Iwamatsu interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>; 44248dea9a7SNobuhiro Iwamatsu pinctrl-names = "default"; 44348dea9a7SNobuhiro Iwamatsu pinctrl-0 = <&spi6_pins>; 44448dea9a7SNobuhiro Iwamatsu num-cs = <1>; 44548dea9a7SNobuhiro Iwamatsu #address-cells = <1>; 44648dea9a7SNobuhiro Iwamatsu #size-cells = <0>; 447340657b1SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PISPI6>; 448340657b1SNobuhiro Iwamatsu clock-names = "apb_pclk"; 44948dea9a7SNobuhiro Iwamatsu status = "disabled"; 45048dea9a7SNobuhiro Iwamatsu }; 451ec8a42e7SNobuhiro Iwamatsu 452ec8a42e7SNobuhiro Iwamatsu piether: ethernet@28000000 { 453ec8a42e7SNobuhiro Iwamatsu compatible = "toshiba,visconti-dwmac", "snps,dwmac-4.20a"; 454ec8a42e7SNobuhiro Iwamatsu reg = <0 0x28000000 0 0x10000>; 455ec8a42e7SNobuhiro Iwamatsu interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; 456ec8a42e7SNobuhiro Iwamatsu interrupt-names = "macirq"; 457ec8a42e7SNobuhiro Iwamatsu snps,txpbl = <4>; 458ec8a42e7SNobuhiro Iwamatsu snps,rxpbl = <4>; 459ec8a42e7SNobuhiro Iwamatsu snps,tso; 460c8a93f91SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_PIETHER_BUS>, <&pismu TMPV770X_CLK_PIETHER_125M>; 461c8a93f91SNobuhiro Iwamatsu clock-names = "stmmaceth", "phy_ref_clk"; 462ec8a42e7SNobuhiro Iwamatsu status = "disabled"; 463ec8a42e7SNobuhiro Iwamatsu }; 46482851fceSLinus Torvalds 4654fd18fc3SNobuhiro Iwamatsu wdt: wdt@28330000 { 4664fd18fc3SNobuhiro Iwamatsu compatible = "toshiba,visconti-wdt"; 4674fd18fc3SNobuhiro Iwamatsu reg = <0 0x28330000 0 0x1000>; 46827b75490SNobuhiro Iwamatsu clocks = <&pismu TMPV770X_CLK_WDTCLK>; 4694fd18fc3SNobuhiro Iwamatsu status = "disabled"; 4704fd18fc3SNobuhiro Iwamatsu }; 471172cdcaeSNobuhiro Iwamatsu 472172cdcaeSNobuhiro Iwamatsu pwm: pwm@241c0000 { 473172cdcaeSNobuhiro Iwamatsu compatible = "toshiba,visconti-pwm"; 474172cdcaeSNobuhiro Iwamatsu reg = <0 0x241c0000 0 0x1000>; 475172cdcaeSNobuhiro Iwamatsu pinctrl-names = "default"; 476172cdcaeSNobuhiro Iwamatsu pinctrl-0 = <&pwm_mux>; 477172cdcaeSNobuhiro Iwamatsu #pwm-cells = <2>; 478172cdcaeSNobuhiro Iwamatsu status = "disabled"; 479172cdcaeSNobuhiro Iwamatsu }; 4806beeaf48SNobuhiro Iwamatsu 4816beeaf48SNobuhiro Iwamatsu pcie: pcie@28400000 { 4826beeaf48SNobuhiro Iwamatsu compatible = "toshiba,visconti-pcie"; 4836beeaf48SNobuhiro Iwamatsu reg = <0x0 0x28400000 0x0 0x00400000>, 4846beeaf48SNobuhiro Iwamatsu <0x0 0x70000000 0x0 0x10000000>, 4856beeaf48SNobuhiro Iwamatsu <0x0 0x28050000 0x0 0x00010000>, 4866beeaf48SNobuhiro Iwamatsu <0x0 0x24200000 0x0 0x00002000>, 4876beeaf48SNobuhiro Iwamatsu <0x0 0x24162000 0x0 0x00001000>; 4886beeaf48SNobuhiro Iwamatsu reg-names = "dbi", "config", "ulreg", "smu", "mpu"; 4896beeaf48SNobuhiro Iwamatsu device_type = "pci"; 4906beeaf48SNobuhiro Iwamatsu bus-range = <0x00 0xff>; 4916beeaf48SNobuhiro Iwamatsu num-lanes = <2>; 4926beeaf48SNobuhiro Iwamatsu num-viewport = <8>; 4936beeaf48SNobuhiro Iwamatsu 4946beeaf48SNobuhiro Iwamatsu #address-cells = <3>; 4956beeaf48SNobuhiro Iwamatsu #size-cells = <2>; 4966beeaf48SNobuhiro Iwamatsu #interrupt-cells = <1>; 4976beeaf48SNobuhiro Iwamatsu ranges = <0x81000000 0 0x40000000 0 0x40000000 0 0x00010000 4986beeaf48SNobuhiro Iwamatsu 0x82000000 0 0x50000000 0 0x50000000 0 0x20000000>; 4996beeaf48SNobuhiro Iwamatsu interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>, 5006beeaf48SNobuhiro Iwamatsu <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; 5016beeaf48SNobuhiro Iwamatsu interrupt-names = "msi", "intr"; 5026beeaf48SNobuhiro Iwamatsu interrupt-map-mask = <0 0 0 7>; 5036beeaf48SNobuhiro Iwamatsu interrupt-map = 5046beeaf48SNobuhiro Iwamatsu <0 0 0 1 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 5056beeaf48SNobuhiro Iwamatsu 0 0 0 2 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 5066beeaf48SNobuhiro Iwamatsu 0 0 0 3 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH 5076beeaf48SNobuhiro Iwamatsu 0 0 0 4 &gic GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; 5086beeaf48SNobuhiro Iwamatsu max-link-speed = <2>; 509*5d3b6edeSNobuhiro Iwamatsu clocks = <&extclk100mhz>, <&pismu TMPV770X_CLK_PCIE_MSTR>, <&pismu TMPV770X_CLK_PCIE_AUX>; 510*5d3b6edeSNobuhiro Iwamatsu clock-names = "ref", "core", "aux"; 5116beeaf48SNobuhiro Iwamatsu status = "disabled"; 5126beeaf48SNobuhiro Iwamatsu }; 51348dea9a7SNobuhiro Iwamatsu }; 51448dea9a7SNobuhiro Iwamatsu}; 51548dea9a7SNobuhiro Iwamatsu 51648dea9a7SNobuhiro Iwamatsu#include "tmpv7708_pins.dtsi" 517