Andrew Davis | 855bb44 | 2023-04-11 13:24:59 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-only |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Source for OMAP3 SoC |
| 4 | * |
Andrew Davis | 855bb44 | 2023-04-11 13:24:59 -0500 | [diff] [blame] | 5 | * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 6 | */ |
| 7 | |
Adam Ford | 39ba540 | 2018-07-09 20:14:25 -0500 | [diff] [blame] | 8 | #include <dt-bindings/bus/ti-sysc.h> |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 9 | #include <dt-bindings/media/omap3-isp.h> |
| 10 | |
| 11 | #include "omap3.dtsi" |
| 12 | |
| 13 | / { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 14 | aliases { |
| 15 | serial3 = &uart4; |
| 16 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 17 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 18 | 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 Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 30 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 31 | ocp@68000000 { |
| 32 | uart4: serial@49042000 { |
| 33 | compatible = "ti,omap3-uart"; |
| 34 | reg = <0x49042000 0x400>; |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 35 | interrupts = <80>; |
| 36 | dmas = <&sdma 81 &sdma 82>; |
| 37 | dma-names = "tx", "rx"; |
| 38 | ti,hwmods = "uart4"; |
| 39 | clock-frequency = <48000000>; |
| 40 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 41 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 42 | 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 Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 61 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 62 | 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 Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 73 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 74 | 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 Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 88 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 89 | bandgap: bandgap@48002524 { |
| 90 | reg = <0x48002524 0x4>; |
| 91 | compatible = "ti,omap36xx-bandgap"; |
| 92 | #thermal-sensor-cells = <0>; |
| 93 | }; |
Adam Ford | 39ba540 | 2018-07-09 20:14:25 -0500 | [diff] [blame] | 94 | |
| 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 Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 139 | }; |
| 140 | |
| 141 | thermal_zones: thermal-zones { |
| 142 | #include "omap3-cpu-thermal.dtsi" |
| 143 | }; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 144 | }; |
| 145 | |
| 146 | /* OMAP3630 needs dss_96m_fck for VENC */ |
| 147 | &venc { |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 148 | clocks = <&dss_tv_fck>, <&dss_96m_fck>; |
| 149 | clock-names = "fck", "tv_dac_clk"; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 150 | }; |
| 151 | |
| 152 | &ssi { |
Roger Quadros | 0ffbc74 | 2021-08-24 14:07:27 +0300 | [diff] [blame] | 153 | status = "okay"; |
Adam Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 154 | |
Adam Ford | f946422 | 2017-08-25 07:33:26 -0500 | [diff] [blame] | 155 | 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 Ford | 6d43869 | 2017-04-17 08:09:39 -0500 | [diff] [blame] | 161 | }; |
| 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" |