blob: e5f0207a4745b06631d6fe28421c6d151b1bd985 [file] [log] [blame]
Andrew Davis1346dc52023-04-11 13:24:59 -05001// SPDX-License-Identifier: GPL-2.0-only
Adam Fordcac4d6a2017-04-17 08:09:39 -05002/*
3 * Device Tree Source for OMAP3 SoC
4 *
Andrew Davis1346dc52023-04-11 13:24:59 -05005 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/
Adam Fordcac4d6a2017-04-17 08:09:39 -05006 */
7
Adam Ford66dae3b2018-07-09 20:14:25 -05008#include <dt-bindings/bus/ti-sysc.h>
Adam Fordcac4d6a2017-04-17 08:09:39 -05009#include <dt-bindings/media/omap3-isp.h>
10
11#include "omap3.dtsi"
12
13/ {
Adam Fordbf1ddfc2017-08-25 07:33:26 -050014 aliases {
15 serial3 = &uart4;
16 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050017
Adam Fordbf1ddfc2017-08-25 07:33:26 -050018 cpus {
19 /* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */
20 cpu: cpu@0 {
21 operating-points = <
22 /* kHz uV */
23 300000 1012500
24 600000 1200000
25 800000 1325000
26 >;
27 clock-latency = <300000>; /* From legacy driver */
28 };
29 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050030
Adam Fordbf1ddfc2017-08-25 07:33:26 -050031 ocp@68000000 {
32 uart4: serial@49042000 {
33 compatible = "ti,omap3-uart";
34 reg = <0x49042000 0x400>;
Adam Fordbf1ddfc2017-08-25 07:33:26 -050035 interrupts = <80>;
36 dmas = <&sdma 81 &sdma 82>;
37 dma-names = "tx", "rx";
38 ti,hwmods = "uart4";
39 clock-frequency = <48000000>;
40 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050041
Adam Fordbf1ddfc2017-08-25 07:33:26 -050042 abb_mpu_iva: regulator-abb-mpu {
43 compatible = "ti,abb-v1";
44 regulator-name = "abb_mpu_iva";
45 #address-cells = <0>;
46 #size-cells = <0>;
47 reg = <0x483072f0 0x8>, <0x48306818 0x4>;
48 reg-names = "base-address", "int-address";
49 ti,tranxdone-status-mask = <0x4000000>;
50 clocks = <&sys_ck>;
51 ti,settling-time = <30>;
52 ti,clock-cycles = <8>;
53 ti,abb_info = <
54 /*uV ABB efuse rbb_m fbb_m vset_m*/
55 1012500 0 0 0 0 0
56 1200000 0 0 0 0 0
57 1325000 0 0 0 0 0
58 1375000 1 0 0 0 0
59 >;
60 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050061
Adam Fordbf1ddfc2017-08-25 07:33:26 -050062 omap3_pmx_core2: pinmux@480025a0 {
63 compatible = "ti,omap3-padconf", "pinctrl-single";
64 reg = <0x480025a0 0x5c>;
65 #address-cells = <1>;
66 #size-cells = <0>;
67 #pinctrl-cells = <1>;
68 #interrupt-cells = <1>;
69 interrupt-controller;
70 pinctrl-single,register-width = <16>;
71 pinctrl-single,function-mask = <0xff1f>;
72 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050073
Adam Fordbf1ddfc2017-08-25 07:33:26 -050074 isp: isp@480bc000 {
75 compatible = "ti,omap3-isp";
76 reg = <0x480bc000 0x12fc
77 0x480bd800 0x0600>;
78 interrupts = <24>;
79 iommus = <&mmu_isp>;
80 syscon = <&scm_conf 0x2f0>;
81 ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
82 #clock-cells = <1>;
83 ports {
84 #address-cells = <1>;
85 #size-cells = <0>;
86 };
87 };
Adam Fordcac4d6a2017-04-17 08:09:39 -050088
Adam Fordbf1ddfc2017-08-25 07:33:26 -050089 bandgap: bandgap@48002524 {
90 reg = <0x48002524 0x4>;
91 compatible = "ti,omap36xx-bandgap";
92 #thermal-sensor-cells = <0>;
93 };
Adam Ford66dae3b2018-07-09 20:14:25 -050094
95 target-module@480cb000 {
96 compatible = "ti,sysc-omap3630-sr", "ti,sysc";
97 ti,hwmods = "smartreflex_core";
98 reg = <0x480cb038 0x4>;
99 reg-names = "sysc";
100 ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
101 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
102 <SYSC_IDLE_NO>,
103 <SYSC_IDLE_SMART>;
104 clocks = <&sr2_fck>;
105 clock-names = "fck";
106 #address-cells = <1>;
107 #size-cells = <1>;
108 ranges = <0 0x480cb000 0x001000>;
109
110 smartreflex_core: smartreflex@0 {
111 compatible = "ti,omap3-smartreflex-core";
112 reg = <0 0x400>;
113 interrupts = <19>;
114 };
115 };
116
117 target-module@480c9000 {
118 compatible = "ti,sysc-omap3630-sr", "ti,sysc";
119 ti,hwmods = "smartreflex_mpu_iva";
120 reg = <0x480c9038 0x4>;
121 reg-names = "sysc";
122 ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
123 ti,sysc-sidle = <SYSC_IDLE_FORCE>,
124 <SYSC_IDLE_NO>,
125 <SYSC_IDLE_SMART>;
126 clocks = <&sr1_fck>;
127 clock-names = "fck";
128 #address-cells = <1>;
129 #size-cells = <1>;
130 ranges = <0 0x480c9000 0x001000>;
131
132
133 smartreflex_mpu_iva: smartreflex@480c9000 {
134 compatible = "ti,omap3-smartreflex-mpu-iva";
135 reg = <0 0x400>;
136 interrupts = <18>;
137 };
138 };
Adam Fordbf1ddfc2017-08-25 07:33:26 -0500139 };
140
141 thermal_zones: thermal-zones {
142 #include "omap3-cpu-thermal.dtsi"
143 };
Adam Fordcac4d6a2017-04-17 08:09:39 -0500144};
145
146/* OMAP3630 needs dss_96m_fck for VENC */
147&venc {
Adam Fordbf1ddfc2017-08-25 07:33:26 -0500148 clocks = <&dss_tv_fck>, <&dss_96m_fck>;
149 clock-names = "fck", "tv_dac_clk";
Adam Fordcac4d6a2017-04-17 08:09:39 -0500150};
151
152&ssi {
Roger Quadros72f78c62021-08-24 14:07:27 +0300153 status = "okay";
Adam Fordcac4d6a2017-04-17 08:09:39 -0500154
Adam Fordbf1ddfc2017-08-25 07:33:26 -0500155 clocks = <&ssi_ssr_fck>,
156 <&ssi_sst_fck>,
157 <&ssi_ick>;
158 clock-names = "ssi_ssr_fck",
159 "ssi_sst_fck",
160 "ssi_ick";
Adam Fordcac4d6a2017-04-17 08:09:39 -0500161};
162
163/include/ "omap34xx-omap36xx-clocks.dtsi"
164/include/ "omap36xx-omap3430es2plus-clocks.dtsi"
165/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
166/include/ "omap36xx-clocks.dtsi"