1 // SPDX-License-Identifier: GPL-2.0-only OR MI !! 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * AM625 SK: https://www.ti.com/lit/zip/sprr44 3 * AM625 SK: https://www.ti.com/lit/zip/sprr448 4 * 4 * 5 * Copyright (C) 2021-2024 Texas Instruments I !! 5 * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/ 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "k3-am62x-sk-common.dtsi" !! 10 #include <dt-bindings/leds/common.h> >> 11 #include <dt-bindings/gpio/gpio.h> >> 12 #include "k3-am625.dtsi" 11 13 12 / { 14 / { 13 compatible = "ti,am625-sk", "ti,am625" !! 15 compatible = "ti,am625-sk", "ti,am625"; 14 model = "Texas Instruments AM625 SK"; 16 model = "Texas Instruments AM625 SK"; 15 17 16 opp-table { !! 18 aliases { 17 /* Add 1.4GHz OPP for am625-sk !! 19 serial2 = &main_uart0; 18 opp-1400000000 { !! 20 }; 19 opp-hz = /bits/ 64 <14 !! 21 20 opp-supported-hw = <0x !! 22 chosen { 21 clock-latency-ns = <60 !! 23 stdout-path = "serial2:115200n8"; 22 }; !! 24 bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 23 }; 25 }; 24 26 25 memory@80000000 { 27 memory@80000000 { 26 device_type = "memory"; 28 device_type = "memory"; 27 /* 2G RAM */ 29 /* 2G RAM */ 28 reg = <0x00000000 0x80000000 0 30 reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 29 31 30 }; 32 }; 31 33 >> 34 reserved-memory { >> 35 #address-cells = <2>; >> 36 #size-cells = <2>; >> 37 ranges; >> 38 >> 39 secure_tfa_ddr: tfa@9e780000 { >> 40 reg = <0x00 0x9e780000 0x00 0x80000>; >> 41 alignment = <0x1000>; >> 42 no-map; >> 43 }; >> 44 >> 45 secure_ddr: optee@9e800000 { >> 46 reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ >> 47 alignment = <0x1000>; >> 48 no-map; >> 49 }; >> 50 >> 51 wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { >> 52 compatible = "shared-dma-pool"; >> 53 reg = <0x00 0x9db00000 0x00 0xc00000>; >> 54 no-map; >> 55 }; >> 56 }; >> 57 32 vmain_pd: regulator-0 { 58 vmain_pd: regulator-0 { 33 /* TPS65988 PD CONTROLLER OUTP 59 /* TPS65988 PD CONTROLLER OUTPUT */ 34 bootph-all; << 35 compatible = "regulator-fixed" 60 compatible = "regulator-fixed"; 36 regulator-name = "vmain_pd"; 61 regulator-name = "vmain_pd"; 37 regulator-min-microvolt = <500 62 regulator-min-microvolt = <5000000>; 38 regulator-max-microvolt = <500 63 regulator-max-microvolt = <5000000>; 39 regulator-always-on; 64 regulator-always-on; 40 regulator-boot-on; 65 regulator-boot-on; 41 }; 66 }; 42 67 43 vcc_5v0: regulator-1 { 68 vcc_5v0: regulator-1 { 44 /* Output of LM34936 */ 69 /* Output of LM34936 */ 45 bootph-all; << 46 compatible = "regulator-fixed" 70 compatible = "regulator-fixed"; 47 regulator-name = "vcc_5v0"; 71 regulator-name = "vcc_5v0"; 48 regulator-min-microvolt = <500 72 regulator-min-microvolt = <5000000>; 49 regulator-max-microvolt = <500 73 regulator-max-microvolt = <5000000>; 50 vin-supply = <&vmain_pd>; 74 vin-supply = <&vmain_pd>; 51 regulator-always-on; 75 regulator-always-on; 52 regulator-boot-on; 76 regulator-boot-on; 53 }; 77 }; 54 78 55 vcc_3v3_sys: regulator-2 { 79 vcc_3v3_sys: regulator-2 { 56 /* output of LM61460-Q1 */ 80 /* output of LM61460-Q1 */ 57 bootph-all; << 58 compatible = "regulator-fixed" 81 compatible = "regulator-fixed"; 59 regulator-name = "vcc_3v3_sys" 82 regulator-name = "vcc_3v3_sys"; 60 regulator-min-microvolt = <330 83 regulator-min-microvolt = <3300000>; 61 regulator-max-microvolt = <330 84 regulator-max-microvolt = <3300000>; 62 vin-supply = <&vmain_pd>; 85 vin-supply = <&vmain_pd>; 63 regulator-always-on; 86 regulator-always-on; 64 regulator-boot-on; 87 regulator-boot-on; 65 }; 88 }; 66 89 67 vdd_mmc1: regulator-3 { !! 90 leds { 68 /* TPS22918DBVR */ !! 91 compatible = "gpio-leds"; 69 bootph-all; << 70 compatible = "regulator-fixed" << 71 regulator-name = "vdd_mmc1"; << 72 regulator-min-microvolt = <330 << 73 regulator-max-microvolt = <330 << 74 regulator-boot-on; << 75 enable-active-high; << 76 vin-supply = <&vcc_3v3_sys>; << 77 gpio = <&exp1 3 GPIO_ACTIVE_HI << 78 }; << 79 << 80 vdd_sd_dv: regulator-4 { << 81 /* Output of TLV71033 */ << 82 bootph-all; << 83 compatible = "regulator-gpio"; << 84 regulator-name = "tlv71033"; << 85 pinctrl-names = "default"; 92 pinctrl-names = "default"; 86 pinctrl-0 = <&vdd_sd_dv_pins_d !! 93 pinctrl-0 = <&usr_led_pins_default>; 87 regulator-min-microvolt = <180 << 88 regulator-max-microvolt = <330 << 89 regulator-boot-on; << 90 vin-supply = <&vcc_5v0>; << 91 gpios = <&main_gpio0 31 GPIO_A << 92 states = <1800000 0x0>, << 93 <3300000 0x1>; << 94 }; << 95 94 96 vcc_1v8: regulator-5 { !! 95 led-0 { 97 /* output of TPS6282518DMQ */ !! 96 label = "am62-sk:green:heartbeat"; 98 compatible = "regulator-fixed" !! 97 gpios = <&main_gpio1 49 GPIO_ACTIVE_HIGH>; 99 regulator-name = "vcc_1v8"; !! 98 linux,default-trigger = "heartbeat"; 100 regulator-min-microvolt = <180 !! 99 function = LED_FUNCTION_HEARTBEAT; 101 regulator-max-microvolt = <180 !! 100 default-state = "off"; 102 vin-supply = <&vcc_3v3_sys>; !! 101 }; 103 regulator-always-on; << 104 regulator-boot-on; << 105 }; 102 }; 106 }; 103 }; 107 104 108 &main_pmx0 { 105 &main_pmx0 { 109 main_rgmii2_pins_default: main-rgmii2- !! 106 main_uart0_pins_default: main-uart0-pins-default { 110 bootph-all; << 111 pinctrl-single,pins = < 107 pinctrl-single,pins = < 112 AM62X_IOPAD(0x184, PIN !! 108 AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ 113 AM62X_IOPAD(0x188, PIN !! 109 AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ 114 AM62X_IOPAD(0x18c, PIN << 115 AM62X_IOPAD(0x190, PIN << 116 AM62X_IOPAD(0x180, PIN << 117 AM62X_IOPAD(0x17c, PIN << 118 AM62X_IOPAD(0x16c, PIN << 119 AM62X_IOPAD(0x170, PIN << 120 AM62X_IOPAD(0x174, PIN << 121 AM62X_IOPAD(0x178, PIN << 122 AM62X_IOPAD(0x168, PIN << 123 AM62X_IOPAD(0x164, PIN << 124 >; 110 >; 125 }; 111 }; 126 112 127 ospi0_pins_default: ospi0-default-pins !! 113 main_i2c0_pins_default: main-i2c0-pins-default { 128 bootph-all; << 129 pinctrl-single,pins = < 114 pinctrl-single,pins = < 130 AM62X_IOPAD(0x000, PIN !! 115 AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 131 AM62X_IOPAD(0x02c, PIN !! 116 AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 132 AM62X_IOPAD(0x00c, PIN << 133 AM62X_IOPAD(0x010, PIN << 134 AM62X_IOPAD(0x014, PIN << 135 AM62X_IOPAD(0x018, PIN << 136 AM62X_IOPAD(0x01c, PIN << 137 AM62X_IOPAD(0x020, PIN << 138 AM62X_IOPAD(0x024, PIN << 139 AM62X_IOPAD(0x028, PIN << 140 AM62X_IOPAD(0x008, PIN << 141 >; 117 >; 142 }; 118 }; 143 119 144 vdd_sd_dv_pins_default: vdd-sd-dv-defa !! 120 main_i2c1_pins_default: main-i2c1-pins-default { 145 bootph-all; << 146 pinctrl-single,pins = < 121 pinctrl-single,pins = < 147 AM62X_IOPAD(0x07c, PIN !! 122 AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ >> 123 AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 148 >; 124 >; 149 }; 125 }; 150 126 151 main_gpio1_ioexp_intr_pins_default: ma !! 127 usr_led_pins_default: usr-led-pins-default { 152 bootph-all; << 153 pinctrl-single,pins = < 128 pinctrl-single,pins = < 154 AM62X_IOPAD(0x01d4, PI !! 129 AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ 155 >; 130 >; 156 }; 131 }; 157 }; 132 }; 158 133 159 &main_gpio0 { !! 134 &wkup_uart0 { 160 bootph-all; !! 135 /* WKUP UART0 is used by DM firmware */ >> 136 status = "reserved"; 161 }; 137 }; 162 138 163 &main_gpio1 { !! 139 &mcu_uart0 { 164 bootph-all; !! 140 status = "disabled"; 165 }; 141 }; 166 142 167 &main_i2c1 { !! 143 &main_uart0 { 168 bootph-all; !! 144 pinctrl-names = "default"; 169 exp1: gpio@22 { !! 145 pinctrl-0 = <&main_uart0_pins_default>; 170 bootph-all; !! 146 }; 171 compatible = "ti,tca6424"; << 172 reg = <0x22>; << 173 gpio-controller; << 174 #gpio-cells = <2>; << 175 gpio-line-names = "GPIO_CPSW2_ << 176 "PRU_DETECT << 177 "VPP_LDO_EN << 178 "EXP_PS_5V0 << 179 "GPIO_AUD_R << 180 "UART1_FET_ << 181 "GPIO_HDMI_ << 182 "CSI_GPIO2" << 183 "HDMI_INTn" << 184 "MCASP1_FET << 185 "MCASP1_FET << 186 "TSINT#", " << 187 << 188 interrupt-parent = <&main_gpio << 189 interrupts = <23 IRQ_TYPE_EDGE << 190 interrupt-controller; << 191 #interrupt-cells = <2>; << 192 147 193 pinctrl-names = "default"; !! 148 &main_uart1 { 194 pinctrl-0 = <&main_gpio1_ioexp !! 149 /* Main UART1 is used by TIFS firmware */ 195 }; !! 150 status = "reserved"; 196 }; 151 }; 197 152 198 &sdhci1 { !! 153 &main_uart2 { 199 vmmc-supply = <&vdd_mmc1>; !! 154 status = "disabled"; 200 vqmmc-supply = <&vdd_sd_dv>; << 201 }; 155 }; 202 156 203 &cpsw3g { !! 157 &main_uart3 { 204 pinctrl-names = "default"; !! 158 status = "disabled"; 205 pinctrl-0 = <&main_rgmii1_pins_default << 206 }; 159 }; 207 160 208 &cpsw_port2 { !! 161 &main_uart4 { 209 phy-mode = "rgmii-rxid"; !! 162 status = "disabled"; 210 phy-handle = <&cpsw3g_phy1>; << 211 }; 163 }; 212 164 213 &cpsw3g_mdio { !! 165 &main_uart5 { 214 cpsw3g_phy1: ethernet-phy@1 { !! 166 status = "disabled"; 215 reg = <1>; << 216 ti,rx-internal-delay = <DP8386 << 217 ti,fifo-depth = <DP83867_PHYCR << 218 ti,min-output-impedance; << 219 }; << 220 }; 167 }; 221 168 222 &mailbox0_cluster0 { !! 169 &main_uart6 { 223 mbox_m4_0: mbox-m4-0 { !! 170 status = "disabled"; 224 ti,mbox-rx = <0 0 0>; !! 171 }; 225 ti,mbox-tx = <1 0 0>; !! 172 226 }; !! 173 &mcu_i2c0 { >> 174 status = "disabled"; 227 }; 175 }; 228 176 229 &fss { !! 177 &wkup_i2c0 { 230 bootph-all; !! 178 status = "disabled"; 231 }; 179 }; 232 180 233 &ospi0 { !! 181 &main_i2c0 { 234 bootph-all; << 235 status = "okay"; << 236 pinctrl-names = "default"; 182 pinctrl-names = "default"; 237 pinctrl-0 = <&ospi0_pins_default>; !! 183 pinctrl-0 = <&main_i2c0_pins_default>; >> 184 clock-frequency = <400000>; >> 185 }; 238 186 239 flash@0 { !! 187 &main_i2c1 { 240 bootph-all; !! 188 pinctrl-names = "default"; 241 compatible = "jedec,spi-nor"; !! 189 pinctrl-0 = <&main_i2c1_pins_default>; 242 reg = <0x0>; !! 190 clock-frequency = <400000>; 243 spi-tx-bus-width = <8>; !! 191 }; 244 spi-rx-bus-width = <8>; !! 192 245 spi-max-frequency = <25000000> !! 193 &main_i2c2 { 246 cdns,tshsl-ns = <60>; !! 194 status = "disabled"; 247 cdns,tsd2d-ns = <60>; !! 195 }; 248 cdns,tchsh-ns = <60>; !! 196 249 cdns,tslch-ns = <60>; !! 197 &main_i2c3 { 250 cdns,read-delay = <4>; !! 198 status = "disabled"; 251 << 252 partitions { << 253 bootph-all; << 254 compatible = "fixed-pa << 255 #address-cells = <1>; << 256 #size-cells = <1>; << 257 << 258 partition@0 { << 259 label = "ospi. << 260 reg = <0x0 0x8 << 261 }; << 262 << 263 partition@80000 { << 264 label = "ospi. << 265 reg = <0x80000 << 266 }; << 267 << 268 partition@280000 { << 269 label = "ospi. << 270 reg = <0x28000 << 271 }; << 272 << 273 partition@680000 { << 274 label = "ospi. << 275 reg = <0x68000 << 276 }; << 277 << 278 partition@6c0000 { << 279 label = "ospi. << 280 reg = <0x6c000 << 281 }; << 282 << 283 partition@800000 { << 284 label = "ospi. << 285 reg = <0x80000 << 286 }; << 287 << 288 partition@3fc0000 { << 289 bootph-pre-ram << 290 label = "ospi. << 291 reg = <0x3fc00 << 292 }; << 293 }; << 294 }; << 295 }; 199 }; 296 200 297 &tlv320aic3106 { !! 201 &mailbox0_cluster0 { 298 DVDD-supply = <&vcc_1v8>; !! 202 mbox_m4_0: mbox-m4-0 { >> 203 ti,mbox-rx = <0 0 0>; >> 204 ti,mbox-tx = <1 0 0>; >> 205 }; 299 }; 206 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.