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 0xe0000000 0x10000000>;
17 interrupt-parent = <&mb_intc>;
21 compatible = "fixed-clock";
22 clock-frequency = <50000000>;
27 compatible = "fixed-clock";
28 clock-frequency = <50000000>;
33 compatible = "fixed-clock";
34 clock-frequency = <50000000>;
40 #interrupt-cells = <1>;
41 compatible = "snps,dwmac";
42 reg = < 0x18000 0x2000 >;
44 interrupt-names = "macirq";
48 clock-names = "stmmaceth";
53 compatible = "generic-ehci";
54 reg = < 0x40000 0x100 >;
59 compatible = "generic-ohci";
60 reg = < 0x60000 0x100 >;
65 * According to DW Mobile Storage databook it is required
66 * to use "Hold Register" if card is enumerated in SDR12 or
69 * Utilization of "Hold Register" is already implemented via
70 * dw_mci_pltfm_prepare_command() which in its turn gets
71 * used through dw_mci_drv_data->prepare_command call-back.
72 * This call-back is used in Altera Socfpga platform and so
73 * we may reuse it saying that we're compatible with their
74 * "altr,socfpga-dw-mshc".
76 * Most probably "Hold Register" utilization is platform-
77 * independent requirement which means that single unified
78 * "snps,dw-mshc" should be enough for all users of DW MMC once
79 * dw_mci_pltfm_prepare_command() is used in generic platform
83 compatible = "altr,socfpga-dw-mshc";
84 reg = < 0x15000 0x400 >;
87 card-detect-delay = < 200 >;
88 clocks = <&apbclk>, <&mmcclk>;
89 clock-names = "biu", "ciu";
95 compatible = "snps,dw-apb-uart";
96 reg = <0x20000 0x100>;
97 clock-frequency = <33333333>;
105 compatible = "snps,dw-apb-uart";
106 reg = <0x21000 0x100>;
107 clock-frequency = <33333333>;
114 /* UART muxed with USB data port (ttyS3) */
116 compatible = "snps,dw-apb-uart";
117 reg = <0x22000 0x100>;
118 clock-frequency = <33333333>;
126 compatible = "snps,designware-i2c";
127 reg = <0x1d000 0x100>;
128 clock-frequency = <400000>;
134 compatible = "snps,designware-i2c";
135 reg = <0x1e000 0x100>;
136 clock-frequency = <400000>;
142 compatible = "snps,designware-i2c";
143 #address-cells = <1>;
145 reg = <0x1f000 0x100>;
146 clock-frequency = <400000>;
151 compatible = "24c01";
157 compatible = "24c04";
164 compatible = "snps,dw-apb-gpio";
165 reg = <0x13000 0x1000>;
166 #address-cells = <1>;
169 gpio0_banka: gpio-controller@0 {
170 compatible = "snps,dw-apb-gpio-port";
173 snps,nr-gpios = <32>;
177 gpio0_bankb: gpio-controller@1 {
178 compatible = "snps,dw-apb-gpio-port";
185 gpio0_bankc: gpio-controller@2 {
186 compatible = "snps,dw-apb-gpio-port";
195 compatible = "snps,dw-apb-gpio";
196 reg = <0x14000 0x1000>;
197 #address-cells = <1>;
200 gpio1_banka: gpio-controller@0 {
201 compatible = "snps,dw-apb-gpio-port";
204 snps,nr-gpios = <30>;
208 gpio1_bankb: gpio-controller@1 {
209 compatible = "snps,dw-apb-gpio-port";
212 snps,nr-gpios = <10>;
216 gpio1_bankc: gpio-controller@2 {
217 compatible = "snps,dw-apb-gpio-port";