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";
47 clock-frequency = <50000000>;
53 compatible = "fixed-clock";
54 clock-frequency = <74250000>;
59 #interrupt-cells = <1>;
60 compatible = "snps,dwmac";
61 reg = < 0x18000 0x2000 >;
63 interrupt-names = "macirq";
67 clock-names = "stmmaceth";
72 compatible = "generic-ehci";
73 reg = < 0x40000 0x100 >;
78 compatible = "generic-ohci";
79 reg = < 0x60000 0x100 >;
84 * According to DW Mobile Storage databook it is required
85 * to use "Hold Register" if card is enumerated in SDR12 or
88 * Utilization of "Hold Register" is already implemented via
89 * dw_mci_pltfm_prepare_command() which in its turn gets
90 * used through dw_mci_drv_data->prepare_command call-back.
91 * This call-back is used in Altera Socfpga platform and so
92 * we may reuse it saying that we're compatible with their
93 * "altr,socfpga-dw-mshc".
95 * Most probably "Hold Register" utilization is platform-
96 * independent requirement which means that single unified
97 * "snps,dw-mshc" should be enough for all users of DW MMC once
98 * dw_mci_pltfm_prepare_command() is used in generic platform
102 compatible = "altr,socfpga-dw-mshc";
103 reg = < 0x15000 0x400 >;
105 card-detect-delay = < 200 >;
106 clocks = <&apbclk>, <&mmcclk>;
107 clock-names = "biu", "ciu";
113 compatible = "snps,dw-apb-uart";
114 reg = <0x20000 0x100>;
115 clock-frequency = <33333333>;
123 compatible = "snps,dw-apb-uart";
124 reg = <0x21000 0x100>;
125 clock-frequency = <33333333>;
132 /* UART muxed with USB data port (ttyS3) */
134 compatible = "snps,dw-apb-uart";
135 reg = <0x22000 0x100>;
136 clock-frequency = <33333333>;
144 compatible = "snps,designware-i2c";
145 reg = <0x1d000 0x100>;
146 clock-frequency = <400000>;
152 compatible = "snps,designware-i2s";
153 reg = <0x1e000 0x100>;
154 clocks = <&i2sclk 0>;
155 clock-names = "i2sclk";
157 #sound-dai-cells = <0>;
161 compatible = "snps,designware-i2c";
162 #address-cells = <1>;
164 reg = <0x1f000 0x100>;
165 clock-frequency = <400000>;
170 compatible="adi,adv7511";
173 adi,input-depth = <8>;
174 adi,input-colorspace = "rgb";
175 adi,input-clock = "1x";
176 adi,clock-delay = <0x03>;
177 #sound-dai-cells = <0>;
180 #address-cells = <1>;
186 adv7511_input:endpoint {
187 remote-endpoint = <&pgu_output>;
194 adv7511_output: endpoint {
195 remote-endpoint = <&hdmi_connector_in>;
202 compatible = "24c01";
208 compatible = "24c04";
215 compatible = "hdmi-connector";
218 hdmi_connector_in: endpoint {
219 remote-endpoint = <&adv7511_output>;
225 compatible = "snps,dw-apb-gpio";
226 reg = <0x13000 0x1000>;
227 #address-cells = <1>;
230 gpio0_banka: gpio-controller@0 {
231 compatible = "snps,dw-apb-gpio-port";
234 snps,nr-gpios = <32>;
238 gpio0_bankb: gpio-controller@1 {
239 compatible = "snps,dw-apb-gpio-port";
246 gpio0_bankc: gpio-controller@2 {
247 compatible = "snps,dw-apb-gpio-port";
256 compatible = "snps,dw-apb-gpio";
257 reg = <0x14000 0x1000>;
258 #address-cells = <1>;
261 gpio1_banka: gpio-controller@0 {
262 compatible = "snps,dw-apb-gpio-port";
265 snps,nr-gpios = <30>;
269 gpio1_bankb: gpio-controller@1 {
270 compatible = "snps,dw-apb-gpio-port";
273 snps,nr-gpios = <10>;
277 gpio1_bankc: gpio-controller@2 {
278 compatible = "snps,dw-apb-gpio-port";
287 compatible = "snps,arcpgu";
288 reg = <0x17000 0x400>;
289 encoder-slave = <&adv7511>;
291 clock-names = "pxlclk";
292 memory-region = <&frame_buffer>;
294 pgu_output: endpoint {
295 remote-endpoint = <&adv7511_input>;
301 compatible = "simple-audio-card";
302 simple-audio-card,name = "AXS10x HDMI Audio";
303 simple-audio-card,format = "i2s";
304 simple-audio-card,cpu {
307 simple-audio-card,codec {
308 sound-dai = <&adv7511>;