1 // SPDX-License-Identifier: GPL-2.0-only
3 * Support for peripherals on the AXS10x mainboard
5 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
14 compatible = "simple-bus";
17 ranges = <0x00000000 0x0 0xe0000000 0x10000000>;
18 interrupt-parent = <&mb_intc>;
20 creg_rst: reset-controller@11220 {
21 compatible = "snps,axs10x-reset";
26 i2sclk: i2sclk@100a0 {
27 compatible = "snps,axs10x-i2s-pll-clock";
29 clocks = <&i2spll_clk>;
34 i2spll_clk: i2spll_clk {
35 compatible = "fixed-clock";
36 clock-frequency = <27000000>;
41 compatible = "fixed-clock";
42 clock-frequency = <50000000>;
47 compatible = "fixed-clock";
48 clock-frequency = <50000000>;
53 compatible = "fixed-clock";
55 * DW sdio controller has external ciu clock divider
56 * controlled via register in SDIO IP. It divides
57 * sdio_ref_clk (which comes from CGU) by 16 for
58 * default. So default mmcclk clock (which comes
59 * to sdk_in) is 25000000 Hz.
61 clock-frequency = <25000000>;
66 pguclk: pguclk@10080 {
67 compatible = "snps,axs10x-pgu-pll-clock";
68 reg = <0x10080 0x10>, <0x110 0x10>;
70 clocks = <&input_clk>;
73 gmac: ethernet@18000 {
74 #interrupt-cells = <1>;
75 compatible = "snps,dwmac";
76 reg = < 0x18000 0x2000 >;
78 interrupt-names = "macirq";
81 snps,multicast-filter-bins = <256>;
83 clock-names = "stmmaceth";
85 resets = <&creg_rst 5>;
86 reset-names = "stmmaceth";
87 mac-address = [00 00 00 00 00 00]; /* Filled in by U-Boot */
91 compatible = "generic-ehci";
92 reg = < 0x40000 0x100 >;
97 compatible = "generic-ohci";
98 reg = < 0x60000 0x100 >;
103 * According to DW Mobile Storage databook it is required
104 * to use "Hold Register" if card is enumerated in SDR12 or
107 * Utilization of "Hold Register" is already implemented via
108 * dw_mci_pltfm_prepare_command() which in its turn gets
109 * used through dw_mci_drv_data->prepare_command call-back.
110 * This call-back is used in Altera Socfpga platform and so
111 * we may reuse it saying that we're compatible with their
112 * "altr,socfpga-dw-mshc".
114 * Most probably "Hold Register" utilization is platform-
115 * independent requirement which means that single unified
116 * "snps,dw-mshc" should be enough for all users of DW MMC once
117 * dw_mci_pltfm_prepare_command() is used in generic platform
121 compatible = "altr,socfpga-dw-mshc";
122 reg = < 0x15000 0x400 >;
124 card-detect-delay = < 200 >;
125 clocks = <&apbclk>, <&mmcclk>;
126 clock-names = "biu", "ciu";
132 compatible = "snps,dw-apb-uart";
133 reg = <0x20000 0x100>;
134 clock-frequency = <33333333>;
142 compatible = "snps,dw-apb-uart";
143 reg = <0x21000 0x100>;
144 clock-frequency = <33333333>;
151 /* UART muxed with USB data port (ttyS3) */
153 compatible = "snps,dw-apb-uart";
154 reg = <0x22000 0x100>;
155 clock-frequency = <33333333>;
163 compatible = "snps,designware-i2c";
164 reg = <0x1d000 0x100>;
165 clock-frequency = <400000>;
171 compatible = "snps,designware-i2s";
172 reg = <0x1e000 0x100>;
173 clocks = <&i2sclk 0>;
174 clock-names = "i2sclk";
176 #sound-dai-cells = <0>;
180 compatible = "snps,designware-i2c";
181 #address-cells = <1>;
183 reg = <0x1f000 0x100>;
184 clock-frequency = <400000>;
189 compatible="adi,adv7511";
192 adi,input-depth = <8>;
193 adi,input-colorspace = "rgb";
194 adi,input-clock = "1x";
195 adi,clock-delay = <0x03>;
196 #sound-dai-cells = <0>;
199 #address-cells = <1>;
205 adv7511_input:endpoint {
206 remote-endpoint = <&pgu_output>;
213 adv7511_output: endpoint {
214 remote-endpoint = <&hdmi_connector_in>;
221 compatible = "atmel,24c01";
227 compatible = "atmel,24c04";
234 compatible = "hdmi-connector";
237 hdmi_connector_in: endpoint {
238 remote-endpoint = <&adv7511_output>;
244 compatible = "snps,dw-apb-gpio";
245 reg = <0x13000 0x1000>;
246 #address-cells = <1>;
249 gpio0_banka: gpio-controller@0 {
250 compatible = "snps,dw-apb-gpio-port";
253 snps,nr-gpios = <32>;
257 gpio0_bankb: gpio-controller@1 {
258 compatible = "snps,dw-apb-gpio-port";
265 gpio0_bankc: gpio-controller@2 {
266 compatible = "snps,dw-apb-gpio-port";
275 compatible = "snps,dw-apb-gpio";
276 reg = <0x14000 0x1000>;
277 #address-cells = <1>;
280 gpio1_banka: gpio-controller@0 {
281 compatible = "snps,dw-apb-gpio-port";
284 snps,nr-gpios = <30>;
288 gpio1_bankb: gpio-controller@1 {
289 compatible = "snps,dw-apb-gpio-port";
292 snps,nr-gpios = <10>;
296 gpio1_bankc: gpio-controller@2 {
297 compatible = "snps,dw-apb-gpio-port";
306 compatible = "snps,arcpgu";
307 reg = <0x17000 0x400>;
308 encoder-slave = <&adv7511>;
310 clock-names = "pxlclk";
311 memory-region = <&frame_buffer>;
313 pgu_output: endpoint {
314 remote-endpoint = <&adv7511_input>;
320 compatible = "simple-audio-card";
321 simple-audio-card,name = "AXS10x HDMI Audio";
322 simple-audio-card,format = "i2s";
323 simple-audio-card,cpu {
326 simple-audio-card,codec {
327 sound-dai = <&adv7511>;