152159d27SMasahiro Yamada/* 252159d27SMasahiro Yamada * Device Tree Source for UniPhier PXs2 SoC 352159d27SMasahiro Yamada * 452159d27SMasahiro Yamada * Copyright (C) 2015-2016 Socionext Inc. 552159d27SMasahiro Yamada * Author: Masahiro Yamada <yamada.masahiro@socionext.com> 652159d27SMasahiro Yamada * 7d9403001SMasahiro Yamada * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 852159d27SMasahiro Yamada */ 952159d27SMasahiro Yamada 10*b443fb42SMasahiro Yamada#include <dt-bindings/gpio/uniphier-gpio.h> 11*b443fb42SMasahiro Yamada#include <dt-bindings/thermal/thermal.h> 12*b443fb42SMasahiro Yamada 1352159d27SMasahiro Yamada/ { 1452159d27SMasahiro Yamada compatible = "socionext,uniphier-pxs2"; 15f16eda96SMasahiro Yamada #address-cells = <1>; 16f16eda96SMasahiro Yamada #size-cells = <1>; 1752159d27SMasahiro Yamada 1852159d27SMasahiro Yamada cpus { 1952159d27SMasahiro Yamada #address-cells = <1>; 2052159d27SMasahiro Yamada #size-cells = <0>; 2152159d27SMasahiro Yamada 22*b443fb42SMasahiro Yamada cpu0: cpu@0 { 2352159d27SMasahiro Yamada device_type = "cpu"; 2452159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 2552159d27SMasahiro Yamada reg = <0>; 26cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 2752159d27SMasahiro Yamada enable-method = "psci"; 2852159d27SMasahiro Yamada next-level-cache = <&l2>; 29cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 30*b443fb42SMasahiro Yamada #cooling-cells = <2>; 3152159d27SMasahiro Yamada }; 3252159d27SMasahiro Yamada 33*b443fb42SMasahiro Yamada cpu1: cpu@1 { 3452159d27SMasahiro Yamada device_type = "cpu"; 3552159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 3652159d27SMasahiro Yamada reg = <1>; 37cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 3852159d27SMasahiro Yamada enable-method = "psci"; 3952159d27SMasahiro Yamada next-level-cache = <&l2>; 40cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 4152159d27SMasahiro Yamada }; 4252159d27SMasahiro Yamada 43*b443fb42SMasahiro Yamada cpu2: cpu@2 { 4452159d27SMasahiro Yamada device_type = "cpu"; 4552159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 4652159d27SMasahiro Yamada reg = <2>; 47cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 4852159d27SMasahiro Yamada enable-method = "psci"; 4952159d27SMasahiro Yamada next-level-cache = <&l2>; 50cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 5152159d27SMasahiro Yamada }; 5252159d27SMasahiro Yamada 53*b443fb42SMasahiro Yamada cpu3: cpu@3 { 5452159d27SMasahiro Yamada device_type = "cpu"; 5552159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 5652159d27SMasahiro Yamada reg = <3>; 57cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 5852159d27SMasahiro Yamada enable-method = "psci"; 5952159d27SMasahiro Yamada next-level-cache = <&l2>; 60cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 6152159d27SMasahiro Yamada }; 6252159d27SMasahiro Yamada }; 6352159d27SMasahiro Yamada 64*b443fb42SMasahiro Yamada cpu_opp: opp-table { 65cd62214dSMasahiro Yamada compatible = "operating-points-v2"; 66cd62214dSMasahiro Yamada opp-shared; 67cd62214dSMasahiro Yamada 684e7f8de4SMasahiro Yamada opp-100000000 { 69cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <100000000>; 70cd62214dSMasahiro Yamada clock-latency-ns = <300>; 71cd62214dSMasahiro Yamada }; 724e7f8de4SMasahiro Yamada opp-150000000 { 73cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <150000000>; 74cd62214dSMasahiro Yamada clock-latency-ns = <300>; 75cd62214dSMasahiro Yamada }; 764e7f8de4SMasahiro Yamada opp-200000000 { 77cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <200000000>; 78cd62214dSMasahiro Yamada clock-latency-ns = <300>; 79cd62214dSMasahiro Yamada }; 804e7f8de4SMasahiro Yamada opp-300000000 { 81cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <300000000>; 82cd62214dSMasahiro Yamada clock-latency-ns = <300>; 83cd62214dSMasahiro Yamada }; 844e7f8de4SMasahiro Yamada opp-400000000 { 85cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <400000000>; 86cd62214dSMasahiro Yamada clock-latency-ns = <300>; 87cd62214dSMasahiro Yamada }; 884e7f8de4SMasahiro Yamada opp-600000000 { 89cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <600000000>; 90cd62214dSMasahiro Yamada clock-latency-ns = <300>; 91cd62214dSMasahiro Yamada }; 924e7f8de4SMasahiro Yamada opp-800000000 { 93cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <800000000>; 94cd62214dSMasahiro Yamada clock-latency-ns = <300>; 95cd62214dSMasahiro Yamada }; 964e7f8de4SMasahiro Yamada opp-1200000000 { 97cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <1200000000>; 98cd62214dSMasahiro Yamada clock-latency-ns = <300>; 99cd62214dSMasahiro Yamada }; 100cd62214dSMasahiro Yamada }; 101cd62214dSMasahiro Yamada 102cd62214dSMasahiro Yamada psci { 103cd62214dSMasahiro Yamada compatible = "arm,psci-0.2"; 104cd62214dSMasahiro Yamada method = "smc"; 105cd62214dSMasahiro Yamada }; 106cd62214dSMasahiro Yamada 10752159d27SMasahiro Yamada clocks { 108cd62214dSMasahiro Yamada refclk: ref { 109cd62214dSMasahiro Yamada compatible = "fixed-clock"; 110cd62214dSMasahiro Yamada #clock-cells = <0>; 111cd62214dSMasahiro Yamada clock-frequency = <25000000>; 112cd62214dSMasahiro Yamada }; 113cd62214dSMasahiro Yamada 114*b443fb42SMasahiro Yamada arm_timer_clk: arm-timer { 11552159d27SMasahiro Yamada #clock-cells = <0>; 11652159d27SMasahiro Yamada compatible = "fixed-clock"; 11752159d27SMasahiro Yamada clock-frequency = <50000000>; 11852159d27SMasahiro Yamada }; 11952159d27SMasahiro Yamada }; 12052159d27SMasahiro Yamada 121*b443fb42SMasahiro Yamada thermal-zones { 122*b443fb42SMasahiro Yamada cpu-thermal { 123*b443fb42SMasahiro Yamada polling-delay-passive = <250>; /* 250ms */ 124*b443fb42SMasahiro Yamada polling-delay = <1000>; /* 1000ms */ 125*b443fb42SMasahiro Yamada thermal-sensors = <&pvtctl>; 126*b443fb42SMasahiro Yamada 127*b443fb42SMasahiro Yamada trips { 128*b443fb42SMasahiro Yamada cpu_crit: cpu-crit { 129*b443fb42SMasahiro Yamada temperature = <95000>; /* 95C */ 130*b443fb42SMasahiro Yamada hysteresis = <2000>; 131*b443fb42SMasahiro Yamada type = "critical"; 132*b443fb42SMasahiro Yamada }; 133*b443fb42SMasahiro Yamada cpu_alert: cpu-alert { 134*b443fb42SMasahiro Yamada temperature = <85000>; /* 85C */ 135*b443fb42SMasahiro Yamada hysteresis = <2000>; 136*b443fb42SMasahiro Yamada type = "passive"; 137*b443fb42SMasahiro Yamada }; 138*b443fb42SMasahiro Yamada }; 139*b443fb42SMasahiro Yamada 140*b443fb42SMasahiro Yamada cooling-maps { 141*b443fb42SMasahiro Yamada map { 142*b443fb42SMasahiro Yamada trip = <&cpu_alert>; 143*b443fb42SMasahiro Yamada cooling-device = <&cpu0 144*b443fb42SMasahiro Yamada THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 145*b443fb42SMasahiro Yamada }; 146*b443fb42SMasahiro Yamada }; 147*b443fb42SMasahiro Yamada }; 148*b443fb42SMasahiro Yamada }; 149*b443fb42SMasahiro Yamada 150cd62214dSMasahiro Yamada soc { 151cd62214dSMasahiro Yamada compatible = "simple-bus"; 152cd62214dSMasahiro Yamada #address-cells = <1>; 153cd62214dSMasahiro Yamada #size-cells = <1>; 154cd62214dSMasahiro Yamada ranges; 155cd62214dSMasahiro Yamada interrupt-parent = <&intc>; 156cd62214dSMasahiro Yamada 15752159d27SMasahiro Yamada l2: l2-cache@500c0000 { 15852159d27SMasahiro Yamada compatible = "socionext,uniphier-system-cache"; 159cd62214dSMasahiro Yamada reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, 160cd62214dSMasahiro Yamada <0x506c0000 0x400>; 16152159d27SMasahiro Yamada interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>; 16252159d27SMasahiro Yamada cache-unified; 16352159d27SMasahiro Yamada cache-size = <(1280 * 1024)>; 16452159d27SMasahiro Yamada cache-sets = <512>; 16552159d27SMasahiro Yamada cache-line-size = <128>; 16652159d27SMasahiro Yamada cache-level = <2>; 16752159d27SMasahiro Yamada }; 16852159d27SMasahiro Yamada 169cd62214dSMasahiro Yamada serial0: serial@54006800 { 170cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 171cd62214dSMasahiro Yamada status = "disabled"; 172cd62214dSMasahiro Yamada reg = <0x54006800 0x40>; 173cd62214dSMasahiro Yamada interrupts = <0 33 4>; 174cd62214dSMasahiro Yamada pinctrl-names = "default"; 175cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart0>; 176cd62214dSMasahiro Yamada clocks = <&peri_clk 0>; 177cd62214dSMasahiro Yamada clock-frequency = <88900000>; 178*b443fb42SMasahiro Yamada resets = <&peri_rst 0>; 179cd62214dSMasahiro Yamada }; 180cd62214dSMasahiro Yamada 181cd62214dSMasahiro Yamada serial1: serial@54006900 { 182cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 183cd62214dSMasahiro Yamada status = "disabled"; 184cd62214dSMasahiro Yamada reg = <0x54006900 0x40>; 185cd62214dSMasahiro Yamada interrupts = <0 35 4>; 186cd62214dSMasahiro Yamada pinctrl-names = "default"; 187cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart1>; 188cd62214dSMasahiro Yamada clocks = <&peri_clk 1>; 189cd62214dSMasahiro Yamada clock-frequency = <88900000>; 190*b443fb42SMasahiro Yamada resets = <&peri_rst 1>; 191cd62214dSMasahiro Yamada }; 192cd62214dSMasahiro Yamada 193cd62214dSMasahiro Yamada serial2: serial@54006a00 { 194cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 195cd62214dSMasahiro Yamada status = "disabled"; 196cd62214dSMasahiro Yamada reg = <0x54006a00 0x40>; 197cd62214dSMasahiro Yamada interrupts = <0 37 4>; 198cd62214dSMasahiro Yamada pinctrl-names = "default"; 199cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart2>; 200cd62214dSMasahiro Yamada clocks = <&peri_clk 2>; 201cd62214dSMasahiro Yamada clock-frequency = <88900000>; 202*b443fb42SMasahiro Yamada resets = <&peri_rst 2>; 203cd62214dSMasahiro Yamada }; 204cd62214dSMasahiro Yamada 205cd62214dSMasahiro Yamada serial3: serial@54006b00 { 206cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 207cd62214dSMasahiro Yamada status = "disabled"; 208cd62214dSMasahiro Yamada reg = <0x54006b00 0x40>; 209cd62214dSMasahiro Yamada interrupts = <0 177 4>; 210cd62214dSMasahiro Yamada pinctrl-names = "default"; 211cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart3>; 212cd62214dSMasahiro Yamada clocks = <&peri_clk 3>; 213cd62214dSMasahiro Yamada clock-frequency = <88900000>; 214*b443fb42SMasahiro Yamada resets = <&peri_rst 3>; 215cd62214dSMasahiro Yamada }; 216cd62214dSMasahiro Yamada 2170f72b74bSMasahiro Yamada gpio: gpio@55000000 { 21852159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 2190f72b74bSMasahiro Yamada reg = <0x55000000 0x200>; 2200f72b74bSMasahiro Yamada interrupt-parent = <&aidet>; 2210f72b74bSMasahiro Yamada interrupt-controller; 2220f72b74bSMasahiro Yamada #interrupt-cells = <2>; 22352159d27SMasahiro Yamada gpio-controller; 22452159d27SMasahiro Yamada #gpio-cells = <2>; 2250f72b74bSMasahiro Yamada gpio-ranges = <&pinctrl 0 0 0>, 2260f72b74bSMasahiro Yamada <&pinctrl 96 0 0>; 2270f72b74bSMasahiro Yamada gpio-ranges-group-names = "gpio_range0", 2280f72b74bSMasahiro Yamada "gpio_range1"; 2290f72b74bSMasahiro Yamada ngpios = <232>; 230*b443fb42SMasahiro Yamada socionext,interrupt-ranges = <0 48 16>, <16 154 5>, 231*b443fb42SMasahiro Yamada <21 217 3>; 23252159d27SMasahiro Yamada }; 23352159d27SMasahiro Yamada 23452159d27SMasahiro Yamada i2c0: i2c@58780000 { 23552159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 23652159d27SMasahiro Yamada status = "disabled"; 23752159d27SMasahiro Yamada reg = <0x58780000 0x80>; 23852159d27SMasahiro Yamada #address-cells = <1>; 23952159d27SMasahiro Yamada #size-cells = <0>; 24052159d27SMasahiro Yamada interrupts = <0 41 4>; 24152159d27SMasahiro Yamada pinctrl-names = "default"; 24252159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c0>; 2437317a940SMasahiro Yamada clocks = <&peri_clk 4>; 244*b443fb42SMasahiro Yamada resets = <&peri_rst 4>; 24552159d27SMasahiro Yamada clock-frequency = <100000>; 24652159d27SMasahiro Yamada }; 24752159d27SMasahiro Yamada 24852159d27SMasahiro Yamada i2c1: i2c@58781000 { 24952159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 25052159d27SMasahiro Yamada status = "disabled"; 25152159d27SMasahiro Yamada reg = <0x58781000 0x80>; 25252159d27SMasahiro Yamada #address-cells = <1>; 25352159d27SMasahiro Yamada #size-cells = <0>; 25452159d27SMasahiro Yamada interrupts = <0 42 4>; 25552159d27SMasahiro Yamada pinctrl-names = "default"; 25652159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c1>; 2577317a940SMasahiro Yamada clocks = <&peri_clk 5>; 258*b443fb42SMasahiro Yamada resets = <&peri_rst 5>; 25952159d27SMasahiro Yamada clock-frequency = <100000>; 26052159d27SMasahiro Yamada }; 26152159d27SMasahiro Yamada 26252159d27SMasahiro Yamada i2c2: i2c@58782000 { 26352159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 26452159d27SMasahiro Yamada status = "disabled"; 26552159d27SMasahiro Yamada reg = <0x58782000 0x80>; 26652159d27SMasahiro Yamada #address-cells = <1>; 26752159d27SMasahiro Yamada #size-cells = <0>; 268cd62214dSMasahiro Yamada interrupts = <0 43 4>; 26952159d27SMasahiro Yamada pinctrl-names = "default"; 27052159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c2>; 2717317a940SMasahiro Yamada clocks = <&peri_clk 6>; 272*b443fb42SMasahiro Yamada resets = <&peri_rst 6>; 27352159d27SMasahiro Yamada clock-frequency = <100000>; 27452159d27SMasahiro Yamada }; 27552159d27SMasahiro Yamada 27652159d27SMasahiro Yamada i2c3: i2c@58783000 { 27752159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 27852159d27SMasahiro Yamada status = "disabled"; 27952159d27SMasahiro Yamada reg = <0x58783000 0x80>; 28052159d27SMasahiro Yamada #address-cells = <1>; 28152159d27SMasahiro Yamada #size-cells = <0>; 28252159d27SMasahiro Yamada interrupts = <0 44 4>; 28352159d27SMasahiro Yamada pinctrl-names = "default"; 28452159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c3>; 2857317a940SMasahiro Yamada clocks = <&peri_clk 7>; 286*b443fb42SMasahiro Yamada resets = <&peri_rst 7>; 28752159d27SMasahiro Yamada clock-frequency = <100000>; 28852159d27SMasahiro Yamada }; 28952159d27SMasahiro Yamada 29052159d27SMasahiro Yamada /* chip-internal connection for DMD */ 29152159d27SMasahiro Yamada i2c4: i2c@58784000 { 29252159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 29352159d27SMasahiro Yamada reg = <0x58784000 0x80>; 29452159d27SMasahiro Yamada #address-cells = <1>; 29552159d27SMasahiro Yamada #size-cells = <0>; 29652159d27SMasahiro Yamada interrupts = <0 45 4>; 2977317a940SMasahiro Yamada clocks = <&peri_clk 8>; 298*b443fb42SMasahiro Yamada resets = <&peri_rst 8>; 29952159d27SMasahiro Yamada clock-frequency = <400000>; 30052159d27SMasahiro Yamada }; 30152159d27SMasahiro Yamada 30252159d27SMasahiro Yamada /* chip-internal connection for STM */ 30352159d27SMasahiro Yamada i2c5: i2c@58785000 { 30452159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 30552159d27SMasahiro Yamada reg = <0x58785000 0x80>; 30652159d27SMasahiro Yamada #address-cells = <1>; 30752159d27SMasahiro Yamada #size-cells = <0>; 30852159d27SMasahiro Yamada interrupts = <0 25 4>; 3097317a940SMasahiro Yamada clocks = <&peri_clk 9>; 310*b443fb42SMasahiro Yamada resets = <&peri_rst 9>; 31152159d27SMasahiro Yamada clock-frequency = <400000>; 31252159d27SMasahiro Yamada }; 31352159d27SMasahiro Yamada 31452159d27SMasahiro Yamada /* chip-internal connection for HDMI */ 31552159d27SMasahiro Yamada i2c6: i2c@58786000 { 31652159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 31752159d27SMasahiro Yamada reg = <0x58786000 0x80>; 31852159d27SMasahiro Yamada #address-cells = <1>; 31952159d27SMasahiro Yamada #size-cells = <0>; 32052159d27SMasahiro Yamada interrupts = <0 26 4>; 3217317a940SMasahiro Yamada clocks = <&peri_clk 10>; 322*b443fb42SMasahiro Yamada resets = <&peri_rst 10>; 32352159d27SMasahiro Yamada clock-frequency = <400000>; 32452159d27SMasahiro Yamada }; 32552159d27SMasahiro Yamada 326cd62214dSMasahiro Yamada system_bus: system-bus@58c00000 { 327cd62214dSMasahiro Yamada compatible = "socionext,uniphier-system-bus"; 328cd62214dSMasahiro Yamada status = "disabled"; 329cd62214dSMasahiro Yamada reg = <0x58c00000 0x400>; 330cd62214dSMasahiro Yamada #address-cells = <2>; 331cd62214dSMasahiro Yamada #size-cells = <1>; 332cd62214dSMasahiro Yamada pinctrl-names = "default"; 333cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_system_bus>; 334cd62214dSMasahiro Yamada }; 335cd62214dSMasahiro Yamada 336abb6ac25SMasahiro Yamada smpctrl@59801000 { 337cd62214dSMasahiro Yamada compatible = "socionext,uniphier-smpctrl"; 338cd62214dSMasahiro Yamada reg = <0x59801000 0x400>; 339cd62214dSMasahiro Yamada }; 340cd62214dSMasahiro Yamada 341cd62214dSMasahiro Yamada sdctrl@59810000 { 342cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sdctrl", 343cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 3446c9e46efSMasahiro Yamada reg = <0x59810000 0x400>; 345cd62214dSMasahiro Yamada 346cd62214dSMasahiro Yamada sd_clk: clock { 347cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-clock"; 348cd62214dSMasahiro Yamada #clock-cells = <1>; 349cd62214dSMasahiro Yamada }; 350cd62214dSMasahiro Yamada 351cd62214dSMasahiro Yamada sd_rst: reset { 352cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-reset"; 353cd62214dSMasahiro Yamada #reset-cells = <1>; 354cd62214dSMasahiro Yamada }; 355cd62214dSMasahiro Yamada }; 356cd62214dSMasahiro Yamada 357cd62214dSMasahiro Yamada perictrl@59820000 { 358cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-perictrl", 359cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 360cd62214dSMasahiro Yamada reg = <0x59820000 0x200>; 361cd62214dSMasahiro Yamada 362cd62214dSMasahiro Yamada peri_clk: clock { 363cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-clock"; 364cd62214dSMasahiro Yamada #clock-cells = <1>; 365cd62214dSMasahiro Yamada }; 366cd62214dSMasahiro Yamada 367cd62214dSMasahiro Yamada peri_rst: reset { 368cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-reset"; 369cd62214dSMasahiro Yamada #reset-cells = <1>; 370cd62214dSMasahiro Yamada }; 371cd62214dSMasahiro Yamada }; 372cd62214dSMasahiro Yamada 37352159d27SMasahiro Yamada emmc: sdhc@5a000000 { 37452159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 37552159d27SMasahiro Yamada status = "disabled"; 37652159d27SMasahiro Yamada reg = <0x5a000000 0x800>; 37752159d27SMasahiro Yamada interrupts = <0 78 4>; 37852159d27SMasahiro Yamada pinctrl-names = "default"; 37952159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_emmc>; 380cd62214dSMasahiro Yamada clocks = <&sd_clk 1>; 381cd62214dSMasahiro Yamada reset-names = "host"; 382cd62214dSMasahiro Yamada resets = <&sd_rst 1>; 38352159d27SMasahiro Yamada bus-width = <8>; 38452159d27SMasahiro Yamada non-removable; 385cd62214dSMasahiro Yamada cap-mmc-highspeed; 386cd62214dSMasahiro Yamada cap-mmc-hw-reset; 387cd62214dSMasahiro Yamada no-3-3-v; 38852159d27SMasahiro Yamada }; 38952159d27SMasahiro Yamada 39052159d27SMasahiro Yamada sd: sdhc@5a400000 { 39152159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 39252159d27SMasahiro Yamada status = "disabled"; 39352159d27SMasahiro Yamada reg = <0x5a400000 0x800>; 39452159d27SMasahiro Yamada interrupts = <0 76 4>; 39552159d27SMasahiro Yamada pinctrl-names = "default", "1.8v"; 39652159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_sd>; 39752159d27SMasahiro Yamada pinctrl-1 = <&pinctrl_sd_1v8>; 398cd62214dSMasahiro Yamada clocks = <&sd_clk 0>; 39952159d27SMasahiro Yamada reset-names = "host"; 400cd62214dSMasahiro Yamada resets = <&sd_rst 0>; 40152159d27SMasahiro Yamada bus-width = <4>; 402cd62214dSMasahiro Yamada cap-sd-highspeed; 403cd62214dSMasahiro Yamada sd-uhs-sdr12; 404cd62214dSMasahiro Yamada sd-uhs-sdr25; 405cd62214dSMasahiro Yamada sd-uhs-sdr50; 406cd62214dSMasahiro Yamada }; 407cd62214dSMasahiro Yamada 408cd62214dSMasahiro Yamada soc-glue@5f800000 { 409cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-soc-glue", 410cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 411cd62214dSMasahiro Yamada reg = <0x5f800000 0x2000>; 412cd62214dSMasahiro Yamada 413cd62214dSMasahiro Yamada pinctrl: pinctrl { 414cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-pinctrl"; 415cd62214dSMasahiro Yamada }; 41652159d27SMasahiro Yamada }; 41752159d27SMasahiro Yamada 4186c9e46efSMasahiro Yamada aidet: aidet@5fc20000 { 4196c9e46efSMasahiro Yamada compatible = "socionext,uniphier-pxs2-aidet"; 42052159d27SMasahiro Yamada reg = <0x5fc20000 0x200>; 4216c9e46efSMasahiro Yamada interrupt-controller; 4226c9e46efSMasahiro Yamada #interrupt-cells = <2>; 42352159d27SMasahiro Yamada }; 42452159d27SMasahiro Yamada 425cd62214dSMasahiro Yamada timer@60000200 { 426cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-global-timer"; 427cd62214dSMasahiro Yamada reg = <0x60000200 0x20>; 428cd62214dSMasahiro Yamada interrupts = <1 11 0xf04>; 429cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 430cd62214dSMasahiro Yamada }; 431cd62214dSMasahiro Yamada 432cd62214dSMasahiro Yamada timer@60000600 { 433cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-twd-timer"; 434cd62214dSMasahiro Yamada reg = <0x60000600 0x20>; 435cd62214dSMasahiro Yamada interrupts = <1 13 0xf04>; 436cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 437cd62214dSMasahiro Yamada }; 438cd62214dSMasahiro Yamada 439cd62214dSMasahiro Yamada intc: interrupt-controller@60001000 { 440cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-gic"; 441cd62214dSMasahiro Yamada reg = <0x60001000 0x1000>, 442cd62214dSMasahiro Yamada <0x60000100 0x100>; 443cd62214dSMasahiro Yamada #interrupt-cells = <3>; 444cd62214dSMasahiro Yamada interrupt-controller; 445cd62214dSMasahiro Yamada }; 446cd62214dSMasahiro Yamada 447cd62214dSMasahiro Yamada sysctrl@61840000 { 448cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sysctrl", 449cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 4507317a940SMasahiro Yamada reg = <0x61840000 0x10000>; 451cd62214dSMasahiro Yamada 452cd62214dSMasahiro Yamada sys_clk: clock { 453cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-clock"; 454cd62214dSMasahiro Yamada #clock-cells = <1>; 455cd62214dSMasahiro Yamada }; 456cd62214dSMasahiro Yamada 457cd62214dSMasahiro Yamada sys_rst: reset { 458cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-reset"; 459cd62214dSMasahiro Yamada #reset-cells = <1>; 460cd62214dSMasahiro Yamada }; 461*b443fb42SMasahiro Yamada 462*b443fb42SMasahiro Yamada pvtctl: pvtctl { 463*b443fb42SMasahiro Yamada compatible = "socionext,uniphier-pxs2-thermal"; 464*b443fb42SMasahiro Yamada interrupts = <0 3 4>; 465*b443fb42SMasahiro Yamada #thermal-sensor-cells = <0>; 466*b443fb42SMasahiro Yamada socionext,tmod-calibration = <0x0f86 0x6844>; 467*b443fb42SMasahiro Yamada }; 468cd62214dSMasahiro Yamada }; 469cd62214dSMasahiro Yamada 470cd62214dSMasahiro Yamada usb0: usb@65b00000 { 471cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 47252159d27SMasahiro Yamada status = "disabled"; 473cd62214dSMasahiro Yamada reg = <0x65b00000 0x1000>; 474cd62214dSMasahiro Yamada #address-cells = <1>; 475cd62214dSMasahiro Yamada #size-cells = <1>; 476cd62214dSMasahiro Yamada ranges; 47752159d27SMasahiro Yamada pinctrl-names = "default"; 47852159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>; 479cd62214dSMasahiro Yamada dwc3@65a00000 { 480cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 481cd62214dSMasahiro Yamada reg = <0x65a00000 0x10000>; 482cd62214dSMasahiro Yamada interrupts = <0 134 4>; 4833444d1d4SMasahiro Yamada dr_mode = "host"; 484cd62214dSMasahiro Yamada tx-fifo-resize; 485cd62214dSMasahiro Yamada }; 48652159d27SMasahiro Yamada }; 48752159d27SMasahiro Yamada 488cd62214dSMasahiro Yamada usb1: usb@65d00000 { 489cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 49052159d27SMasahiro Yamada status = "disabled"; 491cd62214dSMasahiro Yamada reg = <0x65d00000 0x1000>; 492cd62214dSMasahiro Yamada #address-cells = <1>; 493cd62214dSMasahiro Yamada #size-cells = <1>; 494cd62214dSMasahiro Yamada ranges; 49552159d27SMasahiro Yamada pinctrl-names = "default"; 49652159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>; 497cd62214dSMasahiro Yamada dwc3@65c00000 { 498cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 499cd62214dSMasahiro Yamada reg = <0x65c00000 0x10000>; 500cd62214dSMasahiro Yamada interrupts = <0 137 4>; 5013444d1d4SMasahiro Yamada dr_mode = "host"; 502cd62214dSMasahiro Yamada tx-fifo-resize; 50352159d27SMasahiro Yamada }; 50452159d27SMasahiro Yamada }; 50552159d27SMasahiro Yamada 506cd62214dSMasahiro Yamada nand: nand@68000000 { 5074e7f8de4SMasahiro Yamada compatible = "socionext,uniphier-denali-nand-v5b"; 508cd62214dSMasahiro Yamada status = "disabled"; 509cd62214dSMasahiro Yamada reg-names = "nand_data", "denali_reg"; 510cd62214dSMasahiro Yamada reg = <0x68000000 0x20>, <0x68100000 0x1000>; 511cd62214dSMasahiro Yamada interrupts = <0 65 4>; 512cd62214dSMasahiro Yamada pinctrl-names = "default"; 5136c9e46efSMasahiro Yamada pinctrl-0 = <&pinctrl_nand2cs>; 514cd62214dSMasahiro Yamada clocks = <&sys_clk 2>; 515*b443fb42SMasahiro Yamada resets = <&sys_rst 2>; 516cd62214dSMasahiro Yamada }; 517cd62214dSMasahiro Yamada }; 51852159d27SMasahiro Yamada}; 51952159d27SMasahiro Yamada 5206c9e46efSMasahiro Yamada#include "uniphier-pinctrl.dtsi" 521