13e98fc12SMasahiro Yamada// SPDX-License-Identifier: GPL-2.0+ OR MIT 23e98fc12SMasahiro Yamada// 33e98fc12SMasahiro Yamada// Device Tree Source for UniPhier PXs2 SoC 43e98fc12SMasahiro Yamada// 53e98fc12SMasahiro Yamada// Copyright (C) 2015-2016 Socionext Inc. 63e98fc12SMasahiro Yamada// Author: Masahiro Yamada <yamada.masahiro@socionext.com> 752159d27SMasahiro Yamada 8b443fb42SMasahiro Yamada#include <dt-bindings/gpio/uniphier-gpio.h> 9b443fb42SMasahiro Yamada#include <dt-bindings/thermal/thermal.h> 10b443fb42SMasahiro Yamada 1152159d27SMasahiro Yamada/ { 1252159d27SMasahiro Yamada compatible = "socionext,uniphier-pxs2"; 13f16eda96SMasahiro Yamada #address-cells = <1>; 14f16eda96SMasahiro Yamada #size-cells = <1>; 1552159d27SMasahiro Yamada 1652159d27SMasahiro Yamada cpus { 1752159d27SMasahiro Yamada #address-cells = <1>; 1852159d27SMasahiro Yamada #size-cells = <0>; 1952159d27SMasahiro Yamada 20b443fb42SMasahiro Yamada cpu0: cpu@0 { 2152159d27SMasahiro Yamada device_type = "cpu"; 2252159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 2352159d27SMasahiro Yamada reg = <0>; 24cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 2552159d27SMasahiro Yamada enable-method = "psci"; 2652159d27SMasahiro Yamada next-level-cache = <&l2>; 27cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 28b443fb42SMasahiro Yamada #cooling-cells = <2>; 2952159d27SMasahiro Yamada }; 3052159d27SMasahiro Yamada 31b443fb42SMasahiro Yamada cpu1: cpu@1 { 3252159d27SMasahiro Yamada device_type = "cpu"; 3352159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 3452159d27SMasahiro Yamada reg = <1>; 35cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 3652159d27SMasahiro Yamada enable-method = "psci"; 3752159d27SMasahiro Yamada next-level-cache = <&l2>; 38cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 3952159d27SMasahiro Yamada }; 4052159d27SMasahiro Yamada 41b443fb42SMasahiro Yamada cpu2: cpu@2 { 4252159d27SMasahiro Yamada device_type = "cpu"; 4352159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 4452159d27SMasahiro Yamada reg = <2>; 45cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 4652159d27SMasahiro Yamada enable-method = "psci"; 4752159d27SMasahiro Yamada next-level-cache = <&l2>; 48cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 4952159d27SMasahiro Yamada }; 5052159d27SMasahiro Yamada 51b443fb42SMasahiro Yamada cpu3: cpu@3 { 5252159d27SMasahiro Yamada device_type = "cpu"; 5352159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 5452159d27SMasahiro Yamada reg = <3>; 55cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 5652159d27SMasahiro Yamada enable-method = "psci"; 5752159d27SMasahiro Yamada next-level-cache = <&l2>; 58cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 5952159d27SMasahiro Yamada }; 6052159d27SMasahiro Yamada }; 6152159d27SMasahiro Yamada 62b443fb42SMasahiro Yamada cpu_opp: opp-table { 63cd62214dSMasahiro Yamada compatible = "operating-points-v2"; 64cd62214dSMasahiro Yamada opp-shared; 65cd62214dSMasahiro Yamada 664e7f8de4SMasahiro Yamada opp-100000000 { 67cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <100000000>; 68cd62214dSMasahiro Yamada clock-latency-ns = <300>; 69cd62214dSMasahiro Yamada }; 704e7f8de4SMasahiro Yamada opp-150000000 { 71cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <150000000>; 72cd62214dSMasahiro Yamada clock-latency-ns = <300>; 73cd62214dSMasahiro Yamada }; 744e7f8de4SMasahiro Yamada opp-200000000 { 75cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <200000000>; 76cd62214dSMasahiro Yamada clock-latency-ns = <300>; 77cd62214dSMasahiro Yamada }; 784e7f8de4SMasahiro Yamada opp-300000000 { 79cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <300000000>; 80cd62214dSMasahiro Yamada clock-latency-ns = <300>; 81cd62214dSMasahiro Yamada }; 824e7f8de4SMasahiro Yamada opp-400000000 { 83cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <400000000>; 84cd62214dSMasahiro Yamada clock-latency-ns = <300>; 85cd62214dSMasahiro Yamada }; 864e7f8de4SMasahiro Yamada opp-600000000 { 87cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <600000000>; 88cd62214dSMasahiro Yamada clock-latency-ns = <300>; 89cd62214dSMasahiro Yamada }; 904e7f8de4SMasahiro Yamada opp-800000000 { 91cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <800000000>; 92cd62214dSMasahiro Yamada clock-latency-ns = <300>; 93cd62214dSMasahiro Yamada }; 944e7f8de4SMasahiro Yamada opp-1200000000 { 95cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <1200000000>; 96cd62214dSMasahiro Yamada clock-latency-ns = <300>; 97cd62214dSMasahiro Yamada }; 98cd62214dSMasahiro Yamada }; 99cd62214dSMasahiro Yamada 100cd62214dSMasahiro Yamada psci { 101cd62214dSMasahiro Yamada compatible = "arm,psci-0.2"; 102cd62214dSMasahiro Yamada method = "smc"; 103cd62214dSMasahiro Yamada }; 104cd62214dSMasahiro Yamada 10552159d27SMasahiro Yamada clocks { 106cd62214dSMasahiro Yamada refclk: ref { 107cd62214dSMasahiro Yamada compatible = "fixed-clock"; 108cd62214dSMasahiro Yamada #clock-cells = <0>; 109cd62214dSMasahiro Yamada clock-frequency = <25000000>; 110cd62214dSMasahiro Yamada }; 111cd62214dSMasahiro Yamada 112b443fb42SMasahiro Yamada arm_timer_clk: arm-timer { 11352159d27SMasahiro Yamada #clock-cells = <0>; 11452159d27SMasahiro Yamada compatible = "fixed-clock"; 11552159d27SMasahiro Yamada clock-frequency = <50000000>; 11652159d27SMasahiro Yamada }; 11752159d27SMasahiro Yamada }; 11852159d27SMasahiro Yamada 119b443fb42SMasahiro Yamada thermal-zones { 120b443fb42SMasahiro Yamada cpu-thermal { 121b443fb42SMasahiro Yamada polling-delay-passive = <250>; /* 250ms */ 122b443fb42SMasahiro Yamada polling-delay = <1000>; /* 1000ms */ 123b443fb42SMasahiro Yamada thermal-sensors = <&pvtctl>; 124b443fb42SMasahiro Yamada 125b443fb42SMasahiro Yamada trips { 126b443fb42SMasahiro Yamada cpu_crit: cpu-crit { 127b443fb42SMasahiro Yamada temperature = <95000>; /* 95C */ 128b443fb42SMasahiro Yamada hysteresis = <2000>; 129b443fb42SMasahiro Yamada type = "critical"; 130b443fb42SMasahiro Yamada }; 131b443fb42SMasahiro Yamada cpu_alert: cpu-alert { 132b443fb42SMasahiro Yamada temperature = <85000>; /* 85C */ 133b443fb42SMasahiro Yamada hysteresis = <2000>; 134b443fb42SMasahiro Yamada type = "passive"; 135b443fb42SMasahiro Yamada }; 136b443fb42SMasahiro Yamada }; 137b443fb42SMasahiro Yamada 138b443fb42SMasahiro Yamada cooling-maps { 139b443fb42SMasahiro Yamada map { 140b443fb42SMasahiro Yamada trip = <&cpu_alert>; 141b443fb42SMasahiro Yamada cooling-device = <&cpu0 142b443fb42SMasahiro Yamada THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 143b443fb42SMasahiro Yamada }; 144b443fb42SMasahiro Yamada }; 145b443fb42SMasahiro Yamada }; 146b443fb42SMasahiro Yamada }; 147b443fb42SMasahiro Yamada 148cd62214dSMasahiro Yamada soc { 149cd62214dSMasahiro Yamada compatible = "simple-bus"; 150cd62214dSMasahiro Yamada #address-cells = <1>; 151cd62214dSMasahiro Yamada #size-cells = <1>; 152cd62214dSMasahiro Yamada ranges; 153cd62214dSMasahiro Yamada interrupt-parent = <&intc>; 154cd62214dSMasahiro Yamada 15552159d27SMasahiro Yamada l2: l2-cache@500c0000 { 15652159d27SMasahiro Yamada compatible = "socionext,uniphier-system-cache"; 157cd62214dSMasahiro Yamada reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, 158cd62214dSMasahiro Yamada <0x506c0000 0x400>; 15952159d27SMasahiro Yamada interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>; 16052159d27SMasahiro Yamada cache-unified; 16152159d27SMasahiro Yamada cache-size = <(1280 * 1024)>; 16252159d27SMasahiro Yamada cache-sets = <512>; 16352159d27SMasahiro Yamada cache-line-size = <128>; 16452159d27SMasahiro Yamada cache-level = <2>; 16552159d27SMasahiro Yamada }; 16652159d27SMasahiro Yamada 167cd62214dSMasahiro Yamada serial0: serial@54006800 { 168cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 169cd62214dSMasahiro Yamada status = "disabled"; 170cd62214dSMasahiro Yamada reg = <0x54006800 0x40>; 171cd62214dSMasahiro Yamada interrupts = <0 33 4>; 172cd62214dSMasahiro Yamada pinctrl-names = "default"; 173cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart0>; 174cd62214dSMasahiro Yamada clocks = <&peri_clk 0>; 175cd62214dSMasahiro Yamada clock-frequency = <88900000>; 176b443fb42SMasahiro Yamada resets = <&peri_rst 0>; 177cd62214dSMasahiro Yamada }; 178cd62214dSMasahiro Yamada 179cd62214dSMasahiro Yamada serial1: serial@54006900 { 180cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 181cd62214dSMasahiro Yamada status = "disabled"; 182cd62214dSMasahiro Yamada reg = <0x54006900 0x40>; 183cd62214dSMasahiro Yamada interrupts = <0 35 4>; 184cd62214dSMasahiro Yamada pinctrl-names = "default"; 185cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart1>; 186cd62214dSMasahiro Yamada clocks = <&peri_clk 1>; 187cd62214dSMasahiro Yamada clock-frequency = <88900000>; 188b443fb42SMasahiro Yamada resets = <&peri_rst 1>; 189cd62214dSMasahiro Yamada }; 190cd62214dSMasahiro Yamada 191cd62214dSMasahiro Yamada serial2: serial@54006a00 { 192cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 193cd62214dSMasahiro Yamada status = "disabled"; 194cd62214dSMasahiro Yamada reg = <0x54006a00 0x40>; 195cd62214dSMasahiro Yamada interrupts = <0 37 4>; 196cd62214dSMasahiro Yamada pinctrl-names = "default"; 197cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart2>; 198cd62214dSMasahiro Yamada clocks = <&peri_clk 2>; 199cd62214dSMasahiro Yamada clock-frequency = <88900000>; 200b443fb42SMasahiro Yamada resets = <&peri_rst 2>; 201cd62214dSMasahiro Yamada }; 202cd62214dSMasahiro Yamada 203cd62214dSMasahiro Yamada serial3: serial@54006b00 { 204cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 205cd62214dSMasahiro Yamada status = "disabled"; 206cd62214dSMasahiro Yamada reg = <0x54006b00 0x40>; 207cd62214dSMasahiro Yamada interrupts = <0 177 4>; 208cd62214dSMasahiro Yamada pinctrl-names = "default"; 209cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart3>; 210cd62214dSMasahiro Yamada clocks = <&peri_clk 3>; 211cd62214dSMasahiro Yamada clock-frequency = <88900000>; 212b443fb42SMasahiro Yamada resets = <&peri_rst 3>; 213cd62214dSMasahiro Yamada }; 214cd62214dSMasahiro Yamada 2150f72b74bSMasahiro Yamada gpio: gpio@55000000 { 21652159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 2170f72b74bSMasahiro Yamada reg = <0x55000000 0x200>; 2180f72b74bSMasahiro Yamada interrupt-parent = <&aidet>; 2190f72b74bSMasahiro Yamada interrupt-controller; 2200f72b74bSMasahiro Yamada #interrupt-cells = <2>; 22152159d27SMasahiro Yamada gpio-controller; 22252159d27SMasahiro Yamada #gpio-cells = <2>; 2230f72b74bSMasahiro Yamada gpio-ranges = <&pinctrl 0 0 0>, 2240f72b74bSMasahiro Yamada <&pinctrl 96 0 0>; 2250f72b74bSMasahiro Yamada gpio-ranges-group-names = "gpio_range0", 2260f72b74bSMasahiro Yamada "gpio_range1"; 2270f72b74bSMasahiro Yamada ngpios = <232>; 228b443fb42SMasahiro Yamada socionext,interrupt-ranges = <0 48 16>, <16 154 5>, 229b443fb42SMasahiro Yamada <21 217 3>; 23052159d27SMasahiro Yamada }; 23152159d27SMasahiro Yamada 2323e98fc12SMasahiro Yamada audio@56000000 { 2333e98fc12SMasahiro Yamada compatible = "socionext,uniphier-pxs2-aio"; 2343e98fc12SMasahiro Yamada reg = <0x56000000 0x80000>; 2353e98fc12SMasahiro Yamada interrupts = <0 144 4>; 2363e98fc12SMasahiro Yamada pinctrl-names = "default"; 2373e98fc12SMasahiro Yamada pinctrl-0 = <&pinctrl_ain1>, 2383e98fc12SMasahiro Yamada <&pinctrl_ain2>, 2393e98fc12SMasahiro Yamada <&pinctrl_ainiec1>, 2403e98fc12SMasahiro Yamada <&pinctrl_aout2>, 2413e98fc12SMasahiro Yamada <&pinctrl_aout3>, 2423e98fc12SMasahiro Yamada <&pinctrl_aoutiec1>, 2433e98fc12SMasahiro Yamada <&pinctrl_aoutiec2>; 2443e98fc12SMasahiro Yamada clock-names = "aio"; 2453e98fc12SMasahiro Yamada clocks = <&sys_clk 40>; 2463e98fc12SMasahiro Yamada reset-names = "aio"; 2473e98fc12SMasahiro Yamada resets = <&sys_rst 40>; 2483e98fc12SMasahiro Yamada #sound-dai-cells = <1>; 2493e98fc12SMasahiro Yamada socionext,syscon = <&soc_glue>; 2503e98fc12SMasahiro Yamada 2513e98fc12SMasahiro Yamada i2s_port0: port@0 { 2523e98fc12SMasahiro Yamada i2s_hdmi: endpoint { 2533e98fc12SMasahiro Yamada }; 2543e98fc12SMasahiro Yamada }; 2553e98fc12SMasahiro Yamada 2563e98fc12SMasahiro Yamada i2s_port1: port@1 { 2573e98fc12SMasahiro Yamada i2s_line: endpoint { 2583e98fc12SMasahiro Yamada }; 2593e98fc12SMasahiro Yamada }; 2603e98fc12SMasahiro Yamada 2613e98fc12SMasahiro Yamada i2s_port2: port@2 { 2623e98fc12SMasahiro Yamada i2s_aux: endpoint { 2633e98fc12SMasahiro Yamada }; 2643e98fc12SMasahiro Yamada }; 2653e98fc12SMasahiro Yamada 2663e98fc12SMasahiro Yamada spdif_port0: port@3 { 2673e98fc12SMasahiro Yamada spdif_hiecout1: endpoint { 2683e98fc12SMasahiro Yamada }; 2693e98fc12SMasahiro Yamada }; 2703e98fc12SMasahiro Yamada 2713e98fc12SMasahiro Yamada spdif_port1: port@4 { 2723e98fc12SMasahiro Yamada spdif_iecout1: endpoint { 2733e98fc12SMasahiro Yamada }; 2743e98fc12SMasahiro Yamada }; 2753e98fc12SMasahiro Yamada 2763e98fc12SMasahiro Yamada comp_spdif_port0: port@5 { 2773e98fc12SMasahiro Yamada comp_spdif_hiecout1: endpoint { 2783e98fc12SMasahiro Yamada }; 2793e98fc12SMasahiro Yamada }; 2803e98fc12SMasahiro Yamada 2813e98fc12SMasahiro Yamada comp_spdif_port1: port@6 { 2823e98fc12SMasahiro Yamada comp_spdif_iecout1: endpoint { 2833e98fc12SMasahiro Yamada }; 2843e98fc12SMasahiro Yamada }; 2853e98fc12SMasahiro Yamada }; 2863e98fc12SMasahiro Yamada 28752159d27SMasahiro Yamada i2c0: i2c@58780000 { 28852159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 28952159d27SMasahiro Yamada status = "disabled"; 29052159d27SMasahiro Yamada reg = <0x58780000 0x80>; 29152159d27SMasahiro Yamada #address-cells = <1>; 29252159d27SMasahiro Yamada #size-cells = <0>; 29352159d27SMasahiro Yamada interrupts = <0 41 4>; 29452159d27SMasahiro Yamada pinctrl-names = "default"; 29552159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c0>; 2967317a940SMasahiro Yamada clocks = <&peri_clk 4>; 297b443fb42SMasahiro Yamada resets = <&peri_rst 4>; 29852159d27SMasahiro Yamada clock-frequency = <100000>; 29952159d27SMasahiro Yamada }; 30052159d27SMasahiro Yamada 30152159d27SMasahiro Yamada i2c1: i2c@58781000 { 30252159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 30352159d27SMasahiro Yamada status = "disabled"; 30452159d27SMasahiro Yamada reg = <0x58781000 0x80>; 30552159d27SMasahiro Yamada #address-cells = <1>; 30652159d27SMasahiro Yamada #size-cells = <0>; 30752159d27SMasahiro Yamada interrupts = <0 42 4>; 30852159d27SMasahiro Yamada pinctrl-names = "default"; 30952159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c1>; 3107317a940SMasahiro Yamada clocks = <&peri_clk 5>; 311b443fb42SMasahiro Yamada resets = <&peri_rst 5>; 31252159d27SMasahiro Yamada clock-frequency = <100000>; 31352159d27SMasahiro Yamada }; 31452159d27SMasahiro Yamada 31552159d27SMasahiro Yamada i2c2: i2c@58782000 { 31652159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 31752159d27SMasahiro Yamada status = "disabled"; 31852159d27SMasahiro Yamada reg = <0x58782000 0x80>; 31952159d27SMasahiro Yamada #address-cells = <1>; 32052159d27SMasahiro Yamada #size-cells = <0>; 321cd62214dSMasahiro Yamada interrupts = <0 43 4>; 32252159d27SMasahiro Yamada pinctrl-names = "default"; 32352159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c2>; 3247317a940SMasahiro Yamada clocks = <&peri_clk 6>; 325b443fb42SMasahiro Yamada resets = <&peri_rst 6>; 32652159d27SMasahiro Yamada clock-frequency = <100000>; 32752159d27SMasahiro Yamada }; 32852159d27SMasahiro Yamada 32952159d27SMasahiro Yamada i2c3: i2c@58783000 { 33052159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 33152159d27SMasahiro Yamada status = "disabled"; 33252159d27SMasahiro Yamada reg = <0x58783000 0x80>; 33352159d27SMasahiro Yamada #address-cells = <1>; 33452159d27SMasahiro Yamada #size-cells = <0>; 33552159d27SMasahiro Yamada interrupts = <0 44 4>; 33652159d27SMasahiro Yamada pinctrl-names = "default"; 33752159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c3>; 3387317a940SMasahiro Yamada clocks = <&peri_clk 7>; 339b443fb42SMasahiro Yamada resets = <&peri_rst 7>; 34052159d27SMasahiro Yamada clock-frequency = <100000>; 34152159d27SMasahiro Yamada }; 34252159d27SMasahiro Yamada 34352159d27SMasahiro Yamada /* chip-internal connection for DMD */ 34452159d27SMasahiro Yamada i2c4: i2c@58784000 { 34552159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 34652159d27SMasahiro Yamada reg = <0x58784000 0x80>; 34752159d27SMasahiro Yamada #address-cells = <1>; 34852159d27SMasahiro Yamada #size-cells = <0>; 34952159d27SMasahiro Yamada interrupts = <0 45 4>; 3507317a940SMasahiro Yamada clocks = <&peri_clk 8>; 351b443fb42SMasahiro Yamada resets = <&peri_rst 8>; 35252159d27SMasahiro Yamada clock-frequency = <400000>; 35352159d27SMasahiro Yamada }; 35452159d27SMasahiro Yamada 35552159d27SMasahiro Yamada /* chip-internal connection for STM */ 35652159d27SMasahiro Yamada i2c5: i2c@58785000 { 35752159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 35852159d27SMasahiro Yamada reg = <0x58785000 0x80>; 35952159d27SMasahiro Yamada #address-cells = <1>; 36052159d27SMasahiro Yamada #size-cells = <0>; 36152159d27SMasahiro Yamada interrupts = <0 25 4>; 3627317a940SMasahiro Yamada clocks = <&peri_clk 9>; 363b443fb42SMasahiro Yamada resets = <&peri_rst 9>; 36452159d27SMasahiro Yamada clock-frequency = <400000>; 36552159d27SMasahiro Yamada }; 36652159d27SMasahiro Yamada 36752159d27SMasahiro Yamada /* chip-internal connection for HDMI */ 36852159d27SMasahiro Yamada i2c6: i2c@58786000 { 36952159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 37052159d27SMasahiro Yamada reg = <0x58786000 0x80>; 37152159d27SMasahiro Yamada #address-cells = <1>; 37252159d27SMasahiro Yamada #size-cells = <0>; 37352159d27SMasahiro Yamada interrupts = <0 26 4>; 3747317a940SMasahiro Yamada clocks = <&peri_clk 10>; 375b443fb42SMasahiro Yamada resets = <&peri_rst 10>; 37652159d27SMasahiro Yamada clock-frequency = <400000>; 37752159d27SMasahiro Yamada }; 37852159d27SMasahiro Yamada 379cd62214dSMasahiro Yamada system_bus: system-bus@58c00000 { 380cd62214dSMasahiro Yamada compatible = "socionext,uniphier-system-bus"; 381cd62214dSMasahiro Yamada status = "disabled"; 382cd62214dSMasahiro Yamada reg = <0x58c00000 0x400>; 383cd62214dSMasahiro Yamada #address-cells = <2>; 384cd62214dSMasahiro Yamada #size-cells = <1>; 385cd62214dSMasahiro Yamada pinctrl-names = "default"; 386cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_system_bus>; 387cd62214dSMasahiro Yamada }; 388cd62214dSMasahiro Yamada 389abb6ac25SMasahiro Yamada smpctrl@59801000 { 390cd62214dSMasahiro Yamada compatible = "socionext,uniphier-smpctrl"; 391cd62214dSMasahiro Yamada reg = <0x59801000 0x400>; 392cd62214dSMasahiro Yamada }; 393cd62214dSMasahiro Yamada 394cd62214dSMasahiro Yamada sdctrl@59810000 { 395cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sdctrl", 396cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 3976c9e46efSMasahiro Yamada reg = <0x59810000 0x400>; 398cd62214dSMasahiro Yamada 399cd62214dSMasahiro Yamada sd_clk: clock { 400cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-clock"; 401cd62214dSMasahiro Yamada #clock-cells = <1>; 402cd62214dSMasahiro Yamada }; 403cd62214dSMasahiro Yamada 404cd62214dSMasahiro Yamada sd_rst: reset { 405cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-reset"; 406cd62214dSMasahiro Yamada #reset-cells = <1>; 407cd62214dSMasahiro Yamada }; 408cd62214dSMasahiro Yamada }; 409cd62214dSMasahiro Yamada 410cd62214dSMasahiro Yamada perictrl@59820000 { 411cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-perictrl", 412cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 413cd62214dSMasahiro Yamada reg = <0x59820000 0x200>; 414cd62214dSMasahiro Yamada 415cd62214dSMasahiro Yamada peri_clk: clock { 416cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-clock"; 417cd62214dSMasahiro Yamada #clock-cells = <1>; 418cd62214dSMasahiro Yamada }; 419cd62214dSMasahiro Yamada 420cd62214dSMasahiro Yamada peri_rst: reset { 421cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-reset"; 422cd62214dSMasahiro Yamada #reset-cells = <1>; 423cd62214dSMasahiro Yamada }; 424cd62214dSMasahiro Yamada }; 425cd62214dSMasahiro Yamada 42652159d27SMasahiro Yamada emmc: sdhc@5a000000 { 42752159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 42852159d27SMasahiro Yamada status = "disabled"; 42952159d27SMasahiro Yamada reg = <0x5a000000 0x800>; 43052159d27SMasahiro Yamada interrupts = <0 78 4>; 43152159d27SMasahiro Yamada pinctrl-names = "default"; 43252159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_emmc>; 433cd62214dSMasahiro Yamada clocks = <&sd_clk 1>; 434cd62214dSMasahiro Yamada reset-names = "host"; 435cd62214dSMasahiro Yamada resets = <&sd_rst 1>; 43652159d27SMasahiro Yamada bus-width = <8>; 43752159d27SMasahiro Yamada non-removable; 438cd62214dSMasahiro Yamada cap-mmc-highspeed; 439cd62214dSMasahiro Yamada cap-mmc-hw-reset; 440cd62214dSMasahiro Yamada no-3-3-v; 44152159d27SMasahiro Yamada }; 44252159d27SMasahiro Yamada 44352159d27SMasahiro Yamada sd: sdhc@5a400000 { 44452159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 44552159d27SMasahiro Yamada status = "disabled"; 44652159d27SMasahiro Yamada reg = <0x5a400000 0x800>; 44752159d27SMasahiro Yamada interrupts = <0 76 4>; 44852159d27SMasahiro Yamada pinctrl-names = "default", "1.8v"; 44952159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_sd>; 45052159d27SMasahiro Yamada pinctrl-1 = <&pinctrl_sd_1v8>; 451cd62214dSMasahiro Yamada clocks = <&sd_clk 0>; 45252159d27SMasahiro Yamada reset-names = "host"; 453cd62214dSMasahiro Yamada resets = <&sd_rst 0>; 45452159d27SMasahiro Yamada bus-width = <4>; 455cd62214dSMasahiro Yamada cap-sd-highspeed; 456cd62214dSMasahiro Yamada sd-uhs-sdr12; 457cd62214dSMasahiro Yamada sd-uhs-sdr25; 458cd62214dSMasahiro Yamada sd-uhs-sdr50; 459cd62214dSMasahiro Yamada }; 460cd62214dSMasahiro Yamada 4613e98fc12SMasahiro Yamada soc_glue: soc-glue@5f800000 { 462cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-soc-glue", 463cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 464cd62214dSMasahiro Yamada reg = <0x5f800000 0x2000>; 465cd62214dSMasahiro Yamada 466cd62214dSMasahiro Yamada pinctrl: pinctrl { 467cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-pinctrl"; 468cd62214dSMasahiro Yamada }; 46952159d27SMasahiro Yamada }; 47052159d27SMasahiro Yamada 47146820e3fSMasahiro Yamada soc-glue@5f900000 { 47246820e3fSMasahiro Yamada compatible = "socionext,uniphier-pxs2-soc-glue-debug", 47346820e3fSMasahiro Yamada "simple-mfd"; 47446820e3fSMasahiro Yamada #address-cells = <1>; 47546820e3fSMasahiro Yamada #size-cells = <1>; 47646820e3fSMasahiro Yamada ranges = <0 0x5f900000 0x2000>; 47746820e3fSMasahiro Yamada 47846820e3fSMasahiro Yamada efuse@100 { 47946820e3fSMasahiro Yamada compatible = "socionext,uniphier-efuse"; 48046820e3fSMasahiro Yamada reg = <0x100 0x28>; 48146820e3fSMasahiro Yamada }; 48246820e3fSMasahiro Yamada 48346820e3fSMasahiro Yamada efuse@200 { 48446820e3fSMasahiro Yamada compatible = "socionext,uniphier-efuse"; 48546820e3fSMasahiro Yamada reg = <0x200 0x58>; 48646820e3fSMasahiro Yamada }; 48746820e3fSMasahiro Yamada }; 48846820e3fSMasahiro Yamada 4896c9e46efSMasahiro Yamada aidet: aidet@5fc20000 { 4906c9e46efSMasahiro Yamada compatible = "socionext,uniphier-pxs2-aidet"; 49152159d27SMasahiro Yamada reg = <0x5fc20000 0x200>; 4926c9e46efSMasahiro Yamada interrupt-controller; 4936c9e46efSMasahiro Yamada #interrupt-cells = <2>; 49452159d27SMasahiro Yamada }; 49552159d27SMasahiro Yamada 496cd62214dSMasahiro Yamada timer@60000200 { 497cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-global-timer"; 498cd62214dSMasahiro Yamada reg = <0x60000200 0x20>; 499cd62214dSMasahiro Yamada interrupts = <1 11 0xf04>; 500cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 501cd62214dSMasahiro Yamada }; 502cd62214dSMasahiro Yamada 503cd62214dSMasahiro Yamada timer@60000600 { 504cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-twd-timer"; 505cd62214dSMasahiro Yamada reg = <0x60000600 0x20>; 506cd62214dSMasahiro Yamada interrupts = <1 13 0xf04>; 507cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 508cd62214dSMasahiro Yamada }; 509cd62214dSMasahiro Yamada 510cd62214dSMasahiro Yamada intc: interrupt-controller@60001000 { 511cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-gic"; 512cd62214dSMasahiro Yamada reg = <0x60001000 0x1000>, 513cd62214dSMasahiro Yamada <0x60000100 0x100>; 514cd62214dSMasahiro Yamada #interrupt-cells = <3>; 515cd62214dSMasahiro Yamada interrupt-controller; 516cd62214dSMasahiro Yamada }; 517cd62214dSMasahiro Yamada 518cd62214dSMasahiro Yamada sysctrl@61840000 { 519cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sysctrl", 520cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 5217317a940SMasahiro Yamada reg = <0x61840000 0x10000>; 522cd62214dSMasahiro Yamada 523cd62214dSMasahiro Yamada sys_clk: clock { 524cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-clock"; 525cd62214dSMasahiro Yamada #clock-cells = <1>; 526cd62214dSMasahiro Yamada }; 527cd62214dSMasahiro Yamada 528cd62214dSMasahiro Yamada sys_rst: reset { 529cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-reset"; 530cd62214dSMasahiro Yamada #reset-cells = <1>; 531cd62214dSMasahiro Yamada }; 532b443fb42SMasahiro Yamada 533b443fb42SMasahiro Yamada pvtctl: pvtctl { 534b443fb42SMasahiro Yamada compatible = "socionext,uniphier-pxs2-thermal"; 535b443fb42SMasahiro Yamada interrupts = <0 3 4>; 536b443fb42SMasahiro Yamada #thermal-sensor-cells = <0>; 537b443fb42SMasahiro Yamada socionext,tmod-calibration = <0x0f86 0x6844>; 538b443fb42SMasahiro Yamada }; 539cd62214dSMasahiro Yamada }; 540cd62214dSMasahiro Yamada 5413e98fc12SMasahiro Yamada eth: ethernet@65000000 { 5423e98fc12SMasahiro Yamada compatible = "socionext,uniphier-pxs2-ave4"; 5433e98fc12SMasahiro Yamada status = "disabled"; 5443e98fc12SMasahiro Yamada reg = <0x65000000 0x8500>; 5453e98fc12SMasahiro Yamada interrupts = <0 66 4>; 5463e98fc12SMasahiro Yamada pinctrl-names = "default"; 5473e98fc12SMasahiro Yamada pinctrl-0 = <&pinctrl_ether_rgmii>; 5483e98fc12SMasahiro Yamada clocks = <&sys_clk 6>; 5493e98fc12SMasahiro Yamada resets = <&sys_rst 6>; 5503e98fc12SMasahiro Yamada phy-mode = "rgmii"; 5513e98fc12SMasahiro Yamada local-mac-address = [00 00 00 00 00 00]; 552*69b3d4e9SKunihiko Hayashi socionext,syscon-phy-mode = <&soc_glue 0>; 5533e98fc12SMasahiro Yamada 5543e98fc12SMasahiro Yamada mdio: mdio { 5553e98fc12SMasahiro Yamada #address-cells = <1>; 5563e98fc12SMasahiro Yamada #size-cells = <0>; 5573e98fc12SMasahiro Yamada }; 5583e98fc12SMasahiro Yamada }; 5593e98fc12SMasahiro Yamada 560cd62214dSMasahiro Yamada usb0: usb@65b00000 { 561cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 56252159d27SMasahiro Yamada status = "disabled"; 563cd62214dSMasahiro Yamada reg = <0x65b00000 0x1000>; 564cd62214dSMasahiro Yamada #address-cells = <1>; 565cd62214dSMasahiro Yamada #size-cells = <1>; 566cd62214dSMasahiro Yamada ranges; 56752159d27SMasahiro Yamada pinctrl-names = "default"; 56852159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>; 569cd62214dSMasahiro Yamada dwc3@65a00000 { 570cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 571cd62214dSMasahiro Yamada reg = <0x65a00000 0x10000>; 572cd62214dSMasahiro Yamada interrupts = <0 134 4>; 5733444d1d4SMasahiro Yamada dr_mode = "host"; 574cd62214dSMasahiro Yamada tx-fifo-resize; 575cd62214dSMasahiro Yamada }; 57652159d27SMasahiro Yamada }; 57752159d27SMasahiro Yamada 578cd62214dSMasahiro Yamada usb1: usb@65d00000 { 579cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 58052159d27SMasahiro Yamada status = "disabled"; 581cd62214dSMasahiro Yamada reg = <0x65d00000 0x1000>; 582cd62214dSMasahiro Yamada #address-cells = <1>; 583cd62214dSMasahiro Yamada #size-cells = <1>; 584cd62214dSMasahiro Yamada ranges; 58552159d27SMasahiro Yamada pinctrl-names = "default"; 58652159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>; 587cd62214dSMasahiro Yamada dwc3@65c00000 { 588cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 589cd62214dSMasahiro Yamada reg = <0x65c00000 0x10000>; 590cd62214dSMasahiro Yamada interrupts = <0 137 4>; 5913444d1d4SMasahiro Yamada dr_mode = "host"; 592cd62214dSMasahiro Yamada tx-fifo-resize; 59352159d27SMasahiro Yamada }; 59452159d27SMasahiro Yamada }; 59552159d27SMasahiro Yamada 596cd62214dSMasahiro Yamada nand: nand@68000000 { 5974e7f8de4SMasahiro Yamada compatible = "socionext,uniphier-denali-nand-v5b"; 598cd62214dSMasahiro Yamada status = "disabled"; 599cd62214dSMasahiro Yamada reg-names = "nand_data", "denali_reg"; 600cd62214dSMasahiro Yamada reg = <0x68000000 0x20>, <0x68100000 0x1000>; 601cd62214dSMasahiro Yamada interrupts = <0 65 4>; 602cd62214dSMasahiro Yamada pinctrl-names = "default"; 6036c9e46efSMasahiro Yamada pinctrl-0 = <&pinctrl_nand2cs>; 604cd62214dSMasahiro Yamada clocks = <&sys_clk 2>; 605b443fb42SMasahiro Yamada resets = <&sys_rst 2>; 606cd62214dSMasahiro Yamada }; 607cd62214dSMasahiro Yamada }; 60852159d27SMasahiro Yamada}; 60952159d27SMasahiro Yamada 6106c9e46efSMasahiro Yamada#include "uniphier-pinctrl.dtsi" 611