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 * 7*4e7f8de4SMasahiro Yamada * This file is dual-licensed: you can use it either under the terms 8*4e7f8de4SMasahiro Yamada * of the GPL or the X11 license, at your option. Note that this dual 9*4e7f8de4SMasahiro Yamada * licensing only applies to this file, and not this project as a 10*4e7f8de4SMasahiro Yamada * whole. 11*4e7f8de4SMasahiro Yamada * 12*4e7f8de4SMasahiro Yamada * a) This file is free software; you can redistribute it and/or 13*4e7f8de4SMasahiro Yamada * modify it under the terms of the GNU General Public License as 14*4e7f8de4SMasahiro Yamada * published by the Free Software Foundation; either version 2 of the 15*4e7f8de4SMasahiro Yamada * License, or (at your option) any later version. 16*4e7f8de4SMasahiro Yamada * 17*4e7f8de4SMasahiro Yamada * This file is distributed in the hope that it will be useful, 18*4e7f8de4SMasahiro Yamada * but WITHOUT ANY WARRANTY; without even the implied warranty of 19*4e7f8de4SMasahiro Yamada * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20*4e7f8de4SMasahiro Yamada * GNU General Public License for more details. 21*4e7f8de4SMasahiro Yamada * 22*4e7f8de4SMasahiro Yamada * Or, alternatively, 23*4e7f8de4SMasahiro Yamada * 24*4e7f8de4SMasahiro Yamada * b) Permission is hereby granted, free of charge, to any person 25*4e7f8de4SMasahiro Yamada * obtaining a copy of this software and associated documentation 26*4e7f8de4SMasahiro Yamada * files (the "Software"), to deal in the Software without 27*4e7f8de4SMasahiro Yamada * restriction, including without limitation the rights to use, 28*4e7f8de4SMasahiro Yamada * copy, modify, merge, publish, distribute, sublicense, and/or 29*4e7f8de4SMasahiro Yamada * sell copies of the Software, and to permit persons to whom the 30*4e7f8de4SMasahiro Yamada * Software is furnished to do so, subject to the following 31*4e7f8de4SMasahiro Yamada * conditions: 32*4e7f8de4SMasahiro Yamada * 33*4e7f8de4SMasahiro Yamada * The above copyright notice and this permission notice shall be 34*4e7f8de4SMasahiro Yamada * included in all copies or substantial portions of the Software. 35*4e7f8de4SMasahiro Yamada * 36*4e7f8de4SMasahiro Yamada * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 37*4e7f8de4SMasahiro Yamada * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 38*4e7f8de4SMasahiro Yamada * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 39*4e7f8de4SMasahiro Yamada * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 40*4e7f8de4SMasahiro Yamada * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 41*4e7f8de4SMasahiro Yamada * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 42*4e7f8de4SMasahiro Yamada * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 43*4e7f8de4SMasahiro Yamada * OTHER DEALINGS IN THE SOFTWARE. 4452159d27SMasahiro Yamada */ 4552159d27SMasahiro Yamada 4652159d27SMasahiro Yamada/ { 4752159d27SMasahiro Yamada compatible = "socionext,uniphier-pxs2"; 48f16eda96SMasahiro Yamada #address-cells = <1>; 49f16eda96SMasahiro Yamada #size-cells = <1>; 5052159d27SMasahiro Yamada 5152159d27SMasahiro Yamada cpus { 5252159d27SMasahiro Yamada #address-cells = <1>; 5352159d27SMasahiro Yamada #size-cells = <0>; 5452159d27SMasahiro Yamada 5552159d27SMasahiro Yamada cpu@0 { 5652159d27SMasahiro Yamada device_type = "cpu"; 5752159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 5852159d27SMasahiro Yamada reg = <0>; 59cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 6052159d27SMasahiro Yamada enable-method = "psci"; 6152159d27SMasahiro Yamada next-level-cache = <&l2>; 62cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 6352159d27SMasahiro Yamada }; 6452159d27SMasahiro Yamada 6552159d27SMasahiro Yamada cpu@1 { 6652159d27SMasahiro Yamada device_type = "cpu"; 6752159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 6852159d27SMasahiro Yamada reg = <1>; 69cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 7052159d27SMasahiro Yamada enable-method = "psci"; 7152159d27SMasahiro Yamada next-level-cache = <&l2>; 72cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 7352159d27SMasahiro Yamada }; 7452159d27SMasahiro Yamada 7552159d27SMasahiro Yamada cpu@2 { 7652159d27SMasahiro Yamada device_type = "cpu"; 7752159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 7852159d27SMasahiro Yamada reg = <2>; 79cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 8052159d27SMasahiro Yamada enable-method = "psci"; 8152159d27SMasahiro Yamada next-level-cache = <&l2>; 82cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 8352159d27SMasahiro Yamada }; 8452159d27SMasahiro Yamada 8552159d27SMasahiro Yamada cpu@3 { 8652159d27SMasahiro Yamada device_type = "cpu"; 8752159d27SMasahiro Yamada compatible = "arm,cortex-a9"; 8852159d27SMasahiro Yamada reg = <3>; 89cd62214dSMasahiro Yamada clocks = <&sys_clk 32>; 9052159d27SMasahiro Yamada enable-method = "psci"; 9152159d27SMasahiro Yamada next-level-cache = <&l2>; 92cd62214dSMasahiro Yamada operating-points-v2 = <&cpu_opp>; 9352159d27SMasahiro Yamada }; 9452159d27SMasahiro Yamada }; 9552159d27SMasahiro Yamada 96cd62214dSMasahiro Yamada cpu_opp: opp_table { 97cd62214dSMasahiro Yamada compatible = "operating-points-v2"; 98cd62214dSMasahiro Yamada opp-shared; 99cd62214dSMasahiro Yamada 100*4e7f8de4SMasahiro Yamada opp-100000000 { 101cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <100000000>; 102cd62214dSMasahiro Yamada clock-latency-ns = <300>; 103cd62214dSMasahiro Yamada }; 104*4e7f8de4SMasahiro Yamada opp-150000000 { 105cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <150000000>; 106cd62214dSMasahiro Yamada clock-latency-ns = <300>; 107cd62214dSMasahiro Yamada }; 108*4e7f8de4SMasahiro Yamada opp-200000000 { 109cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <200000000>; 110cd62214dSMasahiro Yamada clock-latency-ns = <300>; 111cd62214dSMasahiro Yamada }; 112*4e7f8de4SMasahiro Yamada opp-300000000 { 113cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <300000000>; 114cd62214dSMasahiro Yamada clock-latency-ns = <300>; 115cd62214dSMasahiro Yamada }; 116*4e7f8de4SMasahiro Yamada opp-400000000 { 117cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <400000000>; 118cd62214dSMasahiro Yamada clock-latency-ns = <300>; 119cd62214dSMasahiro Yamada }; 120*4e7f8de4SMasahiro Yamada opp-600000000 { 121cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <600000000>; 122cd62214dSMasahiro Yamada clock-latency-ns = <300>; 123cd62214dSMasahiro Yamada }; 124*4e7f8de4SMasahiro Yamada opp-800000000 { 125cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <800000000>; 126cd62214dSMasahiro Yamada clock-latency-ns = <300>; 127cd62214dSMasahiro Yamada }; 128*4e7f8de4SMasahiro Yamada opp-1200000000 { 129cd62214dSMasahiro Yamada opp-hz = /bits/ 64 <1200000000>; 130cd62214dSMasahiro Yamada clock-latency-ns = <300>; 131cd62214dSMasahiro Yamada }; 132cd62214dSMasahiro Yamada }; 133cd62214dSMasahiro Yamada 134cd62214dSMasahiro Yamada psci { 135cd62214dSMasahiro Yamada compatible = "arm,psci-0.2"; 136cd62214dSMasahiro Yamada method = "smc"; 137cd62214dSMasahiro Yamada }; 138cd62214dSMasahiro Yamada 13952159d27SMasahiro Yamada clocks { 140cd62214dSMasahiro Yamada refclk: ref { 141cd62214dSMasahiro Yamada compatible = "fixed-clock"; 142cd62214dSMasahiro Yamada #clock-cells = <0>; 143cd62214dSMasahiro Yamada clock-frequency = <25000000>; 144cd62214dSMasahiro Yamada }; 145cd62214dSMasahiro Yamada 14652159d27SMasahiro Yamada arm_timer_clk: arm_timer_clk { 14752159d27SMasahiro Yamada #clock-cells = <0>; 14852159d27SMasahiro Yamada compatible = "fixed-clock"; 14952159d27SMasahiro Yamada clock-frequency = <50000000>; 15052159d27SMasahiro Yamada }; 15152159d27SMasahiro Yamada }; 15252159d27SMasahiro Yamada 153cd62214dSMasahiro Yamada soc { 154cd62214dSMasahiro Yamada compatible = "simple-bus"; 155cd62214dSMasahiro Yamada #address-cells = <1>; 156cd62214dSMasahiro Yamada #size-cells = <1>; 157cd62214dSMasahiro Yamada ranges; 158cd62214dSMasahiro Yamada interrupt-parent = <&intc>; 159cd62214dSMasahiro Yamada u-boot,dm-pre-reloc; 160cd62214dSMasahiro Yamada 16152159d27SMasahiro Yamada l2: l2-cache@500c0000 { 16252159d27SMasahiro Yamada compatible = "socionext,uniphier-system-cache"; 163cd62214dSMasahiro Yamada reg = <0x500c0000 0x2000>, <0x503c0100 0x8>, 164cd62214dSMasahiro Yamada <0x506c0000 0x400>; 16552159d27SMasahiro Yamada interrupts = <0 174 4>, <0 175 4>, <0 190 4>, <0 191 4>; 16652159d27SMasahiro Yamada cache-unified; 16752159d27SMasahiro Yamada cache-size = <(1280 * 1024)>; 16852159d27SMasahiro Yamada cache-sets = <512>; 16952159d27SMasahiro Yamada cache-line-size = <128>; 17052159d27SMasahiro Yamada cache-level = <2>; 17152159d27SMasahiro Yamada }; 17252159d27SMasahiro Yamada 173cd62214dSMasahiro Yamada serial0: serial@54006800 { 174cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 175cd62214dSMasahiro Yamada status = "disabled"; 176cd62214dSMasahiro Yamada reg = <0x54006800 0x40>; 177cd62214dSMasahiro Yamada interrupts = <0 33 4>; 178cd62214dSMasahiro Yamada pinctrl-names = "default"; 179cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart0>; 180cd62214dSMasahiro Yamada clocks = <&peri_clk 0>; 181cd62214dSMasahiro Yamada clock-frequency = <88900000>; 182cd62214dSMasahiro Yamada }; 183cd62214dSMasahiro Yamada 184cd62214dSMasahiro Yamada serial1: serial@54006900 { 185cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 186cd62214dSMasahiro Yamada status = "disabled"; 187cd62214dSMasahiro Yamada reg = <0x54006900 0x40>; 188cd62214dSMasahiro Yamada interrupts = <0 35 4>; 189cd62214dSMasahiro Yamada pinctrl-names = "default"; 190cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart1>; 191cd62214dSMasahiro Yamada clocks = <&peri_clk 1>; 192cd62214dSMasahiro Yamada clock-frequency = <88900000>; 193cd62214dSMasahiro Yamada }; 194cd62214dSMasahiro Yamada 195cd62214dSMasahiro Yamada serial2: serial@54006a00 { 196cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 197cd62214dSMasahiro Yamada status = "disabled"; 198cd62214dSMasahiro Yamada reg = <0x54006a00 0x40>; 199cd62214dSMasahiro Yamada interrupts = <0 37 4>; 200cd62214dSMasahiro Yamada pinctrl-names = "default"; 201cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart2>; 202cd62214dSMasahiro Yamada clocks = <&peri_clk 2>; 203cd62214dSMasahiro Yamada clock-frequency = <88900000>; 204cd62214dSMasahiro Yamada }; 205cd62214dSMasahiro Yamada 206cd62214dSMasahiro Yamada serial3: serial@54006b00 { 207cd62214dSMasahiro Yamada compatible = "socionext,uniphier-uart"; 208cd62214dSMasahiro Yamada status = "disabled"; 209cd62214dSMasahiro Yamada reg = <0x54006b00 0x40>; 210cd62214dSMasahiro Yamada interrupts = <0 177 4>; 211cd62214dSMasahiro Yamada pinctrl-names = "default"; 212cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_uart3>; 213cd62214dSMasahiro Yamada clocks = <&peri_clk 3>; 214cd62214dSMasahiro Yamada clock-frequency = <88900000>; 215cd62214dSMasahiro Yamada }; 216cd62214dSMasahiro Yamada 21752159d27SMasahiro Yamada port0x: gpio@55000008 { 21852159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 21952159d27SMasahiro Yamada reg = <0x55000008 0x8>; 22052159d27SMasahiro Yamada gpio-controller; 22152159d27SMasahiro Yamada #gpio-cells = <2>; 22252159d27SMasahiro Yamada }; 22352159d27SMasahiro Yamada 22452159d27SMasahiro Yamada port1x: gpio@55000010 { 22552159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 22652159d27SMasahiro Yamada reg = <0x55000010 0x8>; 22752159d27SMasahiro Yamada gpio-controller; 22852159d27SMasahiro Yamada #gpio-cells = <2>; 22952159d27SMasahiro Yamada }; 23052159d27SMasahiro Yamada 23152159d27SMasahiro Yamada port2x: gpio@55000018 { 23252159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 23352159d27SMasahiro Yamada reg = <0x55000018 0x8>; 23452159d27SMasahiro Yamada gpio-controller; 23552159d27SMasahiro Yamada #gpio-cells = <2>; 23652159d27SMasahiro Yamada }; 23752159d27SMasahiro Yamada 23852159d27SMasahiro Yamada port3x: gpio@55000020 { 23952159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 24052159d27SMasahiro Yamada reg = <0x55000020 0x8>; 24152159d27SMasahiro Yamada gpio-controller; 24252159d27SMasahiro Yamada #gpio-cells = <2>; 24352159d27SMasahiro Yamada }; 24452159d27SMasahiro Yamada 24552159d27SMasahiro Yamada port4: gpio@55000028 { 24652159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 24752159d27SMasahiro Yamada reg = <0x55000028 0x8>; 24852159d27SMasahiro Yamada gpio-controller; 24952159d27SMasahiro Yamada #gpio-cells = <2>; 25052159d27SMasahiro Yamada }; 25152159d27SMasahiro Yamada 25252159d27SMasahiro Yamada port5x: gpio@55000030 { 25352159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 25452159d27SMasahiro Yamada reg = <0x55000030 0x8>; 25552159d27SMasahiro Yamada gpio-controller; 25652159d27SMasahiro Yamada #gpio-cells = <2>; 25752159d27SMasahiro Yamada }; 25852159d27SMasahiro Yamada 25952159d27SMasahiro Yamada port6x: gpio@55000038 { 26052159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 26152159d27SMasahiro Yamada reg = <0x55000038 0x8>; 26252159d27SMasahiro Yamada gpio-controller; 26352159d27SMasahiro Yamada #gpio-cells = <2>; 26452159d27SMasahiro Yamada }; 26552159d27SMasahiro Yamada 26652159d27SMasahiro Yamada port7x: gpio@55000040 { 26752159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 26852159d27SMasahiro Yamada reg = <0x55000040 0x8>; 26952159d27SMasahiro Yamada gpio-controller; 27052159d27SMasahiro Yamada #gpio-cells = <2>; 27152159d27SMasahiro Yamada }; 27252159d27SMasahiro Yamada 27352159d27SMasahiro Yamada port8x: gpio@55000048 { 27452159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 27552159d27SMasahiro Yamada reg = <0x55000048 0x8>; 27652159d27SMasahiro Yamada gpio-controller; 27752159d27SMasahiro Yamada #gpio-cells = <2>; 27852159d27SMasahiro Yamada }; 27952159d27SMasahiro Yamada 28052159d27SMasahiro Yamada port9x: gpio@55000050 { 28152159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 28252159d27SMasahiro Yamada reg = <0x55000050 0x8>; 28352159d27SMasahiro Yamada gpio-controller; 28452159d27SMasahiro Yamada #gpio-cells = <2>; 28552159d27SMasahiro Yamada }; 28652159d27SMasahiro Yamada 28752159d27SMasahiro Yamada port10x: gpio@55000058 { 28852159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 28952159d27SMasahiro Yamada reg = <0x55000058 0x8>; 29052159d27SMasahiro Yamada gpio-controller; 29152159d27SMasahiro Yamada #gpio-cells = <2>; 29252159d27SMasahiro Yamada }; 29352159d27SMasahiro Yamada 29452159d27SMasahiro Yamada port12x: gpio@55000068 { 29552159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 29652159d27SMasahiro Yamada reg = <0x55000068 0x8>; 29752159d27SMasahiro Yamada gpio-controller; 29852159d27SMasahiro Yamada #gpio-cells = <2>; 29952159d27SMasahiro Yamada }; 30052159d27SMasahiro Yamada 30152159d27SMasahiro Yamada port13x: gpio@55000070 { 30252159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 30352159d27SMasahiro Yamada reg = <0x55000070 0x8>; 30452159d27SMasahiro Yamada gpio-controller; 30552159d27SMasahiro Yamada #gpio-cells = <2>; 30652159d27SMasahiro Yamada }; 30752159d27SMasahiro Yamada 30852159d27SMasahiro Yamada port14x: gpio@55000078 { 30952159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 31052159d27SMasahiro Yamada reg = <0x55000078 0x8>; 31152159d27SMasahiro Yamada gpio-controller; 31252159d27SMasahiro Yamada #gpio-cells = <2>; 31352159d27SMasahiro Yamada }; 31452159d27SMasahiro Yamada 31552159d27SMasahiro Yamada port15x: gpio@55000080 { 31652159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 31752159d27SMasahiro Yamada reg = <0x55000080 0x8>; 31852159d27SMasahiro Yamada gpio-controller; 31952159d27SMasahiro Yamada #gpio-cells = <2>; 32052159d27SMasahiro Yamada }; 32152159d27SMasahiro Yamada 32252159d27SMasahiro Yamada port16x: gpio@55000088 { 32352159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 32452159d27SMasahiro Yamada reg = <0x55000088 0x8>; 32552159d27SMasahiro Yamada gpio-controller; 32652159d27SMasahiro Yamada #gpio-cells = <2>; 32752159d27SMasahiro Yamada }; 32852159d27SMasahiro Yamada 32952159d27SMasahiro Yamada port17x: gpio@550000a0 { 33052159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 33152159d27SMasahiro Yamada reg = <0x550000a0 0x8>; 33252159d27SMasahiro Yamada gpio-controller; 33352159d27SMasahiro Yamada #gpio-cells = <2>; 33452159d27SMasahiro Yamada }; 33552159d27SMasahiro Yamada 33652159d27SMasahiro Yamada port18x: gpio@550000a8 { 33752159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 33852159d27SMasahiro Yamada reg = <0x550000a8 0x8>; 33952159d27SMasahiro Yamada gpio-controller; 34052159d27SMasahiro Yamada #gpio-cells = <2>; 34152159d27SMasahiro Yamada }; 34252159d27SMasahiro Yamada 34352159d27SMasahiro Yamada port19x: gpio@550000b0 { 34452159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 34552159d27SMasahiro Yamada reg = <0x550000b0 0x8>; 34652159d27SMasahiro Yamada gpio-controller; 34752159d27SMasahiro Yamada #gpio-cells = <2>; 34852159d27SMasahiro Yamada }; 34952159d27SMasahiro Yamada 35052159d27SMasahiro Yamada port20x: gpio@550000b8 { 35152159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 35252159d27SMasahiro Yamada reg = <0x550000b8 0x8>; 35352159d27SMasahiro Yamada gpio-controller; 35452159d27SMasahiro Yamada #gpio-cells = <2>; 35552159d27SMasahiro Yamada }; 35652159d27SMasahiro Yamada 35752159d27SMasahiro Yamada port21x: gpio@550000c0 { 35852159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 35952159d27SMasahiro Yamada reg = <0x550000c0 0x8>; 36052159d27SMasahiro Yamada gpio-controller; 36152159d27SMasahiro Yamada #gpio-cells = <2>; 36252159d27SMasahiro Yamada }; 36352159d27SMasahiro Yamada 36452159d27SMasahiro Yamada port22x: gpio@550000c8 { 36552159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 36652159d27SMasahiro Yamada reg = <0x550000c8 0x8>; 36752159d27SMasahiro Yamada gpio-controller; 36852159d27SMasahiro Yamada #gpio-cells = <2>; 36952159d27SMasahiro Yamada }; 37052159d27SMasahiro Yamada 37152159d27SMasahiro Yamada port23x: gpio@550000d0 { 37252159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 37352159d27SMasahiro Yamada reg = <0x550000d0 0x8>; 37452159d27SMasahiro Yamada gpio-controller; 37552159d27SMasahiro Yamada #gpio-cells = <2>; 37652159d27SMasahiro Yamada }; 37752159d27SMasahiro Yamada 37852159d27SMasahiro Yamada port24x: gpio@550000d8 { 37952159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 38052159d27SMasahiro Yamada reg = <0x550000d8 0x8>; 38152159d27SMasahiro Yamada gpio-controller; 38252159d27SMasahiro Yamada #gpio-cells = <2>; 38352159d27SMasahiro Yamada }; 38452159d27SMasahiro Yamada 38552159d27SMasahiro Yamada port25x: gpio@550000e0 { 38652159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 38752159d27SMasahiro Yamada reg = <0x550000e0 0x8>; 38852159d27SMasahiro Yamada gpio-controller; 38952159d27SMasahiro Yamada #gpio-cells = <2>; 39052159d27SMasahiro Yamada }; 39152159d27SMasahiro Yamada 39252159d27SMasahiro Yamada port26x: gpio@550000e8 { 39352159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 39452159d27SMasahiro Yamada reg = <0x550000e8 0x8>; 39552159d27SMasahiro Yamada gpio-controller; 39652159d27SMasahiro Yamada #gpio-cells = <2>; 39752159d27SMasahiro Yamada }; 39852159d27SMasahiro Yamada 39952159d27SMasahiro Yamada port27x: gpio@550000f0 { 40052159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 40152159d27SMasahiro Yamada reg = <0x550000f0 0x8>; 40252159d27SMasahiro Yamada gpio-controller; 40352159d27SMasahiro Yamada #gpio-cells = <2>; 40452159d27SMasahiro Yamada }; 40552159d27SMasahiro Yamada 40652159d27SMasahiro Yamada port28x: gpio@550000f8 { 40752159d27SMasahiro Yamada compatible = "socionext,uniphier-gpio"; 40852159d27SMasahiro Yamada reg = <0x550000f8 0x8>; 40952159d27SMasahiro Yamada gpio-controller; 41052159d27SMasahiro Yamada #gpio-cells = <2>; 41152159d27SMasahiro Yamada }; 41252159d27SMasahiro Yamada 41352159d27SMasahiro Yamada i2c0: i2c@58780000 { 41452159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 41552159d27SMasahiro Yamada status = "disabled"; 41652159d27SMasahiro Yamada reg = <0x58780000 0x80>; 41752159d27SMasahiro Yamada #address-cells = <1>; 41852159d27SMasahiro Yamada #size-cells = <0>; 41952159d27SMasahiro Yamada interrupts = <0 41 4>; 42052159d27SMasahiro Yamada pinctrl-names = "default"; 42152159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c0>; 4227317a940SMasahiro Yamada clocks = <&peri_clk 4>; 42352159d27SMasahiro Yamada clock-frequency = <100000>; 42452159d27SMasahiro Yamada }; 42552159d27SMasahiro Yamada 42652159d27SMasahiro Yamada i2c1: i2c@58781000 { 42752159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 42852159d27SMasahiro Yamada status = "disabled"; 42952159d27SMasahiro Yamada reg = <0x58781000 0x80>; 43052159d27SMasahiro Yamada #address-cells = <1>; 43152159d27SMasahiro Yamada #size-cells = <0>; 43252159d27SMasahiro Yamada interrupts = <0 42 4>; 43352159d27SMasahiro Yamada pinctrl-names = "default"; 43452159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c1>; 4357317a940SMasahiro Yamada clocks = <&peri_clk 5>; 43652159d27SMasahiro Yamada clock-frequency = <100000>; 43752159d27SMasahiro Yamada }; 43852159d27SMasahiro Yamada 43952159d27SMasahiro Yamada i2c2: i2c@58782000 { 44052159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 44152159d27SMasahiro Yamada status = "disabled"; 44252159d27SMasahiro Yamada reg = <0x58782000 0x80>; 44352159d27SMasahiro Yamada #address-cells = <1>; 44452159d27SMasahiro Yamada #size-cells = <0>; 445cd62214dSMasahiro Yamada interrupts = <0 43 4>; 44652159d27SMasahiro Yamada pinctrl-names = "default"; 44752159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c2>; 4487317a940SMasahiro Yamada clocks = <&peri_clk 6>; 44952159d27SMasahiro Yamada clock-frequency = <100000>; 45052159d27SMasahiro Yamada }; 45152159d27SMasahiro Yamada 45252159d27SMasahiro Yamada i2c3: i2c@58783000 { 45352159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 45452159d27SMasahiro Yamada status = "disabled"; 45552159d27SMasahiro Yamada reg = <0x58783000 0x80>; 45652159d27SMasahiro Yamada #address-cells = <1>; 45752159d27SMasahiro Yamada #size-cells = <0>; 45852159d27SMasahiro Yamada interrupts = <0 44 4>; 45952159d27SMasahiro Yamada pinctrl-names = "default"; 46052159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_i2c3>; 4617317a940SMasahiro Yamada clocks = <&peri_clk 7>; 46252159d27SMasahiro Yamada clock-frequency = <100000>; 46352159d27SMasahiro Yamada }; 46452159d27SMasahiro Yamada 46552159d27SMasahiro Yamada /* chip-internal connection for DMD */ 46652159d27SMasahiro Yamada i2c4: i2c@58784000 { 46752159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 46852159d27SMasahiro Yamada reg = <0x58784000 0x80>; 46952159d27SMasahiro Yamada #address-cells = <1>; 47052159d27SMasahiro Yamada #size-cells = <0>; 47152159d27SMasahiro Yamada interrupts = <0 45 4>; 4727317a940SMasahiro Yamada clocks = <&peri_clk 8>; 47352159d27SMasahiro Yamada clock-frequency = <400000>; 47452159d27SMasahiro Yamada }; 47552159d27SMasahiro Yamada 47652159d27SMasahiro Yamada /* chip-internal connection for STM */ 47752159d27SMasahiro Yamada i2c5: i2c@58785000 { 47852159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 47952159d27SMasahiro Yamada reg = <0x58785000 0x80>; 48052159d27SMasahiro Yamada #address-cells = <1>; 48152159d27SMasahiro Yamada #size-cells = <0>; 48252159d27SMasahiro Yamada interrupts = <0 25 4>; 4837317a940SMasahiro Yamada clocks = <&peri_clk 9>; 48452159d27SMasahiro Yamada clock-frequency = <400000>; 48552159d27SMasahiro Yamada }; 48652159d27SMasahiro Yamada 48752159d27SMasahiro Yamada /* chip-internal connection for HDMI */ 48852159d27SMasahiro Yamada i2c6: i2c@58786000 { 48952159d27SMasahiro Yamada compatible = "socionext,uniphier-fi2c"; 49052159d27SMasahiro Yamada reg = <0x58786000 0x80>; 49152159d27SMasahiro Yamada #address-cells = <1>; 49252159d27SMasahiro Yamada #size-cells = <0>; 49352159d27SMasahiro Yamada interrupts = <0 26 4>; 4947317a940SMasahiro Yamada clocks = <&peri_clk 10>; 49552159d27SMasahiro Yamada clock-frequency = <400000>; 49652159d27SMasahiro Yamada }; 49752159d27SMasahiro Yamada 498cd62214dSMasahiro Yamada system_bus: system-bus@58c00000 { 499cd62214dSMasahiro Yamada compatible = "socionext,uniphier-system-bus"; 500cd62214dSMasahiro Yamada status = "disabled"; 501cd62214dSMasahiro Yamada reg = <0x58c00000 0x400>; 502cd62214dSMasahiro Yamada #address-cells = <2>; 503cd62214dSMasahiro Yamada #size-cells = <1>; 504cd62214dSMasahiro Yamada pinctrl-names = "default"; 505cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_system_bus>; 506cd62214dSMasahiro Yamada }; 507cd62214dSMasahiro Yamada 508cd62214dSMasahiro Yamada smpctrl@59800000 { 509cd62214dSMasahiro Yamada compatible = "socionext,uniphier-smpctrl"; 510cd62214dSMasahiro Yamada reg = <0x59801000 0x400>; 511cd62214dSMasahiro Yamada }; 512cd62214dSMasahiro Yamada 513cd62214dSMasahiro Yamada sdctrl@59810000 { 514cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sdctrl", 515cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 516cd62214dSMasahiro Yamada reg = <0x59810000 0x800>; 517cd62214dSMasahiro Yamada u-boot,dm-pre-reloc; 518cd62214dSMasahiro Yamada 519cd62214dSMasahiro Yamada sd_clk: clock { 520cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-clock"; 521cd62214dSMasahiro Yamada #clock-cells = <1>; 522cd62214dSMasahiro Yamada }; 523cd62214dSMasahiro Yamada 524cd62214dSMasahiro Yamada sd_rst: reset { 525cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sd-reset"; 526cd62214dSMasahiro Yamada #reset-cells = <1>; 527cd62214dSMasahiro Yamada }; 528cd62214dSMasahiro Yamada }; 529cd62214dSMasahiro Yamada 530cd62214dSMasahiro Yamada perictrl@59820000 { 531cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-perictrl", 532cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 533cd62214dSMasahiro Yamada reg = <0x59820000 0x200>; 534cd62214dSMasahiro Yamada 535cd62214dSMasahiro Yamada peri_clk: clock { 536cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-clock"; 537cd62214dSMasahiro Yamada #clock-cells = <1>; 538cd62214dSMasahiro Yamada }; 539cd62214dSMasahiro Yamada 540cd62214dSMasahiro Yamada peri_rst: reset { 541cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-peri-reset"; 542cd62214dSMasahiro Yamada #reset-cells = <1>; 543cd62214dSMasahiro Yamada }; 544cd62214dSMasahiro Yamada }; 545cd62214dSMasahiro Yamada 54652159d27SMasahiro Yamada emmc: sdhc@5a000000 { 54752159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 54852159d27SMasahiro Yamada status = "disabled"; 54952159d27SMasahiro Yamada reg = <0x5a000000 0x800>; 55052159d27SMasahiro Yamada interrupts = <0 78 4>; 55152159d27SMasahiro Yamada pinctrl-names = "default"; 55252159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_emmc>; 553cd62214dSMasahiro Yamada clocks = <&sd_clk 1>; 554cd62214dSMasahiro Yamada reset-names = "host"; 555cd62214dSMasahiro Yamada resets = <&sd_rst 1>; 55652159d27SMasahiro Yamada bus-width = <8>; 55752159d27SMasahiro Yamada non-removable; 558cd62214dSMasahiro Yamada cap-mmc-highspeed; 559cd62214dSMasahiro Yamada cap-mmc-hw-reset; 560cd62214dSMasahiro Yamada no-3-3-v; 56152159d27SMasahiro Yamada }; 56252159d27SMasahiro Yamada 56352159d27SMasahiro Yamada sd: sdhc@5a400000 { 56452159d27SMasahiro Yamada compatible = "socionext,uniphier-sdhc"; 56552159d27SMasahiro Yamada status = "disabled"; 56652159d27SMasahiro Yamada reg = <0x5a400000 0x800>; 56752159d27SMasahiro Yamada interrupts = <0 76 4>; 56852159d27SMasahiro Yamada pinctrl-names = "default", "1.8v"; 56952159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_sd>; 57052159d27SMasahiro Yamada pinctrl-1 = <&pinctrl_sd_1v8>; 571cd62214dSMasahiro Yamada clocks = <&sd_clk 0>; 57252159d27SMasahiro Yamada reset-names = "host"; 573cd62214dSMasahiro Yamada resets = <&sd_rst 0>; 57452159d27SMasahiro Yamada bus-width = <4>; 575cd62214dSMasahiro Yamada cap-sd-highspeed; 576cd62214dSMasahiro Yamada sd-uhs-sdr12; 577cd62214dSMasahiro Yamada sd-uhs-sdr25; 578cd62214dSMasahiro Yamada sd-uhs-sdr50; 579cd62214dSMasahiro Yamada }; 580cd62214dSMasahiro Yamada 581cd62214dSMasahiro Yamada soc-glue@5f800000 { 582cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-soc-glue", 583cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 584cd62214dSMasahiro Yamada reg = <0x5f800000 0x2000>; 585cd62214dSMasahiro Yamada u-boot,dm-pre-reloc; 586cd62214dSMasahiro Yamada 587cd62214dSMasahiro Yamada pinctrl: pinctrl { 588cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-pinctrl"; 589cd62214dSMasahiro Yamada u-boot,dm-pre-reloc; 590cd62214dSMasahiro Yamada }; 59152159d27SMasahiro Yamada }; 59252159d27SMasahiro Yamada 59352159d27SMasahiro Yamada aidet@5fc20000 { 59452159d27SMasahiro Yamada compatible = "simple-mfd", "syscon"; 59552159d27SMasahiro Yamada reg = <0x5fc20000 0x200>; 59652159d27SMasahiro Yamada }; 59752159d27SMasahiro Yamada 598cd62214dSMasahiro Yamada timer@60000200 { 599cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-global-timer"; 600cd62214dSMasahiro Yamada reg = <0x60000200 0x20>; 601cd62214dSMasahiro Yamada interrupts = <1 11 0xf04>; 602cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 603cd62214dSMasahiro Yamada }; 604cd62214dSMasahiro Yamada 605cd62214dSMasahiro Yamada timer@60000600 { 606cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-twd-timer"; 607cd62214dSMasahiro Yamada reg = <0x60000600 0x20>; 608cd62214dSMasahiro Yamada interrupts = <1 13 0xf04>; 609cd62214dSMasahiro Yamada clocks = <&arm_timer_clk>; 610cd62214dSMasahiro Yamada }; 611cd62214dSMasahiro Yamada 612cd62214dSMasahiro Yamada intc: interrupt-controller@60001000 { 613cd62214dSMasahiro Yamada compatible = "arm,cortex-a9-gic"; 614cd62214dSMasahiro Yamada reg = <0x60001000 0x1000>, 615cd62214dSMasahiro Yamada <0x60000100 0x100>; 616cd62214dSMasahiro Yamada #interrupt-cells = <3>; 617cd62214dSMasahiro Yamada interrupt-controller; 618cd62214dSMasahiro Yamada }; 619cd62214dSMasahiro Yamada 620cd62214dSMasahiro Yamada sysctrl@61840000 { 621cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-sysctrl", 622cd62214dSMasahiro Yamada "simple-mfd", "syscon"; 6237317a940SMasahiro Yamada reg = <0x61840000 0x10000>; 624cd62214dSMasahiro Yamada 625cd62214dSMasahiro Yamada sys_clk: clock { 626cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-clock"; 627cd62214dSMasahiro Yamada #clock-cells = <1>; 628cd62214dSMasahiro Yamada }; 629cd62214dSMasahiro Yamada 630cd62214dSMasahiro Yamada sys_rst: reset { 631cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-reset"; 632cd62214dSMasahiro Yamada #reset-cells = <1>; 633cd62214dSMasahiro Yamada }; 634cd62214dSMasahiro Yamada }; 635cd62214dSMasahiro Yamada 636cd62214dSMasahiro Yamada usb0: usb@65b00000 { 637cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 63852159d27SMasahiro Yamada status = "disabled"; 639cd62214dSMasahiro Yamada reg = <0x65b00000 0x1000>; 640cd62214dSMasahiro Yamada #address-cells = <1>; 641cd62214dSMasahiro Yamada #size-cells = <1>; 642cd62214dSMasahiro Yamada ranges; 64352159d27SMasahiro Yamada pinctrl-names = "default"; 64452159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb2>; 645cd62214dSMasahiro Yamada dwc3@65a00000 { 646cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 647cd62214dSMasahiro Yamada reg = <0x65a00000 0x10000>; 648cd62214dSMasahiro Yamada interrupts = <0 134 4>; 649cd62214dSMasahiro Yamada tx-fifo-resize; 650cd62214dSMasahiro Yamada }; 65152159d27SMasahiro Yamada }; 65252159d27SMasahiro Yamada 653cd62214dSMasahiro Yamada usb1: usb@65d00000 { 654cd62214dSMasahiro Yamada compatible = "socionext,uniphier-pxs2-dwc3"; 65552159d27SMasahiro Yamada status = "disabled"; 656cd62214dSMasahiro Yamada reg = <0x65d00000 0x1000>; 657cd62214dSMasahiro Yamada #address-cells = <1>; 658cd62214dSMasahiro Yamada #size-cells = <1>; 659cd62214dSMasahiro Yamada ranges; 66052159d27SMasahiro Yamada pinctrl-names = "default"; 66152159d27SMasahiro Yamada pinctrl-0 = <&pinctrl_usb1>, <&pinctrl_usb3>; 662cd62214dSMasahiro Yamada dwc3@65c00000 { 663cd62214dSMasahiro Yamada compatible = "snps,dwc3"; 664cd62214dSMasahiro Yamada reg = <0x65c00000 0x10000>; 665cd62214dSMasahiro Yamada interrupts = <0 137 4>; 666cd62214dSMasahiro Yamada tx-fifo-resize; 66752159d27SMasahiro Yamada }; 66852159d27SMasahiro Yamada }; 66952159d27SMasahiro Yamada 670cd62214dSMasahiro Yamada nand: nand@68000000 { 671*4e7f8de4SMasahiro Yamada compatible = "socionext,uniphier-denali-nand-v5b"; 672cd62214dSMasahiro Yamada status = "disabled"; 673cd62214dSMasahiro Yamada reg-names = "nand_data", "denali_reg"; 674cd62214dSMasahiro Yamada reg = <0x68000000 0x20>, <0x68100000 0x1000>; 675cd62214dSMasahiro Yamada interrupts = <0 65 4>; 676cd62214dSMasahiro Yamada pinctrl-names = "default"; 677cd62214dSMasahiro Yamada pinctrl-0 = <&pinctrl_nand>; 678cd62214dSMasahiro Yamada clocks = <&sys_clk 2>; 679cd62214dSMasahiro Yamada nand-ecc-strength = <8>; 680cd62214dSMasahiro Yamada }; 681cd62214dSMasahiro Yamada }; 68252159d27SMasahiro Yamada}; 68352159d27SMasahiro Yamada 684cd62214dSMasahiro Yamada/include/ "uniphier-pinctrl.dtsi" 685