Commit a56fd949a54b3c8474502659bbb75bef77bca5ca
Committed by
Tom Rini
1 parent
4e1102f6de
Exists in
smarc_8mq_lf_v2020.04
and in
17 other branches
arm: dts: am3517_evm: Sync DTS files with Linux 4.13-RC5
To keep the DTS and DTSI files clean and in sync with Linux, new u-boot.dtsi files are added. There are some spacing issues in the patch, but they appear to be present in the Linux source files. I'll try to get to fixing them there, and do a future re-sync at a later date. Signed-off-by: Adam Ford <aford173@gmail.com> Tested-by: Derald D. Woods <woods.technical@gmail.com>
Showing 5 changed files with 318 additions and 0 deletions Side-by-side Diff
arch/arm/dts/am3517-evm-u-boot.dtsi
arch/arm/dts/am3517-evm.dts
1 | +/* | |
2 | + * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ | |
3 | + * | |
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. | |
7 | + */ | |
8 | +/dts-v1/; | |
9 | + | |
10 | +#include "am3517.dtsi" | |
11 | + | |
12 | +/ { | |
13 | + model = "TI AM3517 EVM (AM3517/05 TMDSEVM3517)"; | |
14 | + compatible = "ti,am3517-evm", "ti,am3517", "ti,omap3"; | |
15 | + | |
16 | + memory@80000000 { | |
17 | + device_type = "memory"; | |
18 | + reg = <0x80000000 0x10000000>; /* 256 MB */ | |
19 | + }; | |
20 | + | |
21 | + vmmc_fixed: vmmc { | |
22 | + compatible = "regulator-fixed"; | |
23 | + regulator-name = "vmmc_fixed"; | |
24 | + regulator-min-microvolt = <3300000>; | |
25 | + regulator-max-microvolt = <3300000>; | |
26 | + }; | |
27 | +}; | |
28 | + | |
29 | +&davinci_emac { | |
30 | + status = "okay"; | |
31 | +}; | |
32 | + | |
33 | +&davinci_mdio { | |
34 | + status = "okay"; | |
35 | +}; | |
36 | + | |
37 | +&i2c1 { | |
38 | + clock-frequency = <400000>; | |
39 | +}; | |
40 | + | |
41 | +&i2c2 { | |
42 | + clock-frequency = <400000>; | |
43 | +}; | |
44 | + | |
45 | +&i2c3 { | |
46 | + clock-frequency = <400000>; | |
47 | +}; | |
48 | + | |
49 | +&mmc1 { | |
50 | + vmmc-supply = <&vmmc_fixed>; | |
51 | + bus-width = <4>; | |
52 | +}; | |
53 | + | |
54 | +&mmc2 { | |
55 | + status = "disabled"; | |
56 | +}; | |
57 | + | |
58 | +&mmc3 { | |
59 | + status = "disabled"; | |
60 | +}; |
arch/arm/dts/am3517-u-boot.dtsi
arch/arm/dts/am3517.dtsi
1 | +/* | |
2 | + * Device Tree Source for am3517 SoC | |
3 | + * | |
4 | + * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ | |
5 | + * | |
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. | |
9 | + */ | |
10 | + | |
11 | +#include "omap3.dtsi" | |
12 | + | |
13 | +/ { | |
14 | + aliases { | |
15 | + serial3 = &uart4; | |
16 | + can = &hecc; | |
17 | + }; | |
18 | + | |
19 | + ocp@68000000 { | |
20 | + am35x_otg_hs: am35x_otg_hs@5c040000 { | |
21 | + compatible = "ti,omap3-musb"; | |
22 | + ti,hwmods = "am35x_otg_hs"; | |
23 | + status = "disabled"; | |
24 | + reg = <0x5c040000 0x1000>; | |
25 | + interrupts = <71>; | |
26 | + interrupt-names = "mc"; | |
27 | + }; | |
28 | + | |
29 | + davinci_emac: ethernet@0x5c000000 { | |
30 | + compatible = "ti,am3517-emac"; | |
31 | + ti,hwmods = "davinci_emac"; | |
32 | + status = "disabled"; | |
33 | + reg = <0x5c000000 0x30000>; | |
34 | + interrupts = <67 68 69 70>; | |
35 | + syscon = <&scm_conf>; | |
36 | + ti,davinci-ctrl-reg-offset = <0x10000>; | |
37 | + ti,davinci-ctrl-mod-reg-offset = <0>; | |
38 | + ti,davinci-ctrl-ram-offset = <0x20000>; | |
39 | + ti,davinci-ctrl-ram-size = <0x2000>; | |
40 | + ti,davinci-rmii-en = /bits/ 8 <1>; | |
41 | + local-mac-address = [ 00 00 00 00 00 00 ]; | |
42 | + }; | |
43 | + | |
44 | + davinci_mdio: ethernet@0x5c030000 { | |
45 | + compatible = "ti,davinci_mdio"; | |
46 | + ti,hwmods = "davinci_mdio"; | |
47 | + status = "disabled"; | |
48 | + reg = <0x5c030000 0x1000>; | |
49 | + bus_freq = <1000000>; | |
50 | + #address-cells = <1>; | |
51 | + #size-cells = <0>; | |
52 | + }; | |
53 | + | |
54 | + uart4: serial@4809e000 { | |
55 | + compatible = "ti,omap3-uart"; | |
56 | + ti,hwmods = "uart4"; | |
57 | + status = "disabled"; | |
58 | + reg = <0x4809e000 0x400>; | |
59 | + interrupts = <84>; | |
60 | + dmas = <&sdma 55 &sdma 54>; | |
61 | + dma-names = "tx", "rx"; | |
62 | + clock-frequency = <48000000>; | |
63 | + }; | |
64 | + | |
65 | + omap3_pmx_core2: pinmux@480025d8 { | |
66 | + compatible = "ti,omap3-padconf", "pinctrl-single"; | |
67 | + reg = <0x480025d8 0x24>; | |
68 | + #address-cells = <1>; | |
69 | + #size-cells = <0>; | |
70 | + #pinctrl-cells = <1>; | |
71 | + #interrupt-cells = <1>; | |
72 | + interrupt-controller; | |
73 | + pinctrl-single,register-width = <16>; | |
74 | + pinctrl-single,function-mask = <0xff1f>; | |
75 | + }; | |
76 | + | |
77 | + hecc: can@5c050000 { | |
78 | + compatible = "ti,am3517-hecc"; | |
79 | + status = "disabled"; | |
80 | + reg = <0x5c050000 0x80>, | |
81 | + <0x5c053000 0x180>, | |
82 | + <0x5c052000 0x200>; | |
83 | + reg-names = "hecc", "hecc-ram", "mbx"; | |
84 | + interrupts = <24>; | |
85 | + clocks = <&hecc_ck>; | |
86 | + }; | |
87 | + }; | |
88 | +}; | |
89 | + | |
90 | +&iva { | |
91 | + status = "disabled"; | |
92 | +}; | |
93 | + | |
94 | +&mailbox { | |
95 | + status = "disabled"; | |
96 | +}; | |
97 | + | |
98 | +&mmu_isp { | |
99 | + status = "disabled"; | |
100 | +}; | |
101 | + | |
102 | +&smartreflex_mpu_iva { | |
103 | + status = "disabled"; | |
104 | +}; | |
105 | + | |
106 | +/include/ "am35xx-clocks.dtsi" | |
107 | +/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi" |
arch/arm/dts/am35xx-clocks.dtsi
1 | +/* | |
2 | + * Device Tree Source for OMAP3 clock data | |
3 | + * | |
4 | + * Copyright (C) 2013 Texas Instruments, Inc. | |
5 | + * | |
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. | |
9 | + */ | |
10 | +&scm_clocks { | |
11 | + emac_ick: emac_ick@32c { | |
12 | + #clock-cells = <0>; | |
13 | + compatible = "ti,am35xx-gate-clock"; | |
14 | + clocks = <&ipss_ick>; | |
15 | + reg = <0x032c>; | |
16 | + ti,bit-shift = <1>; | |
17 | + }; | |
18 | + | |
19 | + emac_fck: emac_fck@32c { | |
20 | + #clock-cells = <0>; | |
21 | + compatible = "ti,gate-clock"; | |
22 | + clocks = <&rmii_ck>; | |
23 | + reg = <0x032c>; | |
24 | + ti,bit-shift = <9>; | |
25 | + }; | |
26 | + | |
27 | + vpfe_ick: vpfe_ick@32c { | |
28 | + #clock-cells = <0>; | |
29 | + compatible = "ti,am35xx-gate-clock"; | |
30 | + clocks = <&ipss_ick>; | |
31 | + reg = <0x032c>; | |
32 | + ti,bit-shift = <2>; | |
33 | + }; | |
34 | + | |
35 | + vpfe_fck: vpfe_fck@32c { | |
36 | + #clock-cells = <0>; | |
37 | + compatible = "ti,gate-clock"; | |
38 | + clocks = <&pclk_ck>; | |
39 | + reg = <0x032c>; | |
40 | + ti,bit-shift = <10>; | |
41 | + }; | |
42 | + | |
43 | + hsotgusb_ick_am35xx: hsotgusb_ick_am35xx@32c { | |
44 | + #clock-cells = <0>; | |
45 | + compatible = "ti,am35xx-gate-clock"; | |
46 | + clocks = <&ipss_ick>; | |
47 | + reg = <0x032c>; | |
48 | + ti,bit-shift = <0>; | |
49 | + }; | |
50 | + | |
51 | + hsotgusb_fck_am35xx: hsotgusb_fck_am35xx@32c { | |
52 | + #clock-cells = <0>; | |
53 | + compatible = "ti,gate-clock"; | |
54 | + clocks = <&sys_ck>; | |
55 | + reg = <0x032c>; | |
56 | + ti,bit-shift = <8>; | |
57 | + }; | |
58 | + | |
59 | + hecc_ck: hecc_ck@32c { | |
60 | + #clock-cells = <0>; | |
61 | + compatible = "ti,am35xx-gate-clock"; | |
62 | + clocks = <&sys_ck>; | |
63 | + reg = <0x032c>; | |
64 | + ti,bit-shift = <3>; | |
65 | + }; | |
66 | +}; | |
67 | +&cm_clocks { | |
68 | + ipss_ick: ipss_ick@a10 { | |
69 | + #clock-cells = <0>; | |
70 | + compatible = "ti,am35xx-interface-clock"; | |
71 | + clocks = <&core_l3_ick>; | |
72 | + reg = <0x0a10>; | |
73 | + ti,bit-shift = <4>; | |
74 | + }; | |
75 | + | |
76 | + rmii_ck: rmii_ck { | |
77 | + #clock-cells = <0>; | |
78 | + compatible = "fixed-clock"; | |
79 | + clock-frequency = <50000000>; | |
80 | + }; | |
81 | + | |
82 | + pclk_ck: pclk_ck { | |
83 | + #clock-cells = <0>; | |
84 | + compatible = "fixed-clock"; | |
85 | + clock-frequency = <27000000>; | |
86 | + }; | |
87 | + | |
88 | + uart4_ick_am35xx: uart4_ick_am35xx@a10 { | |
89 | + #clock-cells = <0>; | |
90 | + compatible = "ti,omap3-interface-clock"; | |
91 | + clocks = <&core_l4_ick>; | |
92 | + reg = <0x0a10>; | |
93 | + ti,bit-shift = <23>; | |
94 | + }; | |
95 | + | |
96 | + uart4_fck_am35xx: uart4_fck_am35xx@a00 { | |
97 | + #clock-cells = <0>; | |
98 | + compatible = "ti,wait-gate-clock"; | |
99 | + clocks = <&core_48m_fck>; | |
100 | + reg = <0x0a00>; | |
101 | + ti,bit-shift = <23>; | |
102 | + }; | |
103 | +}; | |
104 | + | |
105 | +&cm_clockdomains { | |
106 | + core_l3_clkdm: core_l3_clkdm { | |
107 | + compatible = "ti,clockdomain"; | |
108 | + clocks = <&sdrc_ick>, <&ipss_ick>, <&emac_ick>, <&vpfe_ick>, | |
109 | + <&hsotgusb_ick_am35xx>, <&hsotgusb_fck_am35xx>, | |
110 | + <&hecc_ck>; | |
111 | + }; | |
112 | + | |
113 | + core_l4_clkdm: core_l4_clkdm { | |
114 | + compatible = "ti,clockdomain"; | |
115 | + clocks = <&cpefuse_fck>, <&ts_fck>, <&usbtll_fck>, | |
116 | + <&usbtll_ick>, <&mmchs3_ick>, <&mmchs3_fck>, | |
117 | + <&mmchs2_fck>, <&mmchs1_fck>, <&i2c3_fck>, <&i2c2_fck>, | |
118 | + <&i2c1_fck>, <&mcspi4_fck>, <&mcspi3_fck>, | |
119 | + <&mcspi2_fck>, <&mcspi1_fck>, <&uart2_fck>, | |
120 | + <&uart1_fck>, <&hdq_fck>, <&mmchs2_ick>, <&mmchs1_ick>, | |
121 | + <&hdq_ick>, <&mcspi4_ick>, <&mcspi3_ick>, | |
122 | + <&mcspi2_ick>, <&mcspi1_ick>, <&i2c3_ick>, <&i2c2_ick>, | |
123 | + <&i2c1_ick>, <&uart2_ick>, <&uart1_ick>, <&gpt11_ick>, | |
124 | + <&gpt10_ick>, <&mcbsp5_ick>, <&mcbsp1_ick>, | |
125 | + <&omapctrl_ick>, <&aes2_ick>, <&sha12_ick>, | |
126 | + <&uart4_ick_am35xx>, <&uart4_fck_am35xx>; | |
127 | + }; | |
128 | +}; |