Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Device Tree Source for OMAP443x SoC
0004  *
0005  * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/
0006  */
0007 
0008 #include "omap4.dtsi"
0009 
0010 / {
0011         cpus {
0012                 cpu0: cpu@0 {
0013                         /* OMAP443x variants OPP50-OPPNT */
0014                         operating-points = <
0015                                 /* kHz    uV */
0016                                 300000  1025000
0017                                 600000  1200000
0018                                 800000  1313000
0019                                 1008000 1375000
0020                         >;
0021                         clock-latency = <300000>; /* From legacy driver */
0022 
0023                         /* cooling options */
0024                         #cooling-cells = <2>; /* min followed by max */
0025                 };
0026         };
0027 
0028         thermal-zones {
0029                 #include "omap4-cpu-thermal.dtsi"
0030         };
0031 
0032         ocp {
0033                 /* 4430 has only gpio_86 tshut and no talert interrupt */
0034                 bandgap: bandgap@4a002260 {
0035                         reg = <0x4a002260 0x4
0036                                0x4a00232C 0x4>;
0037                         compatible = "ti,omap4430-bandgap";
0038                         gpios = <&gpio3 22 GPIO_ACTIVE_HIGH>;
0039 
0040                         #thermal-sensor-cells = <0>;
0041                 };
0042         };
0043 
0044         ocp {
0045                 abb_mpu: regulator-abb-mpu {
0046                         status = "okay";
0047 
0048                         reg = <0x4a307bd0 0x8>, <0x4a306014 0x4>;
0049                         reg-names = "base-address", "int-address";
0050 
0051                         ti,abb_info = <
0052                         /*uV            ABB     efuse   rbb_m   fbb_m   vset_m*/
0053                         1025000         0       0       0       0       0
0054                         1200000         0       0       0       0       0
0055                         1313000         0       0       0       0       0
0056                         1375000         1       0       0       0       0
0057                         1389000         1       0       0       0       0
0058                         >;
0059                 };
0060 
0061                 /* Default unused, just provide register info for record */
0062                 abb_iva: regulator-abb-iva {
0063                         reg = <0x4a307bd8 0x8>, <0x4a306010 0x4>;
0064                         reg-names = "base-address", "int-address";
0065                 };
0066 
0067         };
0068 
0069 };
0070 
0071 &cpu_thermal {
0072         coefficients = <0 20000>;
0073 };
0074 
0075 /include/ "omap443x-clocks.dtsi"
0076 
0077 /*
0078  * Use dpll_per for sgx at 307.2MHz like droid4 stock v3.0.8 Android kernel
0079  */
0080 &sgx_module {
0081         assigned-clocks = <&l3_gfx_clkctrl OMAP4_GPU_CLKCTRL 24>,
0082                           <&dpll_per_m7x2_ck>;
0083         assigned-clock-rates = <0>, <307200000>;
0084         assigned-clock-parents = <&dpll_per_m7x2_ck>;
0085 };