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 creg_rst: reset-controller@11220 {
20 compatible = "snps,axs10x-reset";
25 i2sclk: i2sclk@100a0 {
26 compatible = "snps,axs10x-i2s-pll-clock";
28 clocks = <&i2spll_clk>;
33 i2spll_clk: i2spll_clk {
34 compatible = "fixed-clock";
35 clock-frequency = <27000000>;
40 compatible = "fixed-clock";
41 clock-frequency = <50000000>;
46 compatible = "fixed-clock";
47 clock-frequency = <50000000>;
52 compatible = "fixed-clock";
54 * DW sdio controller has external ciu clock divider
55 * controlled via register in SDIO IP. It divides
56 * sdio_ref_clk (which comes from CGU) by 16 for
57 * default. So default mmcclk clock (which comes
58 * to sdk_in) is 25000000 Hz.
60 clock-frequency = <25000000>;
66 compatible = "fixed-clock";
67 clock-frequency = <74250000>;
72 #interrupt-cells = <1>;
73 compatible = "snps,dwmac";
74 reg = < 0x18000 0x2000 >;
76 interrupt-names = "macirq";
80 clock-names = "stmmaceth";
82 resets = <&creg_rst 5>;
83 reset-names = "stmmaceth";
87 compatible = "generic-ehci";
88 reg = < 0x40000 0x100 >;
93 compatible = "generic-ohci";
94 reg = < 0x60000 0x100 >;
99 * According to DW Mobile Storage databook it is required
100 * to use "Hold Register" if card is enumerated in SDR12 or
103 * Utilization of "Hold Register" is already implemented via
104 * dw_mci_pltfm_prepare_command() which in its turn gets
105 * used through dw_mci_drv_data->prepare_command call-back.
106 * This call-back is used in Altera Socfpga platform and so
107 * we may reuse it saying that we're compatible with their
108 * "altr,socfpga-dw-mshc".
110 * Most probably "Hold Register" utilization is platform-
111 * independent requirement which means that single unified
112 * "snps,dw-mshc" should be enough for all users of DW MMC once
113 * dw_mci_pltfm_prepare_command() is used in generic platform
117 compatible = "altr,socfpga-dw-mshc";
118 reg = < 0x15000 0x400 >;
120 card-detect-delay = < 200 >;
121 clocks = <&apbclk>, <&mmcclk>;
122 clock-names = "biu", "ciu";
128 compatible = "snps,dw-apb-uart";
129 reg = <0x20000 0x100>;
130 clock-frequency = <33333333>;
138 compatible = "snps,dw-apb-uart";
139 reg = <0x21000 0x100>;
140 clock-frequency = <33333333>;
147 /* UART muxed with USB data port (ttyS3) */
149 compatible = "snps,dw-apb-uart";
150 reg = <0x22000 0x100>;
151 clock-frequency = <33333333>;
159 compatible = "snps,designware-i2c";
160 reg = <0x1d000 0x100>;
161 clock-frequency = <400000>;
167 compatible = "snps,designware-i2s";
168 reg = <0x1e000 0x100>;
169 clocks = <&i2sclk 0>;
170 clock-names = "i2sclk";
172 #sound-dai-cells = <0>;
176 compatible = "snps,designware-i2c";
177 #address-cells = <1>;
179 reg = <0x1f000 0x100>;
180 clock-frequency = <400000>;
185 compatible="adi,adv7511";
188 adi,input-depth = <8>;
189 adi,input-colorspace = "rgb";
190 adi,input-clock = "1x";
191 adi,clock-delay = <0x03>;
192 #sound-dai-cells = <0>;
195 #address-cells = <1>;
201 adv7511_input:endpoint {
202 remote-endpoint = <&pgu_output>;
209 adv7511_output: endpoint {
210 remote-endpoint = <&hdmi_connector_in>;
217 compatible = "24c01";
223 compatible = "24c04";
230 compatible = "hdmi-connector";
233 hdmi_connector_in: endpoint {
234 remote-endpoint = <&adv7511_output>;
240 compatible = "snps,dw-apb-gpio";
241 reg = <0x13000 0x1000>;
242 #address-cells = <1>;
245 gpio0_banka: gpio-controller@0 {
246 compatible = "snps,dw-apb-gpio-port";
249 snps,nr-gpios = <32>;
253 gpio0_bankb: gpio-controller@1 {
254 compatible = "snps,dw-apb-gpio-port";
261 gpio0_bankc: gpio-controller@2 {
262 compatible = "snps,dw-apb-gpio-port";
271 compatible = "snps,dw-apb-gpio";
272 reg = <0x14000 0x1000>;
273 #address-cells = <1>;
276 gpio1_banka: gpio-controller@0 {
277 compatible = "snps,dw-apb-gpio-port";
280 snps,nr-gpios = <30>;
284 gpio1_bankb: gpio-controller@1 {
285 compatible = "snps,dw-apb-gpio-port";
288 snps,nr-gpios = <10>;
292 gpio1_bankc: gpio-controller@2 {
293 compatible = "snps,dw-apb-gpio-port";
302 compatible = "snps,arcpgu";
303 reg = <0x17000 0x400>;
304 encoder-slave = <&adv7511>;
306 clock-names = "pxlclk";
307 memory-region = <&frame_buffer>;
309 pgu_output: endpoint {
310 remote-endpoint = <&adv7511_input>;
316 compatible = "simple-audio-card";
317 simple-audio-card,name = "AXS10x HDMI Audio";
318 simple-audio-card,format = "i2s";
319 simple-audio-card,cpu {
322 simple-audio-card,codec {
323 sound-dai = <&adv7511>;