1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-only 2*724ba675SRob Herring/* 3*724ba675SRob Herring * Device Tree Source for OMAP34xx/OMAP35xx SoC 4*724ba675SRob Herring * 5*724ba675SRob Herring * Copyright (C) 2013 Texas Instruments Incorporated - https://www.ti.com/ 6*724ba675SRob Herring */ 7*724ba675SRob Herring 8*724ba675SRob Herring#include <dt-bindings/bus/ti-sysc.h> 9*724ba675SRob Herring#include <dt-bindings/media/omap3-isp.h> 10*724ba675SRob Herring 11*724ba675SRob Herring#include "omap3.dtsi" 12*724ba675SRob Herring 13*724ba675SRob Herring/ { 14*724ba675SRob Herring cpus { 15*724ba675SRob Herring cpu: cpu@0 { 16*724ba675SRob Herring /* OMAP343x/OMAP35xx variants OPP1-6 */ 17*724ba675SRob Herring operating-points-v2 = <&cpu0_opp_table>; 18*724ba675SRob Herring 19*724ba675SRob Herring clock-latency = <300000>; /* From legacy driver */ 20*724ba675SRob Herring #cooling-cells = <2>; 21*724ba675SRob Herring }; 22*724ba675SRob Herring }; 23*724ba675SRob Herring 24*724ba675SRob Herring cpu0_opp_table: opp-table { 25*724ba675SRob Herring compatible = "operating-points-v2-ti-cpu"; 26*724ba675SRob Herring syscon = <&scm_conf>; 27*724ba675SRob Herring 28*724ba675SRob Herring opp1-125000000 { 29*724ba675SRob Herring opp-hz = /bits/ 64 <125000000>; 30*724ba675SRob Herring /* 31*724ba675SRob Herring * we currently only select the max voltage from table 32*724ba675SRob Herring * Table 3-3 of the omap3530 Data sheet (SPRS507F). 33*724ba675SRob Herring * Format is: <target min max> 34*724ba675SRob Herring */ 35*724ba675SRob Herring opp-microvolt = <975000 975000 975000>; 36*724ba675SRob Herring /* 37*724ba675SRob Herring * first value is silicon revision bit mask 38*724ba675SRob Herring * second one 720MHz Device Identification bit mask 39*724ba675SRob Herring */ 40*724ba675SRob Herring opp-supported-hw = <0xffffffff 3>; 41*724ba675SRob Herring }; 42*724ba675SRob Herring 43*724ba675SRob Herring opp2-250000000 { 44*724ba675SRob Herring opp-hz = /bits/ 64 <250000000>; 45*724ba675SRob Herring opp-microvolt = <1075000 1075000 1075000>; 46*724ba675SRob Herring opp-supported-hw = <0xffffffff 3>; 47*724ba675SRob Herring opp-suspend; 48*724ba675SRob Herring }; 49*724ba675SRob Herring 50*724ba675SRob Herring opp3-500000000 { 51*724ba675SRob Herring opp-hz = /bits/ 64 <500000000>; 52*724ba675SRob Herring opp-microvolt = <1200000 1200000 1200000>; 53*724ba675SRob Herring opp-supported-hw = <0xffffffff 3>; 54*724ba675SRob Herring }; 55*724ba675SRob Herring 56*724ba675SRob Herring opp4-550000000 { 57*724ba675SRob Herring opp-hz = /bits/ 64 <550000000>; 58*724ba675SRob Herring opp-microvolt = <1275000 1275000 1275000>; 59*724ba675SRob Herring opp-supported-hw = <0xffffffff 3>; 60*724ba675SRob Herring }; 61*724ba675SRob Herring 62*724ba675SRob Herring opp5-600000000 { 63*724ba675SRob Herring opp-hz = /bits/ 64 <600000000>; 64*724ba675SRob Herring opp-microvolt = <1350000 1350000 1350000>; 65*724ba675SRob Herring opp-supported-hw = <0xffffffff 3>; 66*724ba675SRob Herring }; 67*724ba675SRob Herring 68*724ba675SRob Herring opp6-720000000 { 69*724ba675SRob Herring opp-hz = /bits/ 64 <720000000>; 70*724ba675SRob Herring opp-microvolt = <1350000 1350000 1350000>; 71*724ba675SRob Herring /* only high-speed grade omap3530 devices */ 72*724ba675SRob Herring opp-supported-hw = <0xffffffff 2>; 73*724ba675SRob Herring turbo-mode; 74*724ba675SRob Herring }; 75*724ba675SRob Herring }; 76*724ba675SRob Herring 77*724ba675SRob Herring ocp@68000000 { 78*724ba675SRob Herring omap3_pmx_core2: pinmux@480025d8 { 79*724ba675SRob Herring compatible = "ti,omap3-padconf", "pinctrl-single"; 80*724ba675SRob Herring reg = <0x480025d8 0x24>; 81*724ba675SRob Herring #address-cells = <1>; 82*724ba675SRob Herring #size-cells = <0>; 83*724ba675SRob Herring #pinctrl-cells = <1>; 84*724ba675SRob Herring #interrupt-cells = <1>; 85*724ba675SRob Herring interrupt-controller; 86*724ba675SRob Herring pinctrl-single,register-width = <16>; 87*724ba675SRob Herring pinctrl-single,function-mask = <0xff1f>; 88*724ba675SRob Herring }; 89*724ba675SRob Herring 90*724ba675SRob Herring isp: isp@480bc000 { 91*724ba675SRob Herring compatible = "ti,omap3-isp"; 92*724ba675SRob Herring reg = <0x480bc000 0x12fc 93*724ba675SRob Herring 0x480bd800 0x017c>; 94*724ba675SRob Herring interrupts = <24>; 95*724ba675SRob Herring iommus = <&mmu_isp>; 96*724ba675SRob Herring syscon = <&scm_conf 0x6c>; 97*724ba675SRob Herring ti,phy-type = <OMAP3ISP_PHY_TYPE_COMPLEX_IO>; 98*724ba675SRob Herring #clock-cells = <1>; 99*724ba675SRob Herring ports { 100*724ba675SRob Herring #address-cells = <1>; 101*724ba675SRob Herring #size-cells = <0>; 102*724ba675SRob Herring }; 103*724ba675SRob Herring }; 104*724ba675SRob Herring 105*724ba675SRob Herring bandgap: bandgap@48002524 { 106*724ba675SRob Herring reg = <0x48002524 0x4>; 107*724ba675SRob Herring compatible = "ti,omap34xx-bandgap"; 108*724ba675SRob Herring #thermal-sensor-cells = <0>; 109*724ba675SRob Herring }; 110*724ba675SRob Herring 111*724ba675SRob Herring target-module@480cb000 { 112*724ba675SRob Herring compatible = "ti,sysc-omap3430-sr", "ti,sysc"; 113*724ba675SRob Herring ti,hwmods = "smartreflex_core"; 114*724ba675SRob Herring reg = <0x480cb024 0x4>; 115*724ba675SRob Herring reg-names = "sysc"; 116*724ba675SRob Herring ti,sysc-mask = <SYSC_OMAP2_CLOCKACTIVITY>; 117*724ba675SRob Herring clocks = <&sr2_fck>; 118*724ba675SRob Herring clock-names = "fck"; 119*724ba675SRob Herring #address-cells = <1>; 120*724ba675SRob Herring #size-cells = <1>; 121*724ba675SRob Herring ranges = <0 0x480cb000 0x001000>; 122*724ba675SRob Herring 123*724ba675SRob Herring smartreflex_core: smartreflex@0 { 124*724ba675SRob Herring compatible = "ti,omap3-smartreflex-core"; 125*724ba675SRob Herring reg = <0 0x400>; 126*724ba675SRob Herring interrupts = <19>; 127*724ba675SRob Herring }; 128*724ba675SRob Herring }; 129*724ba675SRob Herring 130*724ba675SRob Herring target-module@480c9000 { 131*724ba675SRob Herring compatible = "ti,sysc-omap3430-sr", "ti,sysc"; 132*724ba675SRob Herring ti,hwmods = "smartreflex_mpu_iva"; 133*724ba675SRob Herring reg = <0x480c9024 0x4>; 134*724ba675SRob Herring reg-names = "sysc"; 135*724ba675SRob Herring ti,sysc-mask = <SYSC_OMAP2_CLOCKACTIVITY>; 136*724ba675SRob Herring clocks = <&sr1_fck>; 137*724ba675SRob Herring clock-names = "fck"; 138*724ba675SRob Herring #address-cells = <1>; 139*724ba675SRob Herring #size-cells = <1>; 140*724ba675SRob Herring ranges = <0 0x480c9000 0x001000>; 141*724ba675SRob Herring 142*724ba675SRob Herring smartreflex_mpu_iva: smartreflex@480c9000 { 143*724ba675SRob Herring compatible = "ti,omap3-smartreflex-mpu-iva"; 144*724ba675SRob Herring reg = <0 0x400>; 145*724ba675SRob Herring interrupts = <18>; 146*724ba675SRob Herring }; 147*724ba675SRob Herring }; 148*724ba675SRob Herring 149*724ba675SRob Herring /* 150*724ba675SRob Herring * On omap34xx the OCP registers do not seem to be accessible 151*724ba675SRob Herring * at all unlike on 36xx. Maybe SGX is permanently set to 152*724ba675SRob Herring * "OCP bypass mode", or maybe there is OCP_SYSCONFIG that is 153*724ba675SRob Herring * write-only at 0x50000e10. We detect SGX based on the SGX 154*724ba675SRob Herring * revision register instead of the unreadable OCP revision 155*724ba675SRob Herring * register. Also note that on early 34xx es1 revision there 156*724ba675SRob Herring * are also different clocks, but we do not have any dts users 157*724ba675SRob Herring * for it. 158*724ba675SRob Herring */ 159*724ba675SRob Herring sgx_module: target-module@50000000 { 160*724ba675SRob Herring compatible = "ti,sysc-omap2", "ti,sysc"; 161*724ba675SRob Herring reg = <0x50000014 0x4>; 162*724ba675SRob Herring reg-names = "rev"; 163*724ba675SRob Herring clocks = <&sgx_fck>, <&sgx_ick>; 164*724ba675SRob Herring clock-names = "fck", "ick"; 165*724ba675SRob Herring #address-cells = <1>; 166*724ba675SRob Herring #size-cells = <1>; 167*724ba675SRob Herring ranges = <0 0x50000000 0x4000>; 168*724ba675SRob Herring 169*724ba675SRob Herring /* 170*724ba675SRob Herring * Closed source PowerVR driver, no child device 171*724ba675SRob Herring * binding or driver in mainline 172*724ba675SRob Herring */ 173*724ba675SRob Herring }; 174*724ba675SRob Herring }; 175*724ba675SRob Herring 176*724ba675SRob Herring thermal_zones: thermal-zones { 177*724ba675SRob Herring #include "omap3-cpu-thermal.dtsi" 178*724ba675SRob Herring }; 179*724ba675SRob Herring}; 180*724ba675SRob Herring 181*724ba675SRob Herring&ssi { 182*724ba675SRob Herring status = "okay"; 183*724ba675SRob Herring 184*724ba675SRob Herring clocks = <&ssi_ssr_fck>, 185*724ba675SRob Herring <&ssi_sst_fck>, 186*724ba675SRob Herring <&ssi_ick>; 187*724ba675SRob Herring clock-names = "ssi_ssr_fck", 188*724ba675SRob Herring "ssi_sst_fck", 189*724ba675SRob Herring "ssi_ick"; 190*724ba675SRob Herring}; 191*724ba675SRob Herring 192*724ba675SRob Herring&usb_otg_target { 193*724ba675SRob Herring clocks = <&hsotgusb_ick_3430es2>; 194*724ba675SRob Herring}; 195*724ba675SRob Herring 196*724ba675SRob Herring/include/ "omap34xx-omap36xx-clocks.dtsi" 197*724ba675SRob Herring/include/ "omap36xx-omap3430es2plus-clocks.dtsi" 198*724ba675SRob Herring/include/ "omap36xx-am35xx-omap3430es2plus-clocks.dtsi" 199