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";
73 snps,multicast-filter-bins = <256>;
75 clock-names = "stmmaceth";
80 compatible = "generic-ehci";
81 reg = < 0x40000 0x100 >;
86 compatible = "generic-ohci";
87 reg = < 0x60000 0x100 >;
92 * According to DW Mobile Storage databook it is required
93 * to use "Hold Register" if card is enumerated in SDR12 or
96 * Utilization of "Hold Register" is already implemented via
97 * dw_mci_pltfm_prepare_command() which in its turn gets
98 * used through dw_mci_drv_data->prepare_command call-back.
99 * This call-back is used in Altera Socfpga platform and so
100 * we may reuse it saying that we're compatible with their
101 * "altr,socfpga-dw-mshc".
103 * Most probably "Hold Register" utilization is platform-
104 * independent requirement which means that single unified
105 * "snps,dw-mshc" should be enough for all users of DW MMC once
106 * dw_mci_pltfm_prepare_command() is used in generic platform
110 compatible = "altr,socfpga-dw-mshc";
111 reg = < 0x15000 0x400 >;
113 card-detect-delay = < 200 >;
114 clocks = <&apbclk>, <&mmcclk>;
115 clock-names = "biu", "ciu";
121 compatible = "snps,dw-apb-uart";
122 reg = <0x20000 0x100>;
123 clock-frequency = <33333333>;
131 compatible = "snps,dw-apb-uart";
132 reg = <0x21000 0x100>;
133 clock-frequency = <33333333>;
140 /* UART muxed with USB data port (ttyS3) */
142 compatible = "snps,dw-apb-uart";
143 reg = <0x22000 0x100>;
144 clock-frequency = <33333333>;
152 compatible = "snps,designware-i2c";
153 reg = <0x1d000 0x100>;
154 clock-frequency = <400000>;
160 compatible = "snps,designware-i2s";
161 reg = <0x1e000 0x100>;
162 clocks = <&i2sclk 0>;
163 clock-names = "i2sclk";
165 #sound-dai-cells = <0>;
169 compatible = "snps,designware-i2c";
170 #address-cells = <1>;
172 reg = <0x1f000 0x100>;
173 clock-frequency = <400000>;
178 compatible="adi,adv7511";
181 adi,input-depth = <8>;
182 adi,input-colorspace = "rgb";
183 adi,input-clock = "1x";
184 adi,clock-delay = <0x03>;
185 #sound-dai-cells = <0>;
188 #address-cells = <1>;
194 adv7511_input:endpoint {
195 remote-endpoint = <&pgu_output>;
202 adv7511_output: endpoint {
203 remote-endpoint = <&hdmi_connector_in>;
210 compatible = "24c01";
216 compatible = "24c04";
223 compatible = "hdmi-connector";
226 hdmi_connector_in: endpoint {
227 remote-endpoint = <&adv7511_output>;
233 compatible = "snps,dw-apb-gpio";
234 reg = <0x13000 0x1000>;
235 #address-cells = <1>;
238 gpio0_banka: gpio-controller@0 {
239 compatible = "snps,dw-apb-gpio-port";
242 snps,nr-gpios = <32>;
246 gpio0_bankb: gpio-controller@1 {
247 compatible = "snps,dw-apb-gpio-port";
254 gpio0_bankc: gpio-controller@2 {
255 compatible = "snps,dw-apb-gpio-port";
264 compatible = "snps,dw-apb-gpio";
265 reg = <0x14000 0x1000>;
266 #address-cells = <1>;
269 gpio1_banka: gpio-controller@0 {
270 compatible = "snps,dw-apb-gpio-port";
273 snps,nr-gpios = <30>;
277 gpio1_bankb: gpio-controller@1 {
278 compatible = "snps,dw-apb-gpio-port";
281 snps,nr-gpios = <10>;
285 gpio1_bankc: gpio-controller@2 {
286 compatible = "snps,dw-apb-gpio-port";
295 compatible = "snps,arcpgu";
296 reg = <0x17000 0x400>;
297 encoder-slave = <&adv7511>;
299 clock-names = "pxlclk";
300 memory-region = <&frame_buffer>;
302 pgu_output: endpoint {
303 remote-endpoint = <&adv7511_input>;
309 compatible = "simple-audio-card";
310 simple-audio-card,name = "AXS10x HDMI Audio";
311 simple-audio-card,format = "i2s";
312 simple-audio-card,cpu {
315 simple-audio-card,codec {
316 sound-dai = <&adv7511>;