Linux Audio

Check our new training course

Linux BSP upgrade and security maintenance

Need help to get security updates for your Linux BSP?
Loading...
v5.4
  1/*
  2 * Device Tree Source for OMAP3 SoC
  3 *
  4 * Copyright (C) 2012 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 <dt-bindings/bus/ti-sysc.h>
 12#include <dt-bindings/media/omap3-isp.h>
 13
 14#include "omap3.dtsi"
 15
 16/ {
 17	aliases {
 18		serial3 = &uart4;
 19	};
 20
 21	cpus {
 22		/* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */
 23		cpu: cpu@0 {
 24			operating-points = <
 25				/* kHz    uV */
 26				300000  1012500
 27				600000  1200000
 28				800000  1325000
 29			>;
 30			clock-latency = <300000>; /* From legacy driver */
 31		};
 32	};
 33
 34	ocp@68000000 {
 35		uart4: serial@49042000 {
 36			compatible = "ti,omap3-uart";
 37			reg = <0x49042000 0x400>;
 38			interrupts = <80>;
 39			dmas = <&sdma 81 &sdma 82>;
 40			dma-names = "tx", "rx";
 41			ti,hwmods = "uart4";
 42			clock-frequency = <48000000>;
 43		};
 44
 45		abb_mpu_iva: regulator-abb-mpu {
 46			compatible = "ti,abb-v1";
 47			regulator-name = "abb_mpu_iva";
 48			#address-cells = <0>;
 49			#size-cells = <0>;
 50			reg = <0x483072f0 0x8>, <0x48306818 0x4>;
 51			reg-names = "base-address", "int-address";
 52			ti,tranxdone-status-mask = <0x4000000>;
 53			clocks = <&sys_ck>;
 54			ti,settling-time = <30>;
 55			ti,clock-cycles = <8>;
 56			ti,abb_info = <
 57			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
 58			1012500		0	0	0	0	0
 59			1200000		0	0	0	0	0
 60			1325000		0	0	0	0	0
 61			1375000		1	0	0	0	0
 62			>;
 63		};
 64
 65		omap3_pmx_core2: pinmux@480025a0 {
 66			compatible = "ti,omap3-padconf", "pinctrl-single";
 67			reg = <0x480025a0 0x5c>;
 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		isp: isp@480bc000 {
 78			compatible = "ti,omap3-isp";
 79			reg = <0x480bc000 0x12fc
 80			       0x480bd800 0x0600>;
 81			interrupts = <24>;
 82			iommus = <&mmu_isp>;
 83			syscon = <&scm_conf 0x2f0>;
 84			ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
 85			#clock-cells = <1>;
 86			ports {
 87				#address-cells = <1>;
 88				#size-cells = <0>;
 89			};
 90		};
 91
 92		bandgap: bandgap@48002524 {
 93			reg = <0x48002524 0x4>;
 94			compatible = "ti,omap36xx-bandgap";
 95			#thermal-sensor-cells = <0>;
 96		};
 97
 98		target-module@480cb000 {
 99			compatible = "ti,sysc-omap3630-sr", "ti,sysc";
100			ti,hwmods = "smartreflex_core";
101			reg = <0x480cb038 0x4>;
102			reg-names = "sysc";
103			ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
104			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
105					<SYSC_IDLE_NO>,
106					<SYSC_IDLE_SMART>;
107			clocks = <&sr2_fck>;
108			clock-names = "fck";
109			#address-cells = <1>;
110			#size-cells = <1>;
111			ranges = <0 0x480cb000 0x001000>;
112
113			smartreflex_core: smartreflex@0 {
114				compatible = "ti,omap3-smartreflex-core";
115				reg = <0 0x400>;
116				interrupts = <19>;
117			};
118		};
119
120		target-module@480c9000 {
121			compatible = "ti,sysc-omap3630-sr", "ti,sysc";
122			ti,hwmods = "smartreflex_mpu_iva";
123			reg = <0x480c9038 0x4>;
124			reg-names = "sysc";
125			ti,sysc-mask = <SYSC_OMAP3_SR_ENAWAKEUP>;
126			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
127					<SYSC_IDLE_NO>,
128					<SYSC_IDLE_SMART>;
129			clocks = <&sr1_fck>;
130			clock-names = "fck";
131			#address-cells = <1>;
132			#size-cells = <1>;
133			ranges = <0 0x480c9000 0x001000>;
134
135
136			smartreflex_mpu_iva: smartreflex@480c9000 {
137				compatible = "ti,omap3-smartreflex-mpu-iva";
138				reg = <0 0x400>;
139				interrupts = <18>;
140			};
141		};
142
143		/*
144		 * Note that the sysconfig register layout is a subset of the
145		 * "ti,sysc-omap4" type register with just sidle and midle bits
146		 * available while omap34xx has "ti,sysc-omap2" type sysconfig.
147		 */
148		sgx_module: target-module@50000000 {
149			compatible = "ti,sysc-omap4", "ti,sysc";
150			reg = <0x5000fe00 0x4>,
151			      <0x5000fe10 0x4>;
152			reg-names = "rev", "sysc";
153			ti,sysc-midle = <SYSC_IDLE_FORCE>,
154					<SYSC_IDLE_NO>,
155					<SYSC_IDLE_SMART>;
156			ti,sysc-sidle = <SYSC_IDLE_FORCE>,
157					<SYSC_IDLE_NO>,
158					<SYSC_IDLE_SMART>;
159			clocks = <&sgx_fck>, <&sgx_ick>;
160			clock-names = "fck", "ick";
161			#address-cells = <1>;
162			#size-cells = <1>;
163			ranges = <0 0x50000000 0x2000000>;
164
165			/*
166			 * Closed source PowerVR driver, no child device
167			 * binding or driver in mainline
168			 */
169		};
170	};
171
172	thermal_zones: thermal-zones {
173		#include "omap3-cpu-thermal.dtsi"
174	};
175};
176
177/* OMAP3630 needs dss_96m_fck for VENC */
178&venc {
179	clocks = <&dss_tv_fck>, <&dss_96m_fck>;
180	clock-names = "fck", "tv_dac_clk";
181};
182
183&ssi {
184	status = "ok";
185
186	clocks = <&ssi_ssr_fck>,
187		 <&ssi_sst_fck>,
188		 <&ssi_ick>;
189	clock-names = "ssi_ssr_fck",
190		      "ssi_sst_fck",
191		      "ssi_ick";
192};
193
194/include/ "omap34xx-omap36xx-clocks.dtsi"
195/include/ "omap36xx-omap3430es2plus-clocks.dtsi"
196/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
197/include/ "omap36xx-clocks.dtsi"
v4.6
  1/*
  2 * Device Tree Source for OMAP3 SoC
  3 *
  4 * Copyright (C) 2012 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 <dt-bindings/media/omap3-isp.h>
 12
 13#include "omap3.dtsi"
 14
 15/ {
 16	aliases {
 17		serial3 = &uart4;
 18	};
 19
 20	cpus {
 21		/* OMAP3630/OMAP37xx 'standard device' variants OPP50 to OPP130 */
 22		cpu@0 {
 23			operating-points = <
 24				/* kHz    uV */
 25				300000  1012500
 26				600000  1200000
 27				800000  1325000
 28			>;
 29			clock-latency = <300000>; /* From legacy driver */
 30		};
 31	};
 32
 33	ocp {
 34		uart4: serial@49042000 {
 35			compatible = "ti,omap3-uart";
 36			reg = <0x49042000 0x400>;
 37			interrupts = <80>;
 38			dmas = <&sdma 81 &sdma 82>;
 39			dma-names = "tx", "rx";
 40			ti,hwmods = "uart4";
 41			clock-frequency = <48000000>;
 42		};
 43
 44		abb_mpu_iva: regulator-abb-mpu {
 45			compatible = "ti,abb-v1";
 46			regulator-name = "abb_mpu_iva";
 47			#address-cell = <0>;
 48			#size-cells = <0>;
 49			reg = <0x483072f0 0x8>, <0x48306818 0x4>;
 50			reg-names = "base-address", "int-address";
 51			ti,tranxdone-status-mask = <0x4000000>;
 52			clocks = <&sys_ck>;
 53			ti,settling-time = <30>;
 54			ti,clock-cycles = <8>;
 55			ti,abb_info = <
 56			/*uV		ABB	efuse	rbb_m	fbb_m	vset_m*/
 57			1012500		0	0	0	0	0
 58			1200000		0	0	0	0	0
 59			1325000		0	0	0	0	0
 60			1375000		1	0	0	0	0
 61			>;
 62		};
 63
 64		omap3_pmx_core2: pinmux@480025a0 {
 65			compatible = "ti,omap3-padconf", "pinctrl-single";
 66			reg = <0x480025a0 0x5c>;
 67			#address-cells = <1>;
 68			#size-cells = <0>;
 
 69			#interrupt-cells = <1>;
 70			interrupt-controller;
 71			pinctrl-single,register-width = <16>;
 72			pinctrl-single,function-mask = <0xff1f>;
 73		};
 74
 75		isp: isp@480bc000 {
 76			compatible = "ti,omap3-isp";
 77			reg = <0x480bc000 0x12fc
 78			       0x480bd800 0x0600>;
 79			interrupts = <24>;
 80			iommus = <&mmu_isp>;
 81			syscon = <&scm_conf 0x2f0>;
 82			ti,phy-type = <OMAP3ISP_PHY_TYPE_CSIPHY>;
 83			#clock-cells = <1>;
 84			ports {
 85				#address-cells = <1>;
 86				#size-cells = <0>;
 87			};
 88		};
 89
 90		bandgap {
 91			reg = <0x48002524 0x4>;
 92			compatible = "ti,omap36xx-bandgap";
 93			#thermal-sensor-cells = <0>;
 94		};
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 95	};
 96};
 97
 98/* OMAP3630 needs dss_96m_fck for VENC */
 99&venc {
100	clocks = <&dss_tv_fck>, <&dss_96m_fck>;
101	clock-names = "fck", "tv_dac_clk";
102};
103
104&ssi {
105	status = "ok";
106
107	clocks = <&ssi_ssr_fck>,
108		 <&ssi_sst_fck>,
109		 <&ssi_ick>;
110	clock-names = "ssi_ssr_fck",
111		      "ssi_sst_fck",
112		      "ssi_ick";
113};
114
115/include/ "omap34xx-omap36xx-clocks.dtsi"
116/include/ "omap36xx-omap3430es2plus-clocks.dtsi"
117/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi"
118/include/ "omap36xx-clocks.dtsi"