2 * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
10 * Device Tree for ARC HS Development Kit
14 #include <dt-bindings/net/ti-dp83867.h>
18 compatible = "snps,hsdk";
24 bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
33 compatible = "snps,archs38";
40 compatible = "snps,archs38";
47 compatible = "snps,archs38";
54 compatible = "snps,archs38";
60 input_clk: input-clk {
62 compatible = "fixed-clock";
63 clock-frequency = <33333333>;
66 cpu_intc: cpu-interrupt-controller {
67 compatible = "snps,archs-intc";
69 #interrupt-cells = <1>;
72 idu_intc: idu-interrupt-controller {
73 compatible = "snps,archs-idu-intc";
75 #interrupt-cells = <1>;
76 interrupt-parent = <&cpu_intc>;
80 compatible = "snps,archs-pct";
83 /* TIMER0 with interrupt for clockevent */
85 compatible = "snps,arc-timer";
87 interrupt-parent = <&cpu_intc>;
91 /* 64-bit Global Free Running Counter */
93 compatible = "snps,archs-timer-gfrc";
98 compatible = "simple-bus";
101 interrupt-parent = <&idu_intc>;
103 ranges = <0x00000000 0xf0000000 0x10000000>;
105 core_clk: core-clk@0 {
106 compatible = "snps,hsdk-core-pll-clock";
107 reg = <0x00 0x10>, <0x14B8 0x4>;
109 clocks = <&input_clk>;
112 serial: serial@5000 {
113 compatible = "snps,dw-apb-uart";
114 reg = <0x5000 0x100>;
115 clock-frequency = <33330000>;
123 compatible = "fixed-clock";
124 clock-frequency = <400000000>;
128 mmcclk_ciu: mmcclk-ciu {
129 compatible = "fixed-clock";
131 * DW sdio controller has external ciu clock divider
132 * controlled via register in SDIO IP. Due to its
133 * unexpected default value (it should devide by 1
134 * but it devides by 8) SDIO IP uses wrong clock and
135 * works unstable (see STAR 9001204800)
136 * So add temporary fix and change clock frequency
137 * from 100000000 to 12500000 Hz until we fix dw sdio
140 clock-frequency = <12500000>;
144 mmcclk_biu: mmcclk-biu {
145 compatible = "fixed-clock";
146 clock-frequency = <400000000>;
151 #interrupt-cells = <1>;
152 compatible = "snps,dwmac";
153 reg = <0x8000 0x2000>;
155 interrupt-names = "macirq";
159 clock-names = "stmmaceth";
160 phy-handle = <&phy0>;
163 #address-cells = <1>;
165 compatible = "snps,dwmac-mdio";
166 phy0: ethernet-phy@0 {
168 ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
169 ti,tx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>;
170 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>;
176 compatible = "snps,hsdk-v1.0-ohci", "generic-ohci";
177 reg = <0x60000 0x100>;
182 compatible = "snps,hsdk-v1.0-ehci", "generic-ehci";
183 reg = <0x40000 0x100>;
188 compatible = "altr,socfpga-dw-mshc";
189 reg = <0xa000 0x400>;
192 card-detect-delay = <200>;
193 clocks = <&mmcclk_biu>, <&mmcclk_ciu>;
194 clock-names = "biu", "ciu";
201 #address-cells = <1>;
203 device_type = "memory";
204 reg = <0x80000000 0x40000000>; /* 1 GiB */