1 // SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 * Copyright 2020-2022 Advanced Micro Devices, Inc.
6 #include <dt-bindings/gpio/gpio.h>
7 #include "dt-bindings/interrupt-controller/arm-gic.h"
10 model = "Elba ASIC Board";
11 compatible = "amd,pensando-elba";
12 interrupt-parent = <&gic>;
18 ahb_clk: oscillator0 {
19 compatible = "fixed-clock";
23 emmc_clk: oscillator2 {
24 compatible = "fixed-clock";
28 flash_clk: oscillator3 {
29 compatible = "fixed-clock";
33 ref_clk: oscillator4 {
34 compatible = "fixed-clock";
39 compatible = "arm,psci-0.2";
44 compatible = "arm,armv8-timer";
45 interrupts = <GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>,
46 <GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>,
47 <GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>,
48 <GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>;
52 compatible = "arm,cortex-a72-pmu";
53 interrupts = <GIC_PPI 7 IRQ_TYPE_LEVEL_LOW>;
57 compatible = "simple-bus";
63 compatible = "snps,designware-i2c";
64 reg = <0x0 0x400 0x0 0x100>;
68 i2c-sda-hold-time-ns = <480>;
69 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
74 compatible = "snps,dw-wdt";
75 reg = <0x0 0x1400 0x0 0x100>;
77 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>;
82 compatible = "amd,pensando-elba-qspi", "cdns,qspi-nor";
83 reg = <0x0 0x2400 0x0 0x400>,
84 <0x0 0x7fff0000 0x0 0x1000>;
87 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
88 clocks = <&flash_clk>;
89 cdns,fifo-depth = <1024>;
90 cdns,fifo-width = <4>;
91 cdns,trigger-address = <0x7fff0000>;
96 compatible = "amd,pensando-elba-spi";
97 reg = <0x0 0x2800 0x0 0x100>;
100 amd,pensando-elba-syscon = <&syscon>;
102 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
108 compatible = "snps,dw-apb-gpio";
109 reg = <0x0 0x4000 0x0 0x78>;
110 #address-cells = <1>;
115 compatible = "snps,dw-apb-gpio-port";
120 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
121 interrupt-controller;
122 interrupt-parent = <&gic>;
123 #interrupt-cells = <2>;
127 compatible = "snps,dw-apb-gpio-port";
136 compatible = "ns16550a";
137 reg = <0x0 0x4800 0x0 0x100>;
139 interrupts = <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>;
144 gic: interrupt-controller@800000 {
145 compatible = "arm,gic-v3";
146 reg = <0x0 0x800000 0x0 0x200000>, /* GICD */
147 <0x0 0xa00000 0x0 0x200000>, /* GICR */
148 <0x0 0x60000000 0x0 0x2000>, /* GICC */
149 <0x0 0x60010000 0x0 0x1000>, /* GICH */
150 <0x0 0x60020000 0x0 0x2000>; /* GICV */
151 #address-cells = <2>;
153 #interrupt-cells = <3>;
155 interrupt-controller;
156 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>;
159 * Elba specific pre-ITS is enabled using the
160 * existing property socionext,synquacer-pre-its
162 gic_its: msi-controller@820000 {
163 compatible = "arm,gic-v3-its";
164 reg = <0x0 0x820000 0x0 0x10000>;
167 socionext,synquacer-pre-its =
168 <0xc00000 0x1000000>;
173 compatible = "amd,pensando-elba-sd4hc", "cdns,sd4hc";
174 reg = <0x0 0x30440000 0x0 0x10000>,
175 <0x0 0x30480044 0x0 0x4>; /* byte-lane ctrl */
176 clocks = <&emmc_clk>;
177 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
178 cdns,phy-input-delay-sd-highspeed = <0x4>;
179 cdns,phy-input-delay-legacy = <0x4>;
180 cdns,phy-input-delay-sd-uhs-sdr50 = <0x6>;
181 cdns,phy-input-delay-sd-uhs-ddr50 = <0x16>;
186 syscon: syscon@307c0000 {
187 compatible = "amd,pensando-elba-syscon", "syscon";
188 reg = <0x0 0x307c0000 0x0 0x3000>;