2 * Device Tree Source for am3517 SoC
4 * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
6 * This file is licensed under the terms of the GNU General Public License
7 * version 2. This program is licensed "as is" without any warranty of any
8 * kind, whether express or implied.
13 /* AM3517 doesn't appear to have the crypto engines defined in omap3.dtsi */
14 /delete-node/ &aes1_target;
15 /delete-node/ &aes2_target;
25 /* Based on OMAP3630 variants OPP50 and OPP100 */
26 operating-points-v2 = <&cpu0_opp_table>;
28 clock-latency = <300000>; /* From legacy driver */
32 cpu0_opp_table: opp-table {
33 compatible = "operating-points-v2-ti-cpu";
36 * AM3517 TRM only lists 600MHz @ 1.2V, but omap36xx
37 * appear to operate at 300MHz as well. Since AM3517 only
38 * lists one operating voltage, it will remain fixed at 1.2V
41 opp-hz = /bits/ 64 <300000000>;
42 opp-microvolt = <1200000>;
43 opp-supported-hw = <0xffffffff 0xffffffff>;
48 opp-hz = /bits/ 64 <600000000>;
49 opp-microvolt = <1200000>;
50 opp-supported-hw = <0xffffffff 0xffffffff>;
55 am35x_otg_hs: am35x_otg_hs@5c040000 {
56 compatible = "ti,omap3-musb";
57 ti,hwmods = "am35x_otg_hs";
59 reg = <0x5c040000 0x1000>;
61 interrupt-names = "mc";
64 davinci_emac: ethernet@5c000000 {
65 compatible = "ti,am3517-emac";
66 ti,hwmods = "davinci_emac";
68 reg = <0x5c000000 0x30000>;
69 interrupts = <67 68 69 70>;
71 ti,davinci-ctrl-reg-offset = <0x10000>;
72 ti,davinci-ctrl-mod-reg-offset = <0>;
73 ti,davinci-ctrl-ram-offset = <0x20000>;
74 ti,davinci-ctrl-ram-size = <0x2000>;
75 ti,davinci-rmii-en = /bits/ 8 <1>;
76 local-mac-address = [ 00 00 00 00 00 00 ];
81 davinci_mdio: mdio@5c030000 {
82 compatible = "ti,davinci_mdio";
83 ti,hwmods = "davinci_mdio";
85 reg = <0x5c030000 0x1000>;
93 uart4: serial@4809e000 {
94 compatible = "ti,omap3-uart";
97 reg = <0x4809e000 0x400>;
99 dmas = <&sdma 55 &sdma 54>;
100 dma-names = "tx", "rx";
101 clock-frequency = <48000000>;
104 omap3_pmx_core2: pinmux@480025d8 {
105 compatible = "ti,omap3-padconf", "pinctrl-single";
106 reg = <0x480025d8 0x24>;
107 #address-cells = <1>;
109 #pinctrl-cells = <1>;
110 #interrupt-cells = <1>;
111 interrupt-controller;
112 pinctrl-single,register-width = <16>;
113 pinctrl-single,function-mask = <0xff1f>;
117 compatible = "ti,am3517-hecc";
119 reg = <0x5c050000 0x80>,
122 reg-names = "hecc", "hecc-ram", "mbx";
128 * On am3517 the OCP registers do not seem to be accessible
129 * similar to the omap34xx. Maybe SGX is permanently set to
130 * "OCP bypass mode", or maybe there is OCP_SYSCONFIG that is
131 * write-only at 0x50000e10. We detect SGX based on the SGX
132 * revision register instead of the unreadable OCP revision
135 sgx_module: target-module@50000000 {
136 compatible = "ti,sysc-omap2", "ti,sysc";
137 reg = <0x50000014 0x4>;
139 clocks = <&sgx_fck>, <&sgx_ick>;
140 clock-names = "fck", "ick";
141 #address-cells = <1>;
143 ranges = <0 0x50000000 0x4000>;
146 * Closed source PowerVR driver, no child device
147 * binding or driver in mainline
153 /* Not currently working, probably needs at least different clocks */
156 /delete-property/ clocks;
159 /* Table Table 5-79 of the TRM shows 480ab000 is reserved */
176 #include "am35xx-clocks.dtsi"
177 #include "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
179 /* Preferred always-on timer for clocksource */
184 assigned-clocks = <&gpt1_fck>;
185 assigned-clock-parents = <&sys_ck>;
189 /* Preferred timer for clockevent */
194 assigned-clocks = <&gpt2_fck>;
195 assigned-clock-parents = <&sys_ck>;