2 * Support for peripherals on the AXS10x mainboard
4 * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com)
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
13 compatible = "simple-bus";
16 ranges = <0x00000000 0x0 0xe0000000 0x10000000>;
17 interrupt-parent = <&mb_intc>;
19 i2sclk: i2sclk@100a0 {
20 compatible = "snps,axs10x-i2s-pll-clock";
22 clocks = <&i2spll_clk>;
27 i2spll_clk: i2spll_clk {
28 compatible = "fixed-clock";
29 clock-frequency = <27000000>;
34 compatible = "fixed-clock";
35 clock-frequency = <50000000>;
40 compatible = "fixed-clock";
41 clock-frequency = <50000000>;
46 compatible = "fixed-clock";
48 * DW sdio controller has external ciu clock divider
49 * controlled via register in SDIO IP. It divides
50 * sdio_ref_clk (which comes from CGU) by 16 for
51 * default. So default mmcclk clock (which comes
52 * to sdk_in) is 25000000 Hz.
54 clock-frequency = <25000000>;
60 compatible = "fixed-clock";
61 clock-frequency = <74250000>;
66 #interrupt-cells = <1>;
67 compatible = "snps,dwmac";
68 reg = < 0x18000 0x2000 >;
70 interrupt-names = "macirq";
74 clock-names = "stmmaceth";
79 compatible = "generic-ehci";
80 reg = < 0x40000 0x100 >;
85 compatible = "generic-ohci";
86 reg = < 0x60000 0x100 >;
91 * According to DW Mobile Storage databook it is required
92 * to use "Hold Register" if card is enumerated in SDR12 or
95 * Utilization of "Hold Register" is already implemented via
96 * dw_mci_pltfm_prepare_command() which in its turn gets
97 * used through dw_mci_drv_data->prepare_command call-back.
98 * This call-back is used in Altera Socfpga platform and so
99 * we may reuse it saying that we're compatible with their
100 * "altr,socfpga-dw-mshc".
102 * Most probably "Hold Register" utilization is platform-
103 * independent requirement which means that single unified
104 * "snps,dw-mshc" should be enough for all users of DW MMC once
105 * dw_mci_pltfm_prepare_command() is used in generic platform
109 compatible = "altr,socfpga-dw-mshc";
110 reg = < 0x15000 0x400 >;
112 card-detect-delay = < 200 >;
113 clocks = <&apbclk>, <&mmcclk>;
114 clock-names = "biu", "ciu";
120 compatible = "snps,dw-apb-uart";
121 reg = <0x20000 0x100>;
122 clock-frequency = <33333333>;
130 compatible = "snps,dw-apb-uart";
131 reg = <0x21000 0x100>;
132 clock-frequency = <33333333>;
139 /* UART muxed with USB data port (ttyS3) */
141 compatible = "snps,dw-apb-uart";
142 reg = <0x22000 0x100>;
143 clock-frequency = <33333333>;
151 compatible = "snps,designware-i2c";
152 reg = <0x1d000 0x100>;
153 clock-frequency = <400000>;
159 compatible = "snps,designware-i2s";
160 reg = <0x1e000 0x100>;
161 clocks = <&i2sclk 0>;
162 clock-names = "i2sclk";
164 #sound-dai-cells = <0>;
168 compatible = "snps,designware-i2c";
169 #address-cells = <1>;
171 reg = <0x1f000 0x100>;
172 clock-frequency = <400000>;
177 compatible="adi,adv7511";
180 adi,input-depth = <8>;
181 adi,input-colorspace = "rgb";
182 adi,input-clock = "1x";
183 adi,clock-delay = <0x03>;
184 #sound-dai-cells = <0>;
187 #address-cells = <1>;
193 adv7511_input:endpoint {
194 remote-endpoint = <&pgu_output>;
201 adv7511_output: endpoint {
202 remote-endpoint = <&hdmi_connector_in>;
209 compatible = "24c01";
215 compatible = "24c04";
222 compatible = "hdmi-connector";
225 hdmi_connector_in: endpoint {
226 remote-endpoint = <&adv7511_output>;
232 compatible = "snps,dw-apb-gpio";
233 reg = <0x13000 0x1000>;
234 #address-cells = <1>;
237 gpio0_banka: gpio-controller@0 {
238 compatible = "snps,dw-apb-gpio-port";
241 snps,nr-gpios = <32>;
245 gpio0_bankb: gpio-controller@1 {
246 compatible = "snps,dw-apb-gpio-port";
253 gpio0_bankc: gpio-controller@2 {
254 compatible = "snps,dw-apb-gpio-port";
263 compatible = "snps,dw-apb-gpio";
264 reg = <0x14000 0x1000>;
265 #address-cells = <1>;
268 gpio1_banka: gpio-controller@0 {
269 compatible = "snps,dw-apb-gpio-port";
272 snps,nr-gpios = <30>;
276 gpio1_bankb: gpio-controller@1 {
277 compatible = "snps,dw-apb-gpio-port";
280 snps,nr-gpios = <10>;
284 gpio1_bankc: gpio-controller@2 {
285 compatible = "snps,dw-apb-gpio-port";
294 compatible = "snps,arcpgu";
295 reg = <0x17000 0x400>;
296 encoder-slave = <&adv7511>;
298 clock-names = "pxlclk";
299 memory-region = <&frame_buffer>;
301 pgu_output: endpoint {
302 remote-endpoint = <&adv7511_input>;
308 compatible = "simple-audio-card";
309 simple-audio-card,name = "AXS10x HDMI Audio";
310 simple-audio-card,format = "i2s";
311 simple-audio-card,cpu {
314 simple-audio-card,codec {
315 sound-dai = <&adv7511>;