xref: /openbmc/u-boot/arch/arm/dts/sun50i-h5.dtsi (revision 8faac094)
1702a3e57SJagan Teki/*
2702a3e57SJagan Teki * Copyright (c) 2016 ARM Ltd.
3702a3e57SJagan Teki *
4702a3e57SJagan Teki * This file is dual-licensed: you can use it either under the terms
5702a3e57SJagan Teki * of the GPL or the X11 license, at your option. Note that this dual
6702a3e57SJagan Teki * licensing only applies to this file, and not this project as a
7702a3e57SJagan Teki * whole.
8702a3e57SJagan Teki *
9702a3e57SJagan Teki *  a) This library is free software; you can redistribute it and/or
10702a3e57SJagan Teki *     modify it under the terms of the GNU General Public License as
11702a3e57SJagan Teki *     published by the Free Software Foundation; either version 2 of the
12702a3e57SJagan Teki *     License, or (at your option) any later version.
13702a3e57SJagan Teki *
14702a3e57SJagan Teki *     This library is distributed in the hope that it will be useful,
15702a3e57SJagan Teki *     but WITHOUT ANY WARRANTY; without even the implied warranty of
16702a3e57SJagan Teki *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17702a3e57SJagan Teki *     GNU General Public License for more details.
18702a3e57SJagan Teki *
19702a3e57SJagan Teki * Or, alternatively,
20702a3e57SJagan Teki *
21702a3e57SJagan Teki *  b) Permission is hereby granted, free of charge, to any person
22702a3e57SJagan Teki *     obtaining a copy of this software and associated documentation
23702a3e57SJagan Teki *     files (the "Software"), to deal in the Software without
24702a3e57SJagan Teki *     restriction, including without limitation the rights to use,
25702a3e57SJagan Teki *     copy, modify, merge, publish, distribute, sublicense, and/or
26702a3e57SJagan Teki *     sell copies of the Software, and to permit persons to whom the
27702a3e57SJagan Teki *     Software is furnished to do so, subject to the following
28702a3e57SJagan Teki *     conditions:
29702a3e57SJagan Teki *
30702a3e57SJagan Teki *     The above copyright notice and this permission notice shall be
31702a3e57SJagan Teki *     included in all copies or substantial portions of the Software.
32702a3e57SJagan Teki *
33702a3e57SJagan Teki *     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
34702a3e57SJagan Teki *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
35702a3e57SJagan Teki *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
36702a3e57SJagan Teki *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
37702a3e57SJagan Teki *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
38702a3e57SJagan Teki *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
39702a3e57SJagan Teki *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
40702a3e57SJagan Teki *     OTHER DEALINGS IN THE SOFTWARE.
41702a3e57SJagan Teki */
42702a3e57SJagan Teki
43702a3e57SJagan Teki#include "sun8i-h3.dtsi"
44702a3e57SJagan Teki
45702a3e57SJagan Teki/ {
46702a3e57SJagan Teki	cpus {
47702a3e57SJagan Teki		cpu@0 {
48702a3e57SJagan Teki			compatible = "arm,cortex-a53", "arm,armv8";
49702a3e57SJagan Teki			enable-method = "psci";
50702a3e57SJagan Teki		};
51702a3e57SJagan Teki		cpu@1 {
52702a3e57SJagan Teki			compatible = "arm,cortex-a53", "arm,armv8";
53702a3e57SJagan Teki			enable-method = "psci";
54702a3e57SJagan Teki		};
55702a3e57SJagan Teki		cpu@2 {
56702a3e57SJagan Teki			compatible = "arm,cortex-a53", "arm,armv8";
57702a3e57SJagan Teki			enable-method = "psci";
58702a3e57SJagan Teki		};
59702a3e57SJagan Teki		cpu@3 {
60702a3e57SJagan Teki			compatible = "arm,cortex-a53", "arm,armv8";
61702a3e57SJagan Teki			enable-method = "psci";
62702a3e57SJagan Teki		};
63702a3e57SJagan Teki	};
64702a3e57SJagan Teki
65702a3e57SJagan Teki	psci {
66702a3e57SJagan Teki		compatible = "arm,psci-0.2";
67702a3e57SJagan Teki		method = "smc";
68702a3e57SJagan Teki	};
69702a3e57SJagan Teki
70702a3e57SJagan Teki	timer {
71702a3e57SJagan Teki		compatible = "arm,armv8-timer";
72702a3e57SJagan Teki	};
73702a3e57SJagan Teki};
74702a3e57SJagan Teki
75*8faac094SAntony Antony&ccu {
76*8faac094SAntony Antony	compatible = "allwinner,sun50i-h5-ccu";
77*8faac094SAntony Antony};
78*8faac094SAntony Antony
79702a3e57SJagan Teki&gic {
80702a3e57SJagan Teki	compatible = "arm,gic-400";
81702a3e57SJagan Teki};
82*8faac094SAntony Antony
83*8faac094SAntony Antony&mmc0 {
84*8faac094SAntony Antony	compatible = "allwinner,sun50i-h5-mmc",
85*8faac094SAntony Antony		     "allwinner,sun50i-a64-mmc";
86*8faac094SAntony Antony	clocks = <&ccu CLK_BUS_MMC0>, <&ccu CLK_MMC0>;
87*8faac094SAntony Antony	clock-names = "ahb", "mmc";
88*8faac094SAntony Antony};
89*8faac094SAntony Antony
90*8faac094SAntony Antony&mmc1 {
91*8faac094SAntony Antony	compatible = "allwinner,sun50i-h5-mmc",
92*8faac094SAntony Antony		     "allwinner,sun50i-a64-mmc";
93*8faac094SAntony Antony	clocks = <&ccu CLK_BUS_MMC1>, <&ccu CLK_MMC1>;
94*8faac094SAntony Antony	clock-names = "ahb", "mmc";
95*8faac094SAntony Antony};
96*8faac094SAntony Antony
97*8faac094SAntony Antony&mmc2 {
98*8faac094SAntony Antony	compatible = "allwinner,sun50i-h5-emmc",
99*8faac094SAntony Antony		     "allwinner,sun50i-a64-emmc";
100*8faac094SAntony Antony	clocks = <&ccu CLK_BUS_MMC2>, <&ccu CLK_MMC2>;
101*8faac094SAntony Antony	clock-names = "ahb", "mmc";
102*8faac094SAntony Antony};
103*8faac094SAntony Antony
104*8faac094SAntony Antony&pio {
105*8faac094SAntony Antony	interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>,
106*8faac094SAntony Antony		     <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>,
107*8faac094SAntony Antony		   <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
108*8faac094SAntony Antony	compatible = "allwinner,sun50i-h5-pinctrl";
109*8faac094SAntony Antony};
110