Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'ti-k3-dt-for-v6.5' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/dt

TI K3 device tree updates for v6.5

New Boards:
phyBOARD-Lyra-AM625 Board support
Toradex Verdin AM62 COM, carrier and dev boards

New features:
Across K3 SoCs:
- Error Signaling Module(ESM) and Secproxy IPC modules
- On board I2C EEPROM
- Voltage Temp Monitoring (VTM) module
- DM timers (GP Timers)
J784s4:
- R5 and C7x DSP remoteproc, ADC, QSPI
AM69:
- Addition of more peripherals: CPSW, eMMC, UARTs, I2C et al
J721s2:
- USB, Serdes, OSPI, PCIe
AM62a:
- Watchdog
J721e:
- HyperFlash/HyperBus
AM62:
- Type-C USB0 port

Cleanups and non-urgent fixes
Particularly large set of cleanups to get rid of dtbs_check errors and
dtc warnings:
- Addition of missing pinmux and uart nodes for AM64, AM62x, AM62A,
J721e, J7200 that are used by bootloader
- Split Pinmux regions/range to avoid holes for J721s2, J7200, J784s4
- Drop bootargs and unneeded aliases across all K3 SoCs
- Move aliases to board dts files from SoC dtsi files
- Move to generic node name for can, rtc nodes on am65
- s/-pins-default/default-pins/ to match upcoming pinctrl.yaml update
- Fix pinctrl phandle references to use <> as separator where multiple
entries are present

* tag 'ti-k3-dt-for-v6.5' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (153 commits)
arm64: dts: ti: Unify pin group node names for make dtbs checks
arm64: dts: ti: add verdin am62 yavia
arm64: dts: ti: add verdin am62 dahlia
arm64: dts: ti: add verdin am62
dt-bindings: arm: ti: add toradex,verdin-am62 et al.
arm64: dts: ti: Add basic support for phyBOARD-Lyra-AM625
dt-bindings: arm: ti: Add bindings for PHYTEC AM62x based hardware
arm64: dts: ti: k3-j7200-mcu-wakeup: Remove 0x unit address prefix from nodename
arm64: dts: ti: k3-j721e-som-p0: Enable wakeup_i2c0 and eeprom
arm64: dts: ti: k3-am64: Add ESM support
arm64: dts: ti: k3-am62: Add ESM support
arm64: dts: ti: k3-j7200: Add ESM support
arm64: dts: ti: k3-j721e: Add ESM support
dt-bindings: misc: esm: Add ESM support for TI K3 devices
arm64: dts: ti: k3-j721s2-som-p0: Enable wakeup_i2c0 and eeprom
arm64: dts: ti: k3-j721s2-common-proc-board: Add uart pinmux
arm64: dts: ti: k3-am68-sk-som: Enable wakeup_i2c0 and eeprom
arm64: dts: ti: k3-am68-sk-base-board: Add uart pinmux
arm64: dts: ti: k3-am68-sk-base-board: Add pinmux for RPi Header
arm64: dts: ti: k3-j721s2: Fix wkup pinmux range
...

Link: https://lore.kernel.org/r/7fe0c6de-cb99-9c89-8583-b3855fde16f8@ti.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+8770 -864
+26
Documentation/devicetree/bindings/arm/ti/k3.yaml
··· 25 25 - ti,am62a7-sk 26 26 - const: ti,am62a7 27 27 28 + - description: K3 AM625 SoC PHYTEC phyBOARD-Lyra 29 + items: 30 + - const: phytec,am625-phyboard-lyra-rdk 31 + - const: phytec,am62-phycore-som 32 + - const: ti,am625 33 + 28 34 - description: K3 AM625 SoC 29 35 items: 30 36 - enum: 31 37 - beagle,am625-beagleplay 32 38 - ti,am625-sk 33 39 - ti,am62-lp-sk 40 + - const: ti,am625 41 + 42 + - description: K3 AM62x SoC Toradex Verdin Modules and Carrier Boards 43 + items: 44 + - enum: 45 + - toradex,verdin-am62-nonwifi-dahlia # Verdin AM62 Module on Dahlia 46 + - toradex,verdin-am62-nonwifi-dev # Verdin AM62 Module on Verdin Development Board 47 + - toradex,verdin-am62-nonwifi-yavia # Verdin AM62 Module on Yavia 48 + - const: toradex,verdin-am62-nonwifi # Verdin AM62 Module without Wi-Fi / BT 49 + - const: toradex,verdin-am62 # Verdin AM62 Module 50 + - const: ti,am625 51 + 52 + - description: K3 AM62x SoC Toradex Verdin Modules and Carrier Boards with Wi-Fi / BT 53 + items: 54 + - enum: 55 + - toradex,verdin-am62-wifi-dahlia # Verdin AM62 Wi-Fi / BT Module on Dahlia 56 + - toradex,verdin-am62-wifi-dev # Verdin AM62 Wi-Fi / BT M. on Verdin Development B. 57 + - toradex,verdin-am62-wifi-yavia # Verdin AM62 Wi-Fi / BT Module on Yavia 58 + - const: toradex,verdin-am62-wifi # Verdin AM62 Wi-Fi / BT Module 59 + - const: toradex,verdin-am62 # Verdin AM62 Module 34 60 - const: ti,am625 35 61 36 62 - description: K3 AM642 SoC
+53
Documentation/devicetree/bindings/misc/ti,j721e-esm.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + # Copyright (C) 2022 Texas Instruments Incorporated 3 + %YAML 1.2 4 + --- 5 + $id: http://devicetree.org/schemas/misc/ti,j721e-esm.yaml# 6 + $schema: http://devicetree.org/meta-schemas/core.yaml# 7 + 8 + title: Texas Instruments K3 ESM 9 + 10 + maintainers: 11 + - Neha Malcom Francis <n-francis@ti.com> 12 + 13 + description: 14 + The ESM (Error Signaling Module) is an IP block on TI K3 devices 15 + that allows handling of safety events somewhat similar to what interrupt 16 + controller would do. The safety signals have their separate paths within 17 + the SoC, and they are handled by the ESM, which routes them to the proper 18 + destination, which can be system reset, interrupt controller, etc. In the 19 + simplest configuration the signals are just routed to reset the SoC. 20 + 21 + properties: 22 + compatible: 23 + const: ti,j721e-esm 24 + 25 + reg: 26 + maxItems: 1 27 + 28 + ti,esm-pins: 29 + $ref: /schemas/types.yaml#/definitions/uint32-array 30 + description: 31 + integer array of ESM interrupt pins to route to external event pin 32 + which can be used to reset the SoC. 33 + minItems: 1 34 + maxItems: 255 35 + 36 + required: 37 + - compatible 38 + - reg 39 + - ti,esm-pins 40 + 41 + additionalProperties: false 42 + 43 + examples: 44 + - | 45 + bus { 46 + #address-cells = <2>; 47 + #size-cells = <2>; 48 + esm@700000 { 49 + compatible = "ti,j721e-esm"; 50 + reg = <0x0 0x700000 0x0 0x1000>; 51 + ti,esm-pins = <344>, <345>; 52 + }; 53 + };
+9
arch/arm64/boot/dts/ti/Makefile
··· 10 10 11 11 # Boards with AM62x SoC 12 12 dtb-$(CONFIG_ARCH_K3) += k3-am625-beagleplay.dtb 13 + dtb-$(CONFIG_ARCH_K3) += k3-am625-phyboard-lyra-rdk.dtb 13 14 dtb-$(CONFIG_ARCH_K3) += k3-am625-sk.dtb 15 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dahlia.dtb 16 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-dev.dtb 17 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-nonwifi-yavia.dtb 18 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dahlia.dtb 19 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-dev.dtb 20 + dtb-$(CONFIG_ARCH_K3) += k3-am625-verdin-wifi-yavia.dtb 14 21 dtb-$(CONFIG_ARCH_K3) += k3-am62-lp-sk.dtb 15 22 16 23 # Boards with AM62Ax SoC ··· 29 22 dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb 30 23 31 24 # Boards with AM65x SoC 25 + k3-am654-gp-evm-dtbs := k3-am654-base-board.dtb k3-am654-base-board-rocktech-rk101-panel.dtbo 32 26 dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic.dtb 33 27 dtb-$(CONFIG_ARCH_K3) += k3-am6528-iot2050-basic-pg2.dtb 34 28 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced.dtb 35 29 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-m2.dtb 36 30 dtb-$(CONFIG_ARCH_K3) += k3-am6548-iot2050-advanced-pg2.dtb 37 31 dtb-$(CONFIG_ARCH_K3) += k3-am654-base-board.dtb 32 + dtb-$(CONFIG_ARCH_K3) += k3-am654-gp-evm.dtb 38 33 39 34 # Boards with J7200 SoC 40 35 k3-j7200-evm-dtbs := k3-j7200-common-proc-board.dtb k3-j7200-evm-quad-port-eth-exp.dtbo
+3 -3
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
··· 73 73 }; 74 74 75 75 &main_pmx0 { 76 - vddshv_sdio_pins_default: vddshv-sdio-pins-default { 76 + vddshv_sdio_pins_default: vddshv-sdio-default-pins { 77 77 pinctrl-single,pins = < 78 78 AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ 79 79 >; 80 80 }; 81 81 82 - main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-pins-default { 82 + main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 83 83 pinctrl-single,pins = < 84 84 AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (C13) UART0_RTSn.GPIO1_23 */ 85 85 >; 86 86 }; 87 87 88 - pmic_irq_pins_default: pmic-irq-pins-default { 88 + pmic_irq_pins_default: pmic-irq-default-pins { 89 89 pinctrl-single,pins = < 90 90 AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (B16) EXTINTn */ 91 91 >;
+21
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
··· 184 184 dma-names = "tx", "rx1", "rx2"; 185 185 }; 186 186 187 + secure_proxy_sa3: mailbox@43600000 { 188 + compatible = "ti,am654-secure-proxy"; 189 + #mbox-cells = <1>; 190 + reg-names = "target_data", "rt", "scfg"; 191 + reg = <0x00 0x43600000 0x00 0x10000>, 192 + <0x00 0x44880000 0x00 0x20000>, 193 + <0x00 0x44860000 0x00 0x20000>; 194 + /* 195 + * Marked Disabled: 196 + * Node is incomplete as it is meant for bootloaders and 197 + * firmware on non-MPU processors 198 + */ 199 + status = "disabled"; 200 + }; 201 + 187 202 main_pmx0: pinctrl@f4000 { 188 203 compatible = "pinctrl-single"; 189 204 reg = <0x00 0xf4000 0x00 0x2ac>; 190 205 #pinctrl-cells = <1>; 191 206 pinctrl-single,register-width = <32>; 192 207 pinctrl-single,function-mask = <0xffffffff>; 208 + }; 209 + 210 + main_esm: esm@420000 { 211 + compatible = "ti,j721e-esm"; 212 + reg = <0x00 0x420000 0x00 0x1000>; 213 + ti,esm-pins = <160>, <161>, <162>, <163>, <177>, <178>; 193 214 }; 194 215 195 216 main_timer0: timer@2400000 {
+6
arch/arm64/boot/dts/ti/k3-am62-mcu.dtsi
··· 14 14 pinctrl-single,function-mask = <0xffffffff>; 15 15 }; 16 16 17 + mcu_esm: esm@4100000 { 18 + compatible = "ti,j721e-esm"; 19 + reg = <0x00 0x4100000 0x00 0x1000>; 20 + ti,esm-pins = <0>, <1>, <2>, <85>; 21 + }; 22 + 17 23 /* 18 24 * The MCU domain timer interrupts are routed only to the ESM module, 19 25 * and not currently available for Linux. The MCU domain timers are
+324
arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2022 - 2023 PHYTEC Messtechnik GmbH 4 + * Author: Wadim Egorov <w.egorov@phytec.de> 5 + * 6 + * Product homepage: 7 + * https://www.phytec.com/product/phycore-am62x 8 + */ 9 + 10 + #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/leds/common.h> 12 + #include <dt-bindings/net/ti-dp83867.h> 13 + 14 + / { 15 + model = "PHYTEC phyCORE-AM62x"; 16 + compatible = "phytec,am62-phycore-som", "ti,am625"; 17 + 18 + aliases { 19 + ethernet0 = &cpsw_port1; 20 + gpio0 = &main_gpio0; 21 + gpio1 = &main_gpio1; 22 + i2c0 = &main_i2c0; 23 + mmc0 = &sdhci0; 24 + rtc0 = &i2c_som_rtc; 25 + rtc1 = &wkup_rtc0; 26 + spi0 = &ospi0; 27 + }; 28 + 29 + memory@80000000 { 30 + device_type = "memory"; 31 + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 32 + }; 33 + 34 + reserved_memory: reserved-memory { 35 + #address-cells = <2>; 36 + #size-cells = <2>; 37 + ranges; 38 + 39 + ramoops@9ca00000 { 40 + compatible = "ramoops"; 41 + reg = <0x00 0x9ca00000 0x00 0x00100000>; 42 + record-size = <0x8000>; 43 + console-size = <0x8000>; 44 + ftrace-size = <0x00>; 45 + pmsg-size = <0x8000>; 46 + }; 47 + 48 + secure_tfa_ddr: tfa@9e780000 { 49 + reg = <0x00 0x9e780000 0x00 0x80000>; 50 + alignment = <0x1000>; 51 + no-map; 52 + }; 53 + 54 + secure_ddr: optee@9e800000 { 55 + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 56 + alignment = <0x1000>; 57 + no-map; 58 + }; 59 + 60 + wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { 61 + compatible = "shared-dma-pool"; 62 + reg = <0x00 0x9db00000 0x00 0x00c00000>; 63 + no-map; 64 + }; 65 + }; 66 + 67 + vcc_5v0_som: regulator-vcc-5v0-som { 68 + compatible = "regulator-fixed"; 69 + regulator-name = "VCC_5V0_SOM"; 70 + regulator-min-microvolt = <5000000>; 71 + regulator-max-microvolt = <5000000>; 72 + regulator-always-on; 73 + regulator-boot-on; 74 + }; 75 + 76 + vdd_1v8: regulator-vdd-1v8 { 77 + compatible = "regulator-fixed"; 78 + regulator-name = "VDD_1V8"; 79 + regulator-min-microvolt = <1800000>; 80 + regulator-max-microvolt = <1800000>; 81 + vin-supply = <&vcc_5v0_som>; 82 + regulator-always-on; 83 + regulator-boot-on; 84 + }; 85 + 86 + leds { 87 + compatible = "gpio-leds"; 88 + pinctrl-names = "default"; 89 + pinctrl-0 = <&leds_pins_default>; 90 + 91 + led-0 { 92 + color = <LED_COLOR_ID_GREEN>; 93 + gpios = <&main_gpio0 13 GPIO_ACTIVE_HIGH>; 94 + linux,default-trigger = "heartbeat"; 95 + function = LED_FUNCTION_HEARTBEAT; 96 + }; 97 + }; 98 + }; 99 + 100 + &main_pmx0 { 101 + leds_pins_default: leds-default-pins { 102 + pinctrl-single,pins = < 103 + AM62X_IOPAD(0x034, PIN_OUTPUT, 7) /* (H21) OSPI0_CSN2.GPIO0_13 */ 104 + >; 105 + }; 106 + 107 + main_i2c0_pins_default: main-i2c0-default-pins { 108 + pinctrl-single,pins = < 109 + AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 110 + AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 111 + >; 112 + }; 113 + 114 + main_mdio1_pins_default: main-mdio1-default-pins { 115 + pinctrl-single,pins = < 116 + AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ 117 + AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ 118 + >; 119 + }; 120 + 121 + main_mmc0_pins_default: main-mmc0-default-pins { 122 + pinctrl-single,pins = < 123 + AM62X_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (Y3) MMC0_CMD */ 124 + AM62X_IOPAD(0x218, PIN_INPUT_PULLDOWN, 0) /* (AB1) MMC0_CLK */ 125 + AM62X_IOPAD(0x214, PIN_INPUT_PULLUP, 0) /* (AA2) MMC0_DAT0 */ 126 + AM62X_IOPAD(0x210, PIN_INPUT_PULLUP, 0) /* (AA1) MMC0_DAT1 */ 127 + AM62X_IOPAD(0x20c, PIN_INPUT_PULLUP, 0) /* (AA3) MMC0_DAT2 */ 128 + AM62X_IOPAD(0x208, PIN_INPUT_PULLUP, 0) /* (Y4) MMC0_DAT3 */ 129 + AM62X_IOPAD(0x204, PIN_INPUT_PULLUP, 0) /* (AB2) MMC0_DAT4 */ 130 + AM62X_IOPAD(0x200, PIN_INPUT_PULLUP, 0) /* (AC1) MMC0_DAT5 */ 131 + AM62X_IOPAD(0x1fc, PIN_INPUT_PULLUP, 0) /* (AD2) MMC0_DAT6 */ 132 + AM62X_IOPAD(0x1f8, PIN_INPUT_PULLUP, 0) /* (AC2) MMC0_DAT7 */ 133 + >; 134 + }; 135 + 136 + main_rgmii1_pins_default: main-rgmii1-default-pins { 137 + pinctrl-single,pins = < 138 + AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ 139 + AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ 140 + AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16) RGMII1_RD2 */ 141 + AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15) RGMII1_RD3 */ 142 + AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17) RGMII1_RXC */ 143 + AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17) RGMII1_RX_CTL */ 144 + AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */ 145 + AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */ 146 + AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */ 147 + AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */ 148 + AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */ 149 + AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */ 150 + >; 151 + }; 152 + 153 + ospi0_pins_default: ospi0-default-pins { 154 + pinctrl-single,pins = < 155 + AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ 156 + AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ 157 + AM62X_IOPAD(0x00c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */ 158 + AM62X_IOPAD(0x010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */ 159 + AM62X_IOPAD(0x014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */ 160 + AM62X_IOPAD(0x018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */ 161 + AM62X_IOPAD(0x01c, PIN_INPUT, 0) /* (J23) OSPI0_D4 */ 162 + AM62X_IOPAD(0x020, PIN_INPUT, 0) /* (J25) OSPI0_D5 */ 163 + AM62X_IOPAD(0x024, PIN_INPUT, 0) /* (H25) OSPI0_D6 */ 164 + AM62X_IOPAD(0x028, PIN_INPUT, 0) /* (J22) OSPI0_D7 */ 165 + AM62X_IOPAD(0x008, PIN_INPUT, 0) /* (J24) OSPI0_DQS */ 166 + >; 167 + }; 168 + 169 + pmic_irq_pins_default: pmic-irq-default-pins { 170 + pinctrl-single,pins = < 171 + AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */ 172 + >; 173 + }; 174 + }; 175 + 176 + &cpsw3g { 177 + pinctrl-names = "default"; 178 + pinctrl-0 = <&main_rgmii1_pins_default>; 179 + }; 180 + 181 + &cpsw_port1 { 182 + phy-mode = "rgmii-rxid"; 183 + phy-handle = <&cpsw3g_phy1>; 184 + }; 185 + 186 + &cpsw3g_mdio { 187 + pinctrl-names = "default"; 188 + pinctrl-0 = <&main_mdio1_pins_default>; 189 + status = "okay"; 190 + 191 + cpsw3g_phy1: ethernet-phy@1 { 192 + compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; 193 + reg = <1>; 194 + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 195 + ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 196 + }; 197 + }; 198 + 199 + &main_i2c0 { 200 + pinctrl-names = "default"; 201 + pinctrl-0 = <&main_i2c0_pins_default>; 202 + clock-frequency = <400000>; 203 + status = "okay"; 204 + 205 + pmic@30 { 206 + compatible = "ti,tps65219"; 207 + reg = <0x30>; 208 + buck1-supply = <&vcc_5v0_som>; 209 + buck2-supply = <&vcc_5v0_som>; 210 + buck3-supply = <&vcc_5v0_som>; 211 + ldo1-supply = <&vdd_3v3>; 212 + ldo2-supply = <&vdd_1v8>; 213 + ldo3-supply = <&vcc_5v0_som>; 214 + ldo4-supply = <&vcc_5v0_som>; 215 + 216 + pinctrl-names = "default"; 217 + pinctrl-0 = <&pmic_irq_pins_default>; 218 + interrupt-parent = <&gic500>; 219 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 220 + interrupt-controller; 221 + #interrupt-cells = <1>; 222 + 223 + ti,power-button; 224 + system-power-controller; 225 + 226 + regulators { 227 + vdd_core: buck1 { 228 + regulator-name = "VDD_CORE"; 229 + regulator-min-microvolt = <750000>; 230 + regulator-max-microvolt = <750000>; 231 + regulator-boot-on; 232 + regulator-always-on; 233 + }; 234 + 235 + vdd_3v3: buck2 { 236 + regulator-name = "VDD_3V3"; 237 + regulator-min-microvolt = <3300000>; 238 + regulator-max-microvolt = <3300000>; 239 + regulator-boot-on; 240 + regulator-always-on; 241 + }; 242 + 243 + vdd_ddr4: buck3 { 244 + regulator-name = "VDD_DDR4"; 245 + regulator-min-microvolt = <1200000>; 246 + regulator-max-microvolt = <1200000>; 247 + regulator-boot-on; 248 + regulator-always-on; 249 + }; 250 + 251 + vddshv5_sdio: ldo1 { 252 + regulator-name = "VDDSHV5_SDIO"; 253 + regulator-min-microvolt = <3300000>; 254 + regulator-max-microvolt = <3300000>; 255 + regulator-allow-bypass; 256 + regulator-boot-on; 257 + regulator-always-on; 258 + }; 259 + 260 + vddr_core: ldo2 { 261 + regulator-name = "VDDR_CORE"; 262 + regulator-min-microvolt = <850000>; 263 + regulator-max-microvolt = <850000>; 264 + regulator-boot-on; 265 + regulator-always-on; 266 + }; 267 + 268 + vdda_1v8: ldo3 { 269 + regulator-name = "VDDA_1V8"; 270 + regulator-min-microvolt = <1800000>; 271 + regulator-max-microvolt = <1800000>; 272 + regulator-boot-on; 273 + regulator-always-on; 274 + }; 275 + 276 + vdd_2v5: ldo4 { 277 + regulator-name = "VDD_2V5"; 278 + regulator-min-microvolt = <2500000>; 279 + regulator-max-microvolt = <2500000>; 280 + regulator-boot-on; 281 + regulator-always-on; 282 + }; 283 + }; 284 + }; 285 + 286 + eeprom@50 { 287 + compatible = "atmel,24c32"; 288 + pagesize = <32>; 289 + reg = <0x50>; 290 + }; 291 + 292 + i2c_som_rtc: rtc@52 { 293 + compatible = "microcrystal,rv3028"; 294 + reg = <0x52>; 295 + }; 296 + }; 297 + 298 + &ospi0 { 299 + pinctrl-names = "default"; 300 + pinctrl-0 = <&ospi0_pins_default>; 301 + status = "okay"; 302 + 303 + serial_flash: flash@0 { 304 + compatible = "jedec,spi-nor"; 305 + reg = <0x0>; 306 + spi-tx-bus-width = <8>; 307 + spi-rx-bus-width = <8>; 308 + spi-max-frequency = <25000000>; 309 + cdns,tshsl-ns = <60>; 310 + cdns,tsd2d-ns = <60>; 311 + cdns,tchsh-ns = <60>; 312 + cdns,tslch-ns = <60>; 313 + cdns,read-delay = <0>; 314 + }; 315 + }; 316 + 317 + &sdhci0 { 318 + pinctrl-names = "default"; 319 + pinctrl-0 = <&main_mmc0_pins_default>; 320 + ti,driver-strength-ohm = <50>; 321 + disable-wp; 322 + non-removable; 323 + status = "okay"; 324 + };
+33
arch/arm64/boot/dts/ti/k3-am62-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + thermal_zones: thermal-zones { 6 + main0_thermal: main0-thermal { 7 + polling-delay-passive = <250>; /* milliSeconds */ 8 + polling-delay = <500>; /* milliSeconds */ 9 + thermal-sensors = <&wkup_vtm0 0>; 10 + 11 + trips { 12 + main0_crit: main0-crit { 13 + temperature = <105000>; /* milliCelsius */ 14 + hysteresis = <2000>; /* milliCelsius */ 15 + type = "critical"; 16 + }; 17 + }; 18 + }; 19 + 20 + main1_thermal: main1-thermal { 21 + polling-delay-passive = <250>; /* milliSeconds */ 22 + polling-delay = <500>; /* milliSeconds */ 23 + thermal-sensors = <&wkup_vtm0 1>; 24 + 25 + trips { 26 + main1_crit: main1-crit { 27 + temperature = <105000>; /* milliCelsius */ 28 + hysteresis = <2000>; /* milliCelsius */ 29 + type = "critical"; 30 + }; 31 + }; 32 + }; 33 + };
+161
arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM on Dahlia carrier board 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit 9 + */ 10 + 11 + /* Verdin ETHs */ 12 + &cpsw3g { 13 + status = "okay"; 14 + }; 15 + 16 + /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 17 + &cpsw3g_mdio { 18 + status = "okay"; 19 + }; 20 + 21 + /* Verdin ETH_1 (On-module PHY) */ 22 + &cpsw_port1 { 23 + status = "okay"; 24 + }; 25 + 26 + /* Verdin PWM_1, PWM_2 */ 27 + &epwm0 { 28 + status = "okay"; 29 + }; 30 + 31 + /* Verdin PWM_3_DSI */ 32 + &epwm1 { 33 + status = "okay"; 34 + }; 35 + 36 + &main_gpio0 { 37 + pinctrl-names = "default"; 38 + pinctrl-0 = <&pinctrl_ctrl_sleep_moci>, 39 + <&pinctrl_gpio_5>, 40 + <&pinctrl_gpio_6>, 41 + <&pinctrl_gpio_7>, 42 + <&pinctrl_gpio_8>; 43 + }; 44 + 45 + /* Verdin I2C_1 */ 46 + &main_i2c1 { 47 + status = "okay"; 48 + 49 + /* Current measurement into module VCC */ 50 + hwmon@40 { 51 + compatible = "ti,ina219"; 52 + reg = <0x40>; 53 + shunt-resistor = <10000>; 54 + }; 55 + 56 + /* Temperature sensor */ 57 + sensor@4f { 58 + compatible = "ti,tmp75c"; 59 + reg = <0x4f>; 60 + }; 61 + 62 + /* EEPROM */ 63 + eeprom@57 { 64 + compatible = "st,24c02"; 65 + reg = <0x57>; 66 + pagesize = <16>; 67 + }; 68 + }; 69 + 70 + /* Verdin I2C_2_DSI */ 71 + &main_i2c2 { 72 + status = "okay"; 73 + }; 74 + 75 + /* Verdin I2C_4_CSI */ 76 + &main_i2c3 { 77 + status = "okay"; 78 + }; 79 + 80 + /* Verdin CAN_1 */ 81 + &main_mcan0 { 82 + status = "okay"; 83 + }; 84 + 85 + /* Verdin SPI_1 */ 86 + &main_spi1 { 87 + status = "okay"; 88 + }; 89 + 90 + /* Verdin UART_3 */ 91 + &main_uart0 { 92 + status = "okay"; 93 + }; 94 + 95 + /* Verdin UART_1 */ 96 + &main_uart1 { 97 + status = "okay"; 98 + }; 99 + 100 + /* Verdin I2S_1 */ 101 + &mcasp0 { 102 + status = "okay"; 103 + }; 104 + 105 + &mcu_gpio0 { 106 + pinctrl-names = "default"; 107 + pinctrl-0 = <&pinctrl_gpio_1>, 108 + <&pinctrl_gpio_2>, 109 + <&pinctrl_gpio_3>, 110 + <&pinctrl_gpio_4>; 111 + }; 112 + 113 + /* Verdin I2C_3_HDMI */ 114 + &mcu_i2c0 { 115 + status = "okay"; 116 + }; 117 + 118 + /* Verdin UART_4 */ 119 + &mcu_uart0 { 120 + status = "okay"; 121 + }; 122 + 123 + /* Verdin QSPI_1 */ 124 + &ospi0 { 125 + status = "okay"; 126 + }; 127 + 128 + /* Verdin SD_1 */ 129 + &sdhci1 { 130 + ti,driver-strength-ohm = <33>; 131 + status = "okay"; 132 + }; 133 + 134 + /* Verdin USB_1 */ 135 + &usbss0 { 136 + status = "okay"; 137 + }; 138 + 139 + &usb0 { 140 + status = "okay"; 141 + }; 142 + 143 + /* Verdin USB_2 */ 144 + &usbss1 { 145 + status = "okay"; 146 + }; 147 + 148 + &usb1 { 149 + status = "okay"; 150 + }; 151 + 152 + /* Verdin CTRL_WAKE1_MICO# */ 153 + &verdin_gpio_keys { 154 + status = "okay"; 155 + }; 156 + 157 + /* Verdin UART_2 */ 158 + &wkup_uart0 { 159 + /* FIXME: WKUP UART0 is used by DM firmware */ 160 + status = "reserved"; 161 + };
+190
arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM on Development carrier board 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + * https://www.toradex.com/products/carrier-board/verdin-development-board-kit 9 + */ 10 + 11 + /* Verdin ETHs */ 12 + &cpsw3g { 13 + pinctrl-names = "default"; 14 + pinctrl-0 = <&pinctrl_rgmii1>, <&pinctrl_rgmii2>; 15 + status = "okay"; 16 + }; 17 + 18 + /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 19 + &cpsw3g_mdio { 20 + status = "okay"; 21 + 22 + cpsw3g_phy1: ethernet-phy@7 { 23 + compatible = "ethernet-phy-ieee802.3-c22"; 24 + reg = <7>; 25 + interrupt-parent = <&main_gpio0>; 26 + interrupts = <38 IRQ_TYPE_EDGE_FALLING>; 27 + pinctrl-names = "default"; 28 + pinctrl-0 = <&pinctrl_eth2_rgmii_int>; 29 + micrel,led-mode = <0>; 30 + }; 31 + }; 32 + 33 + /* Verdin ETH_1 (On-module PHY) */ 34 + &cpsw_port1 { 35 + status = "okay"; 36 + }; 37 + 38 + /* Verdin ETH_2_RGMII */ 39 + &cpsw_port2 { 40 + phy-handle = <&cpsw3g_phy1>; 41 + phy-mode = "rgmii-rxid"; 42 + status = "okay"; 43 + }; 44 + 45 + /* Verdin PWM_1, PWM_2 */ 46 + &epwm0 { 47 + status = "okay"; 48 + }; 49 + 50 + /* Verdin PWM_3_DSI */ 51 + &epwm1 { 52 + status = "okay"; 53 + }; 54 + 55 + &main_gpio0 { 56 + pinctrl-names = "default"; 57 + pinctrl-0 = <&pinctrl_ctrl_sleep_moci>, 58 + <&pinctrl_gpio_5>, 59 + <&pinctrl_gpio_6>, 60 + <&pinctrl_gpio_7>, 61 + <&pinctrl_gpio_8>; 62 + }; 63 + 64 + /* Verdin I2C_1 */ 65 + &main_i2c1 { 66 + status = "okay"; 67 + 68 + /* IO Expander */ 69 + gpio_expander_21: gpio@21 { 70 + compatible = "nxp,pcal6416"; 71 + reg = <0x21>; 72 + #gpio-cells = <2>; 73 + gpio-controller; 74 + }; 75 + 76 + /* Current measurement into module VCC */ 77 + hwmon@40 { 78 + compatible = "ti,ina219"; 79 + reg = <0x40>; 80 + shunt-resistor = <10000>; 81 + }; 82 + 83 + /* Temperature sensor */ 84 + sensor@4f { 85 + compatible = "ti,tmp75c"; 86 + reg = <0x4f>; 87 + }; 88 + 89 + /* EEPROM */ 90 + eeprom@57 { 91 + compatible = "st,24c02", "atmel,24c02"; 92 + reg = <0x57>; 93 + pagesize = <16>; 94 + }; 95 + }; 96 + 97 + /* Verdin I2C_2_DSI */ 98 + &main_i2c2 { 99 + status = "okay"; 100 + }; 101 + 102 + /* Verdin I2C_4_CSI */ 103 + &main_i2c3 { 104 + status = "okay"; 105 + }; 106 + 107 + /* Verdin CAN_1 */ 108 + &main_mcan0 { 109 + status = "okay"; 110 + }; 111 + 112 + /* Verdin SPI_1 */ 113 + &main_spi1 { 114 + status = "okay"; 115 + }; 116 + 117 + /* Verdin UART_3 */ 118 + &main_uart0 { 119 + status = "okay"; 120 + }; 121 + 122 + /* Verdin UART_1, connector X50 through RS485 transceiver. */ 123 + &main_uart1 { 124 + linux,rs485-enabled-at-boot-time; 125 + rs485-rx-during-tx; 126 + status = "okay"; 127 + }; 128 + 129 + /* Verdin I2S_1 */ 130 + &mcasp0 { 131 + status = "okay"; 132 + }; 133 + 134 + &mcu_gpio0 { 135 + pinctrl-names = "default"; 136 + pinctrl-0 = <&pinctrl_gpio_1>, 137 + <&pinctrl_gpio_2>, 138 + <&pinctrl_gpio_3>, 139 + <&pinctrl_gpio_4>; 140 + }; 141 + 142 + /* Verdin I2C_3_HDMI */ 143 + &mcu_i2c0 { 144 + status = "okay"; 145 + }; 146 + 147 + /* Verdin UART_4 */ 148 + &mcu_uart0 { 149 + status = "okay"; 150 + }; 151 + 152 + /* Verdin QSPI_1 */ 153 + &ospi0 { 154 + status = "okay"; 155 + }; 156 + 157 + /* Verdin SD_1 */ 158 + &sdhci1 { 159 + ti,driver-strength-ohm = <33>; 160 + status = "okay"; 161 + }; 162 + 163 + /* Verdin USB_1 */ 164 + &usbss0 { 165 + status = "okay"; 166 + }; 167 + 168 + &usb0 { 169 + status = "okay"; 170 + }; 171 + 172 + /* Verdin USB_2 */ 173 + &usbss1 { 174 + status = "okay"; 175 + }; 176 + 177 + &usb1 { 178 + status = "okay"; 179 + }; 180 + 181 + /* Verdin CTRL_WAKE1_MICO# */ 182 + &verdin_gpio_keys { 183 + status = "okay"; 184 + }; 185 + 186 + /* Verdin UART_2 */ 187 + &wkup_uart0 { 188 + /* FIXME: WKUP UART0 is used by DM firmware */ 189 + status = "reserved"; 190 + };
+20
arch/arm64/boot/dts/ti/k3-am62-verdin-nonwifi.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM non-WB variant 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + */ 9 + 10 + &sdhci2 { 11 + pinctrl-0 = <&pinctrl_sdhci2>; 12 + bus-width = <4>; 13 + status = "disabled"; 14 + }; 15 + 16 + &main_uart5 { 17 + pinctrl-names = "default"; 18 + pinctrl-0 = <&pinctrl_uart5>; 19 + status = "disabled"; 20 + };
+39
arch/arm64/boot/dts/ti/k3-am62-verdin-wifi.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM WB variant 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + */ 9 + 10 + / { 11 + wifi_pwrseq: wifi-pwrseq { 12 + compatible = "mmc-pwrseq-simple"; 13 + pinctrl-names = "default"; 14 + pinctrl-0 = <&pinctrl_wifi_en>; 15 + reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>; 16 + }; 17 + }; 18 + 19 + /* On-module Wi-Fi */ 20 + &sdhci2 { 21 + pinctrl-names = "default"; 22 + pinctrl-0 = <&pinctrl_sdhci2>; 23 + bus-width = <4>; 24 + cap-power-off-card; 25 + keep-power-in-suspend; 26 + mmc-pwrseq = <&wifi_pwrseq>; 27 + non-removable; 28 + ti,fails-without-test-cd; 29 + ti,driver-strength-ohm = <50>; 30 + vmmc-supply = <&reg_3v3>; 31 + status = "okay"; 32 + }; 33 + 34 + /* On-module Bluetooth */ 35 + &main_uart5 { 36 + pinctrl-names = "default"; 37 + pinctrl-0 = <&pinctrl_uart5>; 38 + status = "okay"; 39 + };
+207
arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM on Yavia carrier board 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + * https://www.toradex.com/products/carrier-board/yavia 9 + */ 10 + 11 + #include <dt-bindings/leds/common.h> 12 + 13 + / { 14 + leds { 15 + compatible = "gpio-leds"; 16 + pinctrl-names = "default"; 17 + pinctrl-0 = <&pinctrl_qspi1_clk_gpio>, 18 + <&pinctrl_qspi1_cs_gpio>, 19 + <&pinctrl_qspi1_io0_gpio>, 20 + <&pinctrl_qspi1_io1_gpio>, 21 + <&pinctrl_qspi1_io2_gpio>, 22 + <&pinctrl_qspi1_io3_gpio>; 23 + 24 + /* SODIMM 52 - LD1_RED */ 25 + led-0 { 26 + color = <LED_COLOR_ID_RED>; 27 + function = LED_FUNCTION_DEBUG; 28 + function-enumerator = <1>; 29 + gpios = <&main_gpio0 0 GPIO_ACTIVE_HIGH>; 30 + }; 31 + /* SODIMM 54 - LD1_GREEN */ 32 + led-1 { 33 + color = <LED_COLOR_ID_GREEN>; 34 + function = LED_FUNCTION_DEBUG; 35 + function-enumerator = <1>; 36 + gpios = <&main_gpio0 11 GPIO_ACTIVE_HIGH>; 37 + }; 38 + /* SODIMM 56 - LD1_BLUE */ 39 + led-2 { 40 + color = <LED_COLOR_ID_BLUE>; 41 + function = LED_FUNCTION_DEBUG; 42 + function-enumerator = <1>; 43 + gpios = <&main_gpio0 3 GPIO_ACTIVE_HIGH>; 44 + }; 45 + /* SODIMM 58 - LD2_RED */ 46 + led-3 { 47 + color = <LED_COLOR_ID_RED>; 48 + function = LED_FUNCTION_DEBUG; 49 + function-enumerator = <2>; 50 + gpios = <&main_gpio0 4 GPIO_ACTIVE_HIGH>; 51 + }; 52 + /* SODIMM 60 - LD2_GREEN */ 53 + led-4 { 54 + color = <LED_COLOR_ID_GREEN>; 55 + function = LED_FUNCTION_DEBUG; 56 + function-enumerator = <2>; 57 + gpios = <&main_gpio0 5 GPIO_ACTIVE_HIGH>; 58 + }; 59 + /* SODIMM 62 - LD2_BLUE */ 60 + led-5 { 61 + color = <LED_COLOR_ID_BLUE>; 62 + function = LED_FUNCTION_DEBUG; 63 + function-enumerator = <2>; 64 + gpios = <&main_gpio0 6 GPIO_ACTIVE_HIGH>; 65 + }; 66 + }; 67 + }; 68 + 69 + /* Verdin ETHs */ 70 + &cpsw3g { 71 + status = "okay"; 72 + }; 73 + 74 + /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 75 + &cpsw3g_mdio { 76 + status = "okay"; 77 + }; 78 + 79 + /* Verdin ETH_1 (On-module PHY) */ 80 + &cpsw_port1 { 81 + status = "okay"; 82 + }; 83 + 84 + /* Verdin PWM_1, PWM_2 */ 85 + &epwm0 { 86 + status = "okay"; 87 + }; 88 + 89 + /* Verdin PWM_3_DSI */ 90 + &epwm1 { 91 + status = "okay"; 92 + }; 93 + 94 + &main_gpio0 { 95 + pinctrl-names = "default"; 96 + pinctrl-0 = <&pinctrl_ctrl_sleep_moci>, 97 + <&pinctrl_gpio_5>, 98 + <&pinctrl_gpio_6>, 99 + <&pinctrl_gpio_7>, 100 + <&pinctrl_gpio_8>, 101 + <&pinctrl_qspi1_cs2_gpio>; 102 + }; 103 + 104 + &main_gpio1 { 105 + pinctrl-names = "default"; 106 + pinctrl-0 = <&pinctrl_qspi1_dqs_gpio>; 107 + }; 108 + 109 + /* Verdin I2C_1 */ 110 + &main_i2c1 { 111 + status = "okay"; 112 + 113 + /* Temperature sensor */ 114 + sensor@4f { 115 + compatible = "ti,tmp75c"; 116 + reg = <0x4f>; 117 + }; 118 + 119 + /* EEPROM */ 120 + eeprom@57 { 121 + compatible = "st,24c02"; 122 + reg = <0x57>; 123 + pagesize = <16>; 124 + }; 125 + }; 126 + 127 + /* Verdin I2C_2_DSI */ 128 + &main_i2c2 { 129 + status = "okay"; 130 + }; 131 + 132 + /* Verdin I2C_4_CSI */ 133 + &main_i2c3 { 134 + status = "okay"; 135 + }; 136 + 137 + /* Verdin CAN_1 */ 138 + &main_mcan0 { 139 + status = "okay"; 140 + }; 141 + 142 + /* Verdin SPI_1 */ 143 + &main_spi1 { 144 + status = "okay"; 145 + }; 146 + 147 + /* Verdin UART_3 */ 148 + &main_uart0 { 149 + status = "okay"; 150 + }; 151 + 152 + /* Verdin UART_1 */ 153 + &main_uart1 { 154 + status = "okay"; 155 + }; 156 + 157 + &mcu_gpio0 { 158 + pinctrl-names = "default"; 159 + pinctrl-0 = <&pinctrl_gpio_1>, 160 + <&pinctrl_gpio_2>, 161 + <&pinctrl_gpio_3>, 162 + <&pinctrl_gpio_4>; 163 + }; 164 + 165 + /* Verdin I2C_3_HDMI */ 166 + &mcu_i2c0 { 167 + status = "okay"; 168 + }; 169 + 170 + /* Verdin UART_4 */ 171 + &mcu_uart0 { 172 + status = "okay"; 173 + }; 174 + 175 + /* Verdin SD_1 */ 176 + &sdhci1 { 177 + status = "okay"; 178 + }; 179 + 180 + /* Verdin USB_1 */ 181 + &usbss0 { 182 + status = "okay"; 183 + }; 184 + 185 + &usb0 { 186 + status = "okay"; 187 + }; 188 + 189 + /* Verdin USB_2 */ 190 + &usbss1 { 191 + status = "okay"; 192 + }; 193 + 194 + &usb1 { 195 + status = "okay"; 196 + }; 197 + 198 + /* Verdin CTRL_WAKE1_MICO# */ 199 + &verdin_gpio_keys { 200 + status = "okay"; 201 + }; 202 + 203 + /* Verdin UART_2 */ 204 + &wkup_uart0 { 205 + /* FIXME: WKUP UART0 is used by DM firmware */ 206 + status = "reserved"; 207 + };
+1401
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * Common dtsi for Verdin AM62 SoM 6 + * 7 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 8 + */ 9 + 10 + #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/input/input.h> 12 + #include <dt-bindings/interrupt-controller/arm-gic.h> 13 + #include <dt-bindings/interrupt-controller/irq.h> 14 + #include <dt-bindings/net/ti-dp83867.h> 15 + 16 + / { 17 + chosen { 18 + stdout-path = "serial2:115200n8"; 19 + }; 20 + 21 + aliases { 22 + ethernet0 = &cpsw_port1; 23 + ethernet1 = &cpsw_port2; 24 + i2c0 = &main_i2c0; 25 + i2c1 = &main_i2c1; 26 + i2c2 = &main_i2c2; 27 + i2c3 = &mcu_i2c0; 28 + i2c4 = &main_i2c3; 29 + mmc0 = &sdhci0; 30 + mmc1 = &sdhci1; 31 + mmc2 = &sdhci2; 32 + rtc0 = &rtc_i2c; 33 + rtc1 = &wkup_rtc0; 34 + serial0 = &main_uart1; 35 + serial1 = &wkup_uart0; 36 + serial2 = &main_uart0; 37 + serial3 = &mcu_uart0; 38 + serial4 = &main_uart5; 39 + usb0 = &usb0; 40 + usb1 = &usb1; 41 + }; 42 + 43 + verdin_gpio_keys: gpio-keys { 44 + compatible = "gpio-keys"; 45 + pinctrl-names = "default"; 46 + pinctrl-0 = <&pinctrl_ctrl_wake1_mico>; 47 + status = "disabled"; 48 + 49 + verdin_key_wakeup: key-wakeup { 50 + debounce-interval = <10>; 51 + /* Verdin CTRL_WAKE1_MICO# (SODIMM 252) */ 52 + gpios = <&main_gpio0 32 GPIO_ACTIVE_LOW>; 53 + label = "Wake-Up"; 54 + linux,code = <KEY_WAKEUP>; 55 + wakeup-source; 56 + }; 57 + }; 58 + 59 + memory@80000000 { 60 + device_type = "memory"; 61 + reg = <0x00000000 0x80000000 0x00000000 0x40000000>; /* 1G RAM */ 62 + }; 63 + 64 + opp-table { 65 + /* Add 1.4GHz OPP. Requires VDD_CORE to be at 0.85V */ 66 + opp-1400000000 { 67 + opp-hz = /bits/ 64 <1400000000>; 68 + opp-supported-hw = <0x01 0x0004>; 69 + clock-latency-ns = <6000000>; 70 + }; 71 + }; 72 + 73 + /* Module Power Supply */ 74 + reg_vsodimm: regulator-vsodimm { 75 + compatible = "regulator-fixed"; 76 + regulator-name = "+V_SODIMM"; 77 + }; 78 + 79 + /* Non PMIC On-module Supplies */ 80 + reg_3v3: regulator-3v3 { 81 + compatible = "regulator-fixed"; 82 + regulator-max-microvolt = <3300000>; 83 + regulator-min-microvolt = <3300000>; 84 + regulator-name = "On-module +V3.3"; 85 + vin-supply = <&reg_vsodimm>; 86 + }; 87 + 88 + reg_1v2_dsi: regulator-1v2-dsi { 89 + compatible = "regulator-fixed"; 90 + regulator-max-microvolt = <1200000>; 91 + regulator-min-microvolt = <1200000>; 92 + regulator-name = "On-module +V1.2_DSI"; 93 + vin-supply = <&reg_1v8>; 94 + }; 95 + 96 + /* Enabled by +V1.2_DSI */ 97 + reg_1v8_dsi: regulator-1v8-dsi { 98 + compatible = "regulator-fixed"; 99 + regulator-max-microvolt = <1800000>; 100 + regulator-min-microvolt = <1800000>; 101 + regulator-name = "On-module +V1.8_DSI"; 102 + vin-supply = <&reg_1v8>; 103 + }; 104 + 105 + /* Enabled by +V2.5_ETH */ 106 + reg_1v0_eth: regulator-1v0-eth { 107 + compatible = "regulator-fixed"; 108 + regulator-max-microvolt = <1000000>; 109 + regulator-min-microvolt = <1000000>; 110 + regulator-name = "On-module +V1.0_ETH"; 111 + vin-supply = <&reg_1v8>; 112 + }; 113 + 114 + /* Enabled by +V2.5_ETH */ 115 + reg_1v8_eth: regulator-1v8-eth { 116 + compatible = "regulator-fixed"; 117 + regulator-max-microvolt = <1800000>; 118 + regulator-min-microvolt = <1800000>; 119 + regulator-name = "On-module +V1.8_ETH"; 120 + vin-supply = <&reg_1v8>; 121 + }; 122 + 123 + /* Verdin SD_1 Power Supply */ 124 + reg_sdhc1_vmmc: regulator-sdhci1 { 125 + compatible = "regulator-fixed"; 126 + pinctrl-names = "default"; 127 + pinctrl-0 = <&pinctrl_sd1_pwr_en>; 128 + enable-active-high; 129 + /* Verdin SD_1_PWR_EN (SODIMM 76) */ 130 + gpio = <&main_gpio0 29 GPIO_ACTIVE_HIGH>; 131 + off-on-delay-us = <100000>; 132 + regulator-max-microvolt = <3300000>; 133 + regulator-min-microvolt = <3300000>; 134 + regulator-name = "+V3.3_SD"; 135 + startup-delay-us = <2000>; 136 + }; 137 + 138 + reg_sdhc1_vqmmc: regulator-sdhci1-vqmmc { 139 + compatible = "regulator-gpio"; 140 + pinctrl-names = "default"; 141 + pinctrl-0 = <&pinctrl_vsel_sd>; 142 + /* PMIC_VSEL_SD */ 143 + gpios = <&main_gpio0 21 GPIO_ACTIVE_HIGH>; 144 + regulator-name = "LDO1-VSEL-SD (PMIC)"; 145 + regulator-min-microvolt = <1800000>; 146 + regulator-max-microvolt = <3300000>; 147 + states = <1800000 0x0>, 148 + <3300000 0x1>; 149 + vin-supply = <&reg_sd_3v3_1v8>; 150 + }; 151 + 152 + reserved-memory { 153 + #address-cells = <2>; 154 + #size-cells = <2>; 155 + ranges; 156 + 157 + secure_tfa_ddr: tfa@9e780000 { 158 + reg = <0x00 0x9e780000 0x00 0x80000>; 159 + alignment = <0x1000>; 160 + no-map; 161 + }; 162 + 163 + secure_ddr: optee@9e800000 { 164 + reg = <0x00 0x9e800000 0x00 0x01800000>; /* for OP-TEE */ 165 + alignment = <0x1000>; 166 + no-map; 167 + }; 168 + 169 + wkup_r5fss0_core0_dma_memory_region: r5f-dma-memory@9db00000 { 170 + compatible = "shared-dma-pool"; 171 + reg = <0x00 0x9db00000 0x00 0xc00000>; 172 + no-map; 173 + }; 174 + }; 175 + }; 176 + 177 + &main_pmx0 { 178 + /* Verdin PWM_1 */ 179 + pinctrl_epwm0_a: main-epwm0a-default-pins { 180 + pinctrl-single,pins = < 181 + AM62X_IOPAD(0x01b4, PIN_OUTPUT, 2) /* (A13) SPI0_CS0.EHRPWM0_A */ /* SODIMM 15 */ 182 + >; 183 + }; 184 + 185 + /* Verdin PWM_2 */ 186 + pinctrl_epwm0_b: main-epwm0b-default-pins { 187 + pinctrl-single,pins = < 188 + AM62X_IOPAD(0x01b8, PIN_OUTPUT, 2) /* (C13) SPI0_CS1.EHRPWM0_B */ /* SODIMM 16 */ 189 + >; 190 + }; 191 + 192 + /* Verdin PWM_3_DSI */ 193 + pinctrl_epwm1_a: main-epwm1a-default-pins { 194 + pinctrl-single,pins = < 195 + AM62X_IOPAD(0x01bc, PIN_OUTPUT, 2) /* (A14) SPI0_CLK.EHRPWM1_A */ /* SODIMM 19 */ 196 + >; 197 + }; 198 + 199 + /* Verdin QSPI_1_CLK as GPIO (conflict with Verdin QSPI_1 interface) */ 200 + pinctrl_qspi1_clk_gpio: main-gpio0-0-default-pins { 201 + pinctrl-single,pins = < 202 + AM62X_IOPAD(0x0000, PIN_INPUT, 7) /* (H24) OSPI0_CLK.GPIO0_0 */ /* SODIMM 52 */ 203 + >; 204 + }; 205 + 206 + /* Verdin QSPI_1_IO0 as GPIO (conflict with Verdin QSPI_1 interface) */ 207 + pinctrl_qspi1_io0_gpio: main-gpio0-3-default-pins { 208 + pinctrl-single,pins = < 209 + AM62X_IOPAD(0x000c, PIN_INPUT, 7) /* (E25) OSPI0_D0.GPIO0_3 */ /* SODIMM 56 */ 210 + >; 211 + }; 212 + 213 + /* Verdin QSPI_1_IO1 as GPIO (conflict with Verdin QSPI_1 interface) */ 214 + pinctrl_qspi1_io1_gpio: main-gpio0-4-default-pins { 215 + pinctrl-single,pins = < 216 + AM62X_IOPAD(0x0010, PIN_INPUT, 7) /* (G24) OSPI0_D1.GPIO0_4 */ /* SODIMM 58 */ 217 + >; 218 + }; 219 + 220 + /* Verdin QSPI_1_IO2 as GPIO (conflict with Verdin QSPI_1 interface) */ 221 + pinctrl_qspi1_io2_gpio: main-gpio0-5-default-pins { 222 + pinctrl-single,pins = < 223 + AM62X_IOPAD(0x0014, PIN_INPUT, 7) /* (F25) OSPI0_D2.GPIO0_5 */ /* SODIMM 60 */ 224 + >; 225 + }; 226 + 227 + /* Verdin QSPI_1_IO3 as GPIO (conflict with Verdin QSPI_1 interface) */ 228 + pinctrl_qspi1_io3_gpio: main-gpio0-6-default-pins { 229 + pinctrl-single,pins = < 230 + AM62X_IOPAD(0x0018, PIN_INPUT, 7) /* (F24) OSPI0_D3.GPIO0_6 */ /* SODIMM 62 */ 231 + >; 232 + }; 233 + 234 + /* Verdin QSPI_1_CS# as GPIO (conflict with Verdin QSPI_1 interface) */ 235 + pinctrl_qspi1_cs_gpio: main-gpio0-11-default-pins { 236 + pinctrl-single,pins = < 237 + AM62X_IOPAD(0x002c, PIN_INPUT, 7) /* (F23) OSPI0_CSn0.GPIO0_11 */ /* SODIMM 54 */ 238 + >; 239 + }; 240 + 241 + /* Verdin QSPI_1_CS2# as GPIO (conflict with Verdin QSPI_1 interface) */ 242 + pinctrl_qspi1_cs2_gpio: main-gpio0-12-default-pins { 243 + pinctrl-single,pins = < 244 + AM62X_IOPAD(0x0030, PIN_INPUT, 7) /* (G21) OSPI0_CSn1.GPIO0_12 */ /* SODIMM 64 */ 245 + >; 246 + }; 247 + 248 + /* WiFi_W_WKUP_HOST# */ 249 + pinctrl_wifi_w_wkup_host: main-gpio0-15-default-pins { 250 + pinctrl-single,pins = < 251 + AM62X_IOPAD(0x003c, PIN_INPUT, 7) /* (M25) GPMC0_AD0.GPIO0_15 */ /* SODIMM 174 */ 252 + >; 253 + }; 254 + 255 + /* WiFi_BT_WKUP_HOST# */ 256 + pinctrl_bt_wkup_host: main-gpio0-16-default-pins { 257 + pinctrl-single,pins = < 258 + AM62X_IOPAD(0x0040, PIN_INPUT, 7) /* (N23) GPMC0_AD1.GPIO0_16 */ /* SODIMM 172 */ 259 + >; 260 + }; 261 + 262 + /* PMIC_ETH_RESET# */ 263 + pinctrl_eth_reset: main-gpio0-17-default-pins { 264 + pinctrl-single,pins = < 265 + AM62X_IOPAD(0x0044, PIN_INPUT, 7) /* (N24) GPMC0_AD2.GPIO0_17 */ 266 + >; 267 + }; 268 + 269 + /* PMIC_BRIDGE_RESET# */ 270 + pinctrl_bridge_reset: main-gpio0-20-default-pins { 271 + pinctrl-single,pins = < 272 + AM62X_IOPAD(0x0050, PIN_INPUT, 7) /* (P22) GPMC0_AD5.GPIO0_20 */ 273 + >; 274 + }; 275 + 276 + /* PMIC_VSEL_SD */ 277 + pinctrl_vsel_sd: main-gpio0-21-default-pins { 278 + pinctrl-single,pins = < 279 + AM62X_IOPAD(0x0054, PIN_INPUT, 7) /* (P21) GPMC0_AD6.GPIO0_21 */ 280 + >; 281 + }; 282 + 283 + /* PMIC_EN_WIFI */ 284 + pinctrl_wifi_en: main-gpio0-22-default-pins { 285 + pinctrl-single,pins = < 286 + AM62X_IOPAD(0x0058, PIN_INPUT, 7) /* (R23) GPMC0_AD7.GPIO0_22 */ 287 + >; 288 + }; 289 + 290 + /* PMIC_ETH_INT# */ 291 + pinctrl_eth_int: main-gpio0-25-default-pins { 292 + pinctrl-single,pins = < 293 + AM62X_IOPAD(0x0064, PIN_INPUT_PULLUP, 7) /* (T25) GPMC0_AD10.GPIO0_25 */ 294 + >; 295 + }; 296 + 297 + /* WiFi_WKUP_BT# */ 298 + pinctrl_wifi_wkup_bt: main-gpio0-26-default-pins { 299 + pinctrl-single,pins = < 300 + AM62X_IOPAD(0x0068, PIN_INPUT, 7) /* (R21) GPMC0_AD11.GPIO0_26 */ 301 + >; 302 + }; 303 + 304 + /* WiFi_WKUP_WLAN# */ 305 + pinctrl_wifi_wkup_wlan: main-gpio0-27-default-pins { 306 + pinctrl-single,pins = < 307 + AM62X_IOPAD(0x006c, PIN_INPUT, 7) /* (T22) GPMC0_AD12.GPIO0_27 */ 308 + >; 309 + }; 310 + 311 + /* Verdin SD_1_PWR_EN */ 312 + pinctrl_sd1_pwr_en: main-gpio0-29-default-pins { 313 + pinctrl-single,pins = < 314 + AM62X_IOPAD(0x0074, PIN_INPUT, 7) /* (U25) GPMC0_AD14.GPIO0_29 */ /* SODIMM 76 */ 315 + >; 316 + }; 317 + 318 + /* Verdin DSI_1_BKL_EN */ 319 + pinctrl_dsi1_bkl_en: main-gpio0-30-default-pins { 320 + pinctrl-single,pins = < 321 + AM62X_IOPAD(0x0078, PIN_INPUT, 7) /* (U24) GPMC0_AD15.GPIO0_30 */ /* SODIMM 21 */ 322 + >; 323 + }; 324 + 325 + /* Verdin CTRL_SLEEP_MOCI# */ 326 + pinctrl_ctrl_sleep_moci: main-gpio0-31-default-pins { 327 + pinctrl-single,pins = < 328 + AM62X_IOPAD(0x007c, PIN_INPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */ /* SODIMM 256 */ 329 + >; 330 + }; 331 + 332 + /* Verdin CTRL_WAKE1_MICO# */ 333 + pinctrl_ctrl_wake1_mico: main-gpio0-32-default-pins { 334 + pinctrl-single,pins = < 335 + AM62X_IOPAD(0x0084, PIN_INPUT_PULLUP, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ /* SODIMM 252 */ 336 + >; 337 + }; 338 + 339 + /* Verdin I2S_2_D_OUT as GPIO (conflict with Verdin I2S_2 interface) */ 340 + pinctrl_i2s_2_d_out_gpio: main-gpio0-34-default-pins { 341 + pinctrl-single,pins = < 342 + AM62X_IOPAD(0x008c, PIN_INPUT, 7) /* (L25) GPMC0_WEn.GPIO0_34 */ /* SODIMM 46 */ 343 + >; 344 + }; 345 + 346 + /* Verdin I2S_2_BCLK as GPIO (conflict with Verdin I2S_2 interface) */ 347 + pinctrl_i2s_2_bclk_gpio: main-gpio0-35-default-pins { 348 + pinctrl-single,pins = < 349 + AM62X_IOPAD(0x0090, PIN_INPUT, 7) /* (M24) GPMC0_BE0n_CLE.GPIO0_35 */ /* SODIMM 42 */ 350 + >; 351 + }; 352 + 353 + /* Verdin GPIO_6 */ 354 + pinctrl_gpio_6: main-gpio0-36-default-pins { 355 + pinctrl-single,pins = < 356 + AM62X_IOPAD(0x0094, PIN_INPUT, 7) /* (N20) GPMC0_BE1n.GPIO0_36 */ /* SODIMM 218 */ 357 + >; 358 + }; 359 + 360 + /* Verdin ETH_2_RGMII_INT# */ 361 + pinctrl_eth2_rgmii_int: main-gpio0-38-default-pins { 362 + pinctrl-single,pins = < 363 + AM62X_IOPAD(0x009c, PIN_INPUT, 7) /* (V25) GPMC0_WAIT1.GPIO0_38 */ /* SODIMM 189 */ 364 + >; 365 + }; 366 + 367 + /* Verdin GPIO_5 */ 368 + pinctrl_gpio_5: main-gpio0-40-default-pins { 369 + pinctrl-single,pins = < 370 + AM62X_IOPAD(0x00a4, PIN_INPUT, 7) /* (M22) GPMC0_DIR.GPIO0_40 */ /* SODIMM 216 */ 371 + >; 372 + }; 373 + 374 + /* Verdin GPIO_7 */ 375 + pinctrl_gpio_7: main-gpio0-41-default-pins { 376 + pinctrl-single,pins = < 377 + AM62X_IOPAD(0x00a8, PIN_INPUT, 7) /* (M21) GPMC0_CSn0.GPIO0_41 */ /* SODIMM 220 */ 378 + >; 379 + }; 380 + 381 + /* Verdin GPIO_8 */ 382 + pinctrl_gpio_8: main-gpio0-42-default-pins { 383 + pinctrl-single,pins = < 384 + AM62X_IOPAD(0x00ac, PIN_INPUT, 7) /* (L21) GPMC0_CSn1.GPIO0_42 */ /* SODIMM 222 */ 385 + >; 386 + }; 387 + 388 + /* Verdin USB_1_OC# */ 389 + pinctrl_usb1_oc: main-gpio0-71-default-pins { 390 + pinctrl-single,pins = < 391 + AM62X_IOPAD(0x0124, PIN_INPUT, 7) /* (A23) MMC2_SDCD.GPIO0_71 */ /* SODIMM 157 */ 392 + >; 393 + }; 394 + 395 + /* Verdin USB_2_OC# */ 396 + pinctrl_usb2_oc: main-gpio0-72-default-pins { 397 + pinctrl-single,pins = < 398 + AM62X_IOPAD(0x0128, PIN_INPUT, 7) /* (B23) MMC2_SDWP.GPIO0_72 */ /* SODIMM 187 */ 399 + >; 400 + }; 401 + 402 + /* Verdin PWM_3_DSI as GPIO */ 403 + pinctrl_pwm3_dsi_gpio: main-gpio1-17-default-pins { 404 + pinctrl-single,pins = < 405 + AM62X_IOPAD(0x01bc, PIN_INPUT, 7) /* (A14) SPI0_CLK.GPIO1_17 */ /* SODIMM 19 */ 406 + >; 407 + }; 408 + 409 + /* Verdin QSPI_1_DQS as GPIO */ 410 + pinctrl_qspi1_dqs_gpio: main-gpio1-18-default-pins { 411 + pinctrl-single,pins = < 412 + AM62X_IOPAD(0x01c0, PIN_INPUT, 7) /* (B13) SPI0_D0.GPIO1_18 */ /* SODIMM 66 */ 413 + >; 414 + }; 415 + 416 + /* Verdin USB_1_ID */ 417 + pinctrl_usb0_id: main-gpio1-19-default-pins { 418 + pinctrl-single,pins = < 419 + AM62X_IOPAD(0x01c4, PIN_INPUT, 7) /* (B14) SPI0_D1.GPIO1_19 */ /* SODIMM 161 */ 420 + >; 421 + }; 422 + 423 + /* Verdin DSI_1_INT# (pulled-up as active-low) */ 424 + pinctrl_dsi1_int: main-gpio1-49-default-pins { 425 + pinctrl-single,pins = < 426 + AM62X_IOPAD(0x0244, PIN_INPUT_PULLUP, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ /* SODIMM 17 */ 427 + >; 428 + }; 429 + 430 + /* On-module I2C - PMIC_I2C */ 431 + pinctrl_i2c0: main-i2c0-default-pins { 432 + pinctrl-single,pins = < 433 + AM62X_IOPAD(0x01e0, PIN_INPUT, 0) /* (B16) I2C0_SCL */ /* PMIC_I2C_SCL */ 434 + AM62X_IOPAD(0x01e4, PIN_INPUT, 0) /* (A16) I2C0_SDA */ /* PMIC_I2C_SDA */ 435 + >; 436 + }; 437 + 438 + /* Verdin I2C_1 */ 439 + pinctrl_i2c1: main-i2c1-default-pins { 440 + pinctrl-single,pins = < 441 + AM62X_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ /* SODIMM 14 */ 442 + AM62X_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ /* SODIMM 12 */ 443 + >; 444 + }; 445 + 446 + /* Verdin I2C_2_DSI */ 447 + pinctrl_i2c2: main-i2c2-default-pins { 448 + pinctrl-single,pins = < 449 + AM62X_IOPAD(0x00b0, PIN_INPUT, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ /* SODIMM 55 */ 450 + AM62X_IOPAD(0x00b4, PIN_INPUT, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ /* SODIMM 53 */ 451 + >; 452 + }; 453 + 454 + /* Verdin I2C_4_CSI */ 455 + pinctrl_i2c3: main-i2c3-default-pins { 456 + pinctrl-single,pins = < 457 + AM62X_IOPAD(0x01d0, PIN_INPUT, 2) /* (A15) UART0_CTSn.I2C3_SCL */ /* SODIMM 95 */ 458 + AM62X_IOPAD(0x01d4, PIN_INPUT, 2) /* (B15) UART0_RTSn.I2C3_SDA */ /* SODIMM 93 */ 459 + >; 460 + }; 461 + 462 + /* I2S_1_MCLK */ 463 + pinctrl_i2s1_mclk: main-system-audio-ext-reflock1-default-pins { 464 + pinctrl-single,pins = < 465 + AM62X_IOPAD(0x00a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ /* SODIMM 38 */ 466 + >; 467 + }; 468 + 469 + /* Verdin I2S_1 */ 470 + pinctrl_mcasp0: main-mcasp0-default-pins { 471 + pinctrl-single,pins = < 472 + AM62X_IOPAD(0x01a4, PIN_INPUT, 0) /* (B20) MCASP0_ACLKX */ /* SODIMM 30 */ 473 + AM62X_IOPAD(0x01a8, PIN_INPUT, 0) /* (D20) MCASP0_AFSX */ /* SODIMM 32 */ 474 + AM62X_IOPAD(0x01a0, PIN_OUTPUT, 0) /* (E18) MCASP0_AXR0 */ /* SODIMM 34 */ 475 + AM62X_IOPAD(0x019c, PIN_INPUT, 0) /* (B18) MCASP0_AXR1 */ /* SODIMM 36 */ 476 + >; 477 + }; 478 + 479 + /* Verdin I2S_2 */ 480 + pinctrl_mcasp1: main-mcasp1-default-pins { 481 + pinctrl-single,pins = < 482 + AM62X_IOPAD(0x0090, PIN_INPUT, 2) /* (M24) GPMC0_BE0n_CLE.MCASP1_ACLKX */ /* SODIMM 42 */ 483 + AM62X_IOPAD(0x0098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ /* SODIMM 44 */ 484 + AM62X_IOPAD(0x008c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEn.MCASP1_AXR0 */ /* SODIMM 46 */ 485 + AM62X_IOPAD(0x0088, PIN_INPUT, 2) /* (L24) GPMC0_OEn_REn.MCASP1_AXR1 */ /* SODIMM 48 */ 486 + >; 487 + }; 488 + 489 + /* Verdin CAN_1 */ 490 + pinctrl_mcan0: main-mcan0-default-pins { 491 + pinctrl-single,pins = < 492 + AM62X_IOPAD(0x01dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ /* SODIMM 22 */ 493 + AM62X_IOPAD(0x01d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ /* SODIMM 20 */ 494 + >; 495 + }; 496 + 497 + /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 498 + pinctrl_mdio: main-mdio1-default-pins { 499 + pinctrl-single,pins = < 500 + AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ /* ETH_1_MDC, SODIMM 193 */ 501 + AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ /* ETH_1_MDIO, SODIMM 191 */ 502 + >; 503 + }; 504 + 505 + /* On-module eMMC */ 506 + pinctrl_sdhci0: main-mmc0-default-pins { 507 + pinctrl-single,pins = < 508 + AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 509 + AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ 510 + AM62X_IOPAD(0x214, PIN_INPUT, 0) /* (AA2) MMC0_DAT0 */ 511 + AM62X_IOPAD(0x210, PIN_INPUT, 0) /* (AA1) MMC0_DAT1 */ 512 + AM62X_IOPAD(0x20c, PIN_INPUT, 0) /* (AA3) MMC0_DAT2 */ 513 + AM62X_IOPAD(0x208, PIN_INPUT, 0) /* (Y4) MMC0_DAT3 */ 514 + AM62X_IOPAD(0x204, PIN_INPUT, 0) /* (AB2) MMC0_DAT4 */ 515 + AM62X_IOPAD(0x200, PIN_INPUT, 0) /* (AC1) MMC0_DAT5 */ 516 + AM62X_IOPAD(0x1fc, PIN_INPUT, 0) /* (AD2) MMC0_DAT6 */ 517 + AM62X_IOPAD(0x1f8, PIN_INPUT, 0) /* (AC2) MMC0_DAT7 */ 518 + >; 519 + }; 520 + 521 + /* Verdin SD_1 */ 522 + pinctrl_sdhci1: main-mmc1-default-pins { 523 + pinctrl-single,pins = < 524 + AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ /* SODIMM 74 */ 525 + AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ /* SODIMM 78 */ 526 + AM62X_IOPAD(0x230, PIN_INPUT, 0) /* (A22) MMC1_DAT0 */ /* SODIMM 80 */ 527 + AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ /* SODIMM 82 */ 528 + AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ /* SODIMM 70 */ 529 + AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ /* SODIMM 72 */ 530 + AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ /* SODIMM 84 */ 531 + >; 532 + }; 533 + 534 + /* On-module Wi-Fi on WB SKUs, module-specific SDIO otherwise */ 535 + pinctrl_sdhci2: main-mmc2-default-pins { 536 + pinctrl-single,pins = < 537 + AM62X_IOPAD(0x120, PIN_INPUT, 0) /* (C24) MMC2_CMD */ /* WiFi_SDIO_CMD */ 538 + AM62X_IOPAD(0x118, PIN_INPUT, 0) /* (D25) MMC2_CLK */ /* WiFi_SDIO_CLK */ 539 + AM62X_IOPAD(0x114, PIN_INPUT, 0) /* (B24) MMC2_DAT0 */ /* WiFi_SDIO_DATA0 */ 540 + AM62X_IOPAD(0x110, PIN_INPUT, 0) /* (C25) MMC2_DAT1 */ /* WiFi_SDIO_DATA1 */ 541 + AM62X_IOPAD(0x10c, PIN_INPUT, 0) /* (E23) MMC2_DAT2 */ /* WiFi_SDIO_DATA2 */ 542 + AM62X_IOPAD(0x108, PIN_INPUT, 0) /* (D24) MMC2_DAT3 */ /* WiFi_SDIO_DATA3 */ 543 + AM62X_IOPAD(0x11c, PIN_INPUT, 0) /* (#N/A) MMC2_CLKB */ 544 + >; 545 + }; 546 + 547 + /* Verdin QSPI_1 */ 548 + pinctrl_ospi0: main-ospi0-default-pins { 549 + pinctrl-single,pins = < 550 + AM62X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ /* SODIMM 52 */ 551 + AM62X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ /* SODIMM 54 */ 552 + AM62X_IOPAD(0x0030, PIN_OUTPUT, 0) /* (G21) OSPI0_CSn1 */ /* SODIMM 64 */ 553 + AM62X_IOPAD(0x000c, PIN_INPUT, 0) /* (E25) OSPI0_D0 */ /* SODIMM 56 */ 554 + AM62X_IOPAD(0x0010, PIN_INPUT, 0) /* (G24) OSPI0_D1 */ /* SODIMM 58 */ 555 + AM62X_IOPAD(0x0014, PIN_INPUT, 0) /* (F25) OSPI0_D2 */ /* SODIMM 60 */ 556 + AM62X_IOPAD(0x0018, PIN_INPUT, 0) /* (F24) OSPI0_D3 */ /* SODIMM 62 */ 557 + >; 558 + }; 559 + 560 + /* Verdin ETH_1 RGMII (On-module PHY) */ 561 + pinctrl_rgmii1: main-rgmii1-default-pins { 562 + pinctrl-single,pins = < 563 + AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ 564 + AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ 565 + AM62X_IOPAD(0x154, PIN_INPUT, 0) /* (AB16) RGMII1_RD2 */ 566 + AM62X_IOPAD(0x158, PIN_INPUT, 0) /* (AA15) RGMII1_RD3 */ 567 + AM62X_IOPAD(0x148, PIN_INPUT, 0) /* (AD17) RGMII1_RXC */ 568 + AM62X_IOPAD(0x144, PIN_INPUT, 0) /* (AE17) RGMII1_RX_CTL */ 569 + AM62X_IOPAD(0x134, PIN_OUTPUT, 0) /* (AE20) RGMII1_TD0 */ 570 + AM62X_IOPAD(0x138, PIN_OUTPUT, 0) /* (AD20) RGMII1_TD1 */ 571 + AM62X_IOPAD(0x13c, PIN_OUTPUT, 0) /* (AE18) RGMII1_TD2 */ 572 + AM62X_IOPAD(0x140, PIN_OUTPUT, 0) /* (AD18) RGMII1_TD3 */ 573 + AM62X_IOPAD(0x130, PIN_OUTPUT, 0) /* (AE19) RGMII1_TXC */ 574 + AM62X_IOPAD(0x12c, PIN_OUTPUT, 0) /* (AD19) RGMII1_TX_CTL */ 575 + >; 576 + }; 577 + 578 + /* Verdin ETH_2 RGMII */ 579 + pinctrl_rgmii2: main-rgmii2-default-pins { 580 + pinctrl-single,pins = < 581 + AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ /* SODIMM 201 */ 582 + AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ /* SODIMM 203 */ 583 + AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ /* SODIMM 205 */ 584 + AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ /* SODIMM 207 */ 585 + AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ /* SODIMM 197 */ 586 + AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ /* SODIMM 199 */ 587 + AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ /* SODIMM 221 */ 588 + AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ /* SODIMM 219 */ 589 + AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ /* SODIMM 217 */ 590 + AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ /* SODIMM 215 */ 591 + AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ /* SODIMM 213 */ 592 + AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ /* SODIMM 211 */ 593 + >; 594 + }; 595 + 596 + /* Verdin SPI_1 */ 597 + pinctrl_spi1: main-spi1-default-pins { 598 + pinctrl-single,pins = < 599 + AM62X_IOPAD(0x0020, PIN_INPUT, 1) /* (J25) OSPI0_D5.SPI1_CLK */ /* SODIMM 196 */ 600 + AM62X_IOPAD(0x001c, PIN_INPUT, 1) /* (J23) OSPI0_D4.SPI1_CS0 */ /* SODIMM 202 */ 601 + AM62X_IOPAD(0x0024, PIN_INPUT, 1) /* (H25) OSPI0_D6.SPI1_D0 */ /* SODIMM 200 */ 602 + AM62X_IOPAD(0x0028, PIN_INPUT, 1) /* (J22) OSPI0_D7.SPI1_D1 */ /* SODIMM 198 */ 603 + >; 604 + }; 605 + 606 + /* ETH_25MHz_CLK */ 607 + pinctrl_eth_clock: main-system-clkout0-default-pins { 608 + pinctrl-single,pins = < 609 + AM62X_IOPAD(0x01f0, PIN_OUTPUT_PULLUP, 5) /* (A18) EXT_REFCLK1.CLKOUT0 */ 610 + >; 611 + }; 612 + 613 + /* PMIC_EXTINT# */ 614 + pinctrl_pmic_extint: main-system-extint-default-pins { 615 + pinctrl-single,pins = < 616 + AM62X_IOPAD(0x01f4, PIN_INPUT, 0) /* (D16) EXTINTn */ 617 + >; 618 + }; 619 + 620 + /* Verdin UART_3, used as the Linux console */ 621 + pinctrl_uart0: main-uart0-default-pins { 622 + pinctrl-single,pins = < 623 + AM62X_IOPAD(0x1c8, PIN_INPUT_PULLUP, 0) /* (D14) UART0_RXD */ /* SODIMM 147 */ 624 + AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ /* SODIMM 149 */ 625 + >; 626 + }; 627 + 628 + /* Verdin UART_1 */ 629 + pinctrl_uart1: main-uart1-default-pins { 630 + pinctrl-single,pins = < 631 + AM62X_IOPAD(0x0194, PIN_INPUT_PULLUP, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ /* SODIMM 135 */ 632 + AM62X_IOPAD(0x0198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ /* SODIMM 133 */ 633 + AM62X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ /* SODIMM 129 */ 634 + AM62X_IOPAD(0x01b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ /* SODIMM 131 */ 635 + >; 636 + }; 637 + 638 + /* Bluetooth on WB SKUs, module-specific UART otherwise */ 639 + pinctrl_uart5: main-uart5-default-pins { 640 + pinctrl-single,pins = < 641 + AM62X_IOPAD(0x0008, PIN_INPUT_PULLUP, 5) /* (J24) OSPI0_DQS.UART5_CTSn */ /* WiFi_UART_CTS */ 642 + AM62X_IOPAD(0x0004, PIN_OUTPUT, 5) /* (G25) OSPI0_LBCLKO.UART5_RTSn */ /* WiFi_UART_RTS */ 643 + AM62X_IOPAD(0x0034, PIN_INPUT_PULLUP, 5) /* (H21) OSPI0_CSn2.UART5_RXD */ /* WiFi_UART_RXD */ 644 + AM62X_IOPAD(0x0038, PIN_OUTPUT, 5) /* (E24) OSPI0_CSn3.UART5_TXD */ /* WiFi_UART_TXD */ 645 + >; 646 + }; 647 + 648 + /* Verdin USB_1 */ 649 + pinctrl_usb0: main-usb0-default-pins { 650 + pinctrl-single,pins = < 651 + AM62X_IOPAD(0x0254, PIN_OUTPUT, 0) /* (C20) USB0_DRVVBUS */ /* SODIMM 155 */ 652 + >; 653 + }; 654 + 655 + /* Verdin USB_2 */ 656 + pinctrl_usb1: main-usb1-default-pins { 657 + pinctrl-single,pins = < 658 + AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ /* SODIMM 185 */ 659 + >; 660 + }; 661 + 662 + /* DSS VOUT0 RGB */ 663 + pinctrl_parallel_rgb: main-vout-default-pins { 664 + pinctrl-single,pins = < 665 + AM62X_IOPAD(0x0100, PIN_OUTPUT, 0) /* (AC25) VOUT0_VSYNC */ 666 + AM62X_IOPAD(0x00f8, PIN_OUTPUT, 0) /* (AB24) VOUT0_HSYNC */ 667 + AM62X_IOPAD(0x0104, PIN_OUTPUT, 0) /* (AC24) VOUT0_PCLK */ 668 + AM62X_IOPAD(0x00fc, PIN_OUTPUT, 0) /* (Y20) VOUT0_DE */ 669 + AM62X_IOPAD(0x00b8, PIN_OUTPUT, 0) /* (U22) VOUT0_DATA0 */ 670 + AM62X_IOPAD(0x00bc, PIN_OUTPUT, 0) /* (V24) VOUT0_DATA1 */ 671 + AM62X_IOPAD(0x00c0, PIN_OUTPUT, 0) /* (W25) VOUT0_DATA2 */ 672 + AM62X_IOPAD(0x00c4, PIN_OUTPUT, 0) /* (W24) VOUT0_DATA3 */ 673 + AM62X_IOPAD(0x00c8, PIN_OUTPUT, 0) /* (Y25) VOUT0_DATA4 */ 674 + AM62X_IOPAD(0x00cc, PIN_OUTPUT, 0) /* (Y24) VOUT0_DATA5 */ 675 + AM62X_IOPAD(0x00d0, PIN_OUTPUT, 0) /* (Y23) VOUT0_DATA6 */ 676 + AM62X_IOPAD(0x00d4, PIN_OUTPUT, 0) /* (AA25) VOUT0_DATA7 */ 677 + AM62X_IOPAD(0x00d8, PIN_OUTPUT, 0) /* (V21) VOUT0_DATA8 */ 678 + AM62X_IOPAD(0x00dc, PIN_OUTPUT, 0) /* (W21) VOUT0_DATA9 */ 679 + AM62X_IOPAD(0x00e0, PIN_OUTPUT, 0) /* (V20) VOUT0_DATA10 */ 680 + AM62X_IOPAD(0x00e4, PIN_OUTPUT, 0) /* (AA23) VOUT0_DATA11 */ 681 + AM62X_IOPAD(0x00e8, PIN_OUTPUT, 0) /* (AB25) VOUT0_DATA12 */ 682 + AM62X_IOPAD(0x00ec, PIN_OUTPUT, 0) /* (AA24) VOUT0_DATA13 */ 683 + AM62X_IOPAD(0x00f0, PIN_OUTPUT, 0) /* (Y22) VOUT0_DATA14 */ 684 + AM62X_IOPAD(0x00f4, PIN_OUTPUT, 0) /* (AA21) VOUT0_DATA15 */ 685 + AM62X_IOPAD(0x005c, PIN_OUTPUT, 1) /* (R24) GPMC0_AD8.VOUT0_DATA16 */ 686 + AM62X_IOPAD(0x0060, PIN_OUTPUT, 1) /* (R25) GPMC0_AD9.VOUT0_DATA17 */ 687 + >; 688 + }; 689 + }; 690 + 691 + &mcu_pmx0 { 692 + /* Verdin PCIE_1_RESET# */ 693 + pinctrl_pcie_1_reset: mcu-gpio0-0-default-pins { 694 + pinctrl-single,pins = < 695 + AM62X_MCU_IOPAD(0x0000, PIN_INPUT, 7) /* (E8) MCU_SPI0_CS0.MCU_GPIO0_0 */ /* SODIMM 244 */ 696 + >; 697 + }; 698 + 699 + /* Verdin GPIO_1 */ 700 + pinctrl_gpio_1: mcu-gpio0-1-default-pins { 701 + pinctrl-single,pins = < 702 + AM62X_MCU_IOPAD(0x0004, PIN_INPUT, 7) /* (B8) MCU_SPI0_CS1.MCU_GPIO0_1 */ /* SODIMM 206 */ 703 + >; 704 + }; 705 + 706 + /* Verdin GPIO_2 */ 707 + pinctrl_gpio_2: mcu-gpio0-2-default-pins { 708 + pinctrl-single,pins = < 709 + AM62X_MCU_IOPAD(0x0008, PIN_INPUT, 7) /* (A7) MCU_SPI0_CLK.MCU_GPIO0_2 */ /* SODIMM 208 */ 710 + >; 711 + }; 712 + 713 + /* Verdin GPIO_3 */ 714 + pinctrl_gpio_3: mcu-gpio0-3-default-pins { 715 + pinctrl-single,pins = < 716 + AM62X_MCU_IOPAD(0x000c, PIN_INPUT, 7) /* (D9) MCU_SPI0_D0.MCU_GPIO0_3 */ /* SODIMM 210 */ 717 + >; 718 + }; 719 + 720 + /* Verdin GPIO_4 */ 721 + pinctrl_gpio_4: mcu-gpio0-4-default-pins { 722 + pinctrl-single,pins = < 723 + AM62X_MCU_IOPAD(0x0010, PIN_INPUT, 7) /* (C9) MCU_SPI0_D1.MCU_GPIO0_4 */ /* SODIMM 212 */ 724 + >; 725 + }; 726 + 727 + /* Verdin I2C_3_HDMI */ 728 + pinctrl_mcu_i2c0: mcu-i2c0-default-pins { 729 + pinctrl-single,pins = < 730 + AM62X_MCU_IOPAD(0x0044, PIN_INPUT, 0) /* (A8) MCU_I2C0_SCL */ /* SODIMM 59 */ 731 + AM62X_MCU_IOPAD(0x0048, PIN_INPUT, 0) /* (D10) MCU_I2C0_SDA */ /* SODIMM 57 */ 732 + >; 733 + }; 734 + 735 + /* Verdin UART_4 - Reserved to Cortex-M4 */ 736 + pinctrl_mcu_uart0: mcu-uart0-default-pins { 737 + pinctrl-single,pins = < 738 + AM62X_MCU_IOPAD(0x0014, PIN_INPUT_PULLUP, 0) /* (B5) MCU_UART0_RXD */ /* SODIMM 151 */ 739 + AM62X_MCU_IOPAD(0x0018, PIN_OUTPUT, 0) /* (A5) MCU_UART0_TXD */ /* SODIMM 153 */ 740 + >; 741 + }; 742 + 743 + /* Verdin CSI_1_MCLK */ 744 + pinctrl_csi1_mclk: wkup-clkout0-default-pins { 745 + pinctrl-single,pins = < 746 + AM62X_MCU_IOPAD(0x0084, PIN_OUTPUT, 0) /* (A12) WKUP_CLKOUT0 */ /* SODIMM 91 */ 747 + >; 748 + }; 749 + 750 + /* Verdin UART_2 */ 751 + pinctrl_wkup_uart0: wkup-uart0-default-pins { 752 + pinctrl-single,pins = < 753 + AM62X_MCU_IOPAD(0x002c, PIN_INPUT_PULLUP, 0) /* (C6) WKUP_UART0_CTSn */ /* SODIMM 143 */ 754 + AM62X_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (A4) WKUP_UART0_RTSn */ /* SODIMM 141 */ 755 + AM62X_MCU_IOPAD(0x0024, PIN_INPUT_PULLUP, 0) /* (B4) WKUP_UART0_RXD */ /* SODIMM 137 */ 756 + AM62X_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (C5) WKUP_UART0_TXD */ /* SODIMM 139 */ 757 + >; 758 + }; 759 + }; 760 + 761 + &cpsw3g { 762 + pinctrl-names = "default"; 763 + pinctrl-0 = <&pinctrl_rgmii1>; 764 + status = "disabled"; 765 + }; 766 + 767 + /* Verdin ETH_1 (On-module PHY) */ 768 + &cpsw_port1 { 769 + phy-handle = <&cpsw3g_phy0>; 770 + phy-mode = "rgmii-rxid"; 771 + status = "disabled"; 772 + }; 773 + 774 + /* Verdin ETH_2_RGMII */ 775 + &cpsw_port2 { 776 + status = "disabled"; 777 + }; 778 + 779 + /* MDIO, shared by Verdin ETH_1 (On-module PHY) and Verdin ETH_2_RGMII */ 780 + &cpsw3g_mdio { 781 + assigned-clocks = <&k3_clks 157 20>; 782 + assigned-clock-parents = <&k3_clks 157 22>; 783 + assigned-clock-rates = <25000000>; 784 + pinctrl-names = "default"; 785 + pinctrl-0 = <&pinctrl_eth_clock>, <&pinctrl_mdio>; 786 + status = "disabled"; 787 + 788 + cpsw3g_phy0: ethernet-phy@0 { 789 + compatible = "ethernet-phy-id2000.a231"; 790 + reg = <0>; 791 + interrupt-parent = <&main_gpio0>; 792 + interrupts = <25 IRQ_TYPE_EDGE_FALLING>; 793 + pinctrl-names = "default"; 794 + pinctrl-0 = <&pinctrl_eth_int>, <&pinctrl_eth_reset>; 795 + reset-gpios = <&main_gpio0 17 GPIO_ACTIVE_LOW>; 796 + reset-assert-us = <10>; 797 + reset-deassert-us = <1000>; 798 + ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 799 + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 800 + }; 801 + }; 802 + 803 + /* Verdin PWM_1, PWM_2 */ 804 + &epwm0 { 805 + pinctrl-names = "default"; 806 + pinctrl-0 = <&pinctrl_epwm0_a>, <&pinctrl_epwm0_b>; 807 + status = "disabled"; 808 + }; 809 + 810 + /* Verdin PWM_3_DSI */ 811 + &epwm1 { 812 + pinctrl-names = "default"; 813 + pinctrl-0 = <&pinctrl_epwm1_a>; 814 + status = "disabled"; 815 + }; 816 + 817 + &main_gpio0 { 818 + gpio-line-names = 819 + "SODIMM_52", /* 0 */ 820 + "", 821 + "", 822 + "SODIMM_56", 823 + "SODIMM_58", 824 + "SODIMM_60", 825 + "SODIMM_62", 826 + "", 827 + "", 828 + "", 829 + "", /* 10 */ 830 + "SODIMM_54", 831 + "SODIMM_64", 832 + "", 833 + "", 834 + "SODIMM_174", 835 + "SODIMM_172", 836 + "", 837 + "", 838 + "", 839 + "", /* 20 */ 840 + "", 841 + "", 842 + "", 843 + "", 844 + "", 845 + "", 846 + "", 847 + "", 848 + "SODIMM_76", 849 + "SODIMM_21", /* 30 */ 850 + "SODIMM_256", 851 + "SODIMM_252", 852 + "", 853 + "SODIMM_46", 854 + "SODIMM_42", 855 + "SODIMM_218", 856 + "", 857 + "SODIMM_189", 858 + "", 859 + "SODIMM_216", /* 40 */ 860 + "SODIMM_220", 861 + "SODIMM_222", 862 + "", 863 + "", 864 + "", 865 + "", 866 + "", 867 + "", 868 + "", 869 + "", /* 50 */ 870 + "", 871 + "", 872 + "", 873 + "", 874 + "", 875 + "", 876 + "", 877 + "", 878 + "", 879 + "", /* 60 */ 880 + "", 881 + "", 882 + "", 883 + "", 884 + "", 885 + "", 886 + "", 887 + "", 888 + "", 889 + "", /* 70 */ 890 + "SODIMM_157", 891 + "SODIMM_187", 892 + "", 893 + "", 894 + "", 895 + "", 896 + "", 897 + "", 898 + "", 899 + "", /* 80 */ 900 + "", 901 + "", 902 + "", 903 + "", 904 + "", 905 + ""; 906 + 907 + verdin_ctrl_sleep_moci: ctrl-sleep-moci-hog { 908 + gpio-hog; 909 + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 910 + gpios = <31 GPIO_ACTIVE_HIGH>; 911 + line-name = "CTRL_SLEEP_MOCI#"; 912 + output-high; 913 + }; 914 + }; 915 + 916 + &main_gpio1 { 917 + gpio-line-names = 918 + "", /* 0 */ 919 + "", 920 + "", 921 + "", 922 + "", 923 + "", 924 + "", 925 + "", 926 + "", 927 + "", 928 + "", /* 10 */ 929 + "", 930 + "", 931 + "", 932 + "", 933 + "SODIMM_15", 934 + "SODIMM_16", 935 + "SODIMM_19", 936 + "SODIMM_66", 937 + "SODIMM_161", 938 + "", /* 20 */ 939 + "", 940 + "", 941 + "", 942 + "", 943 + "", 944 + "", 945 + "", 946 + "", 947 + "", 948 + "", /* 30 */ 949 + "", 950 + "", 951 + "", 952 + "", 953 + "", 954 + "", 955 + "", 956 + "", 957 + "", 958 + "", /* 40 */ 959 + "", 960 + "", 961 + "", 962 + "", 963 + "", 964 + "", 965 + "", 966 + "", 967 + "SODIMM_17", 968 + "", /* 50 */ 969 + "", 970 + "", 971 + "", 972 + "", 973 + "", 974 + "", 975 + "", 976 + "", 977 + "", 978 + "", /* 60 */ 979 + "", 980 + "", 981 + "", 982 + "", 983 + "", 984 + "", 985 + "", 986 + "", 987 + "", 988 + "", /* 70 */ 989 + "", 990 + "", 991 + "", 992 + "", 993 + "", 994 + "", 995 + "", 996 + "", 997 + "", 998 + "", /* 80 */ 999 + "", 1000 + "", 1001 + "", 1002 + "", 1003 + "", 1004 + "", 1005 + ""; 1006 + }; 1007 + 1008 + /* On-module I2C - PMIC_I2C */ 1009 + &main_i2c0 { 1010 + pinctrl-names = "default"; 1011 + pinctrl-0 = <&pinctrl_i2c0>; 1012 + clock-frequency = <400000>; 1013 + status = "okay"; 1014 + 1015 + dsi_bridge: dsi@e { 1016 + compatible = "toshiba,tc358778"; 1017 + reg = <0xe>; 1018 + assigned-clocks = <&k3_clks 157 20>; 1019 + assigned-clock-parents = <&k3_clks 157 22>; 1020 + assigned-clock-rates = <25000000>; 1021 + pinctrl-names = "default"; 1022 + pinctrl-0 = <&pinctrl_bridge_reset>; 1023 + clocks = <&k3_clks 157 20>; 1024 + clock-names = "refclk"; 1025 + reset-gpios = <&main_gpio0 20 GPIO_ACTIVE_LOW>; 1026 + vddc-supply = <&reg_1v2_dsi>; 1027 + vddmipi-supply = <&reg_1v2_dsi>; 1028 + vddio-supply = <&reg_1v8_dsi>; 1029 + 1030 + dsi_bridge_ports: ports { 1031 + #address-cells = <1>; 1032 + #size-cells = <0>; 1033 + 1034 + port@0 { 1035 + reg = <0>; 1036 + 1037 + rgb_in: endpoint { 1038 + data-lines = <18>; 1039 + }; 1040 + }; 1041 + 1042 + port@1 { 1043 + reg = <1>; 1044 + }; 1045 + }; 1046 + }; 1047 + 1048 + pmic@30 { 1049 + compatible = "ti,tps65219"; 1050 + reg = <0x30>; 1051 + pinctrl-names = "default"; 1052 + pinctrl-0 = <&pinctrl_pmic_extint>; 1053 + interrupt-parent = <&gic500>; 1054 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 1055 + 1056 + buck1-supply = <&reg_vsodimm>; 1057 + buck2-supply = <&reg_vsodimm>; 1058 + buck3-supply = <&reg_vsodimm>; 1059 + ldo1-supply = <&reg_3v3>; 1060 + ldo2-supply = <&reg_1v8>; 1061 + ldo3-supply = <&reg_3v3>; 1062 + ldo4-supply = <&reg_3v3>; 1063 + system-power-controller; 1064 + ti,power-button; 1065 + 1066 + regulators { 1067 + reg_vdd_core: buck1 { 1068 + regulator-always-on; 1069 + regulator-boot-on; 1070 + regulator-max-microvolt = <850000>; 1071 + regulator-min-microvolt = <850000>; 1072 + regulator-name = "+VDD_CORE (PMIC BUCK1)"; 1073 + }; 1074 + 1075 + reg_1v8: buck2 { 1076 + regulator-always-on; 1077 + regulator-boot-on; 1078 + regulator-max-microvolt = <1800000>; 1079 + regulator-min-microvolt = <1800000>; 1080 + regulator-name = "+V1.8 (PMIC BUCK2)"; /* On-module and SODIMM 214 */ 1081 + }; 1082 + 1083 + reg_vdd_ddr: buck3 { 1084 + regulator-always-on; 1085 + regulator-boot-on; 1086 + regulator-max-microvolt = <1100000>; 1087 + regulator-min-microvolt = <1100000>; 1088 + regulator-name = "+VDD_DDR (PMIC BUCK3)"; 1089 + }; 1090 + 1091 + reg_sd_3v3_1v8: ldo1 { 1092 + regulator-allow-bypass; 1093 + regulator-always-on; 1094 + regulator-boot-on; 1095 + regulator-max-microvolt = <3300000>; 1096 + regulator-min-microvolt = <3300000>; 1097 + regulator-name = "+V3.3_1.8_SD (PMIC LDO1)"; 1098 + }; 1099 + 1100 + reg_vddr_core: ldo2 { 1101 + regulator-always-on; 1102 + regulator-boot-on; 1103 + regulator-max-microvolt = <850000>; 1104 + regulator-min-microvolt = <850000>; 1105 + regulator-name = "+VDDR_CORE (PMIC LDO2)"; 1106 + }; 1107 + 1108 + reg_1v8a: ldo3 { 1109 + regulator-always-on; 1110 + regulator-boot-on; 1111 + regulator-max-microvolt = <1800000>; 1112 + regulator-min-microvolt = <1800000>; 1113 + regulator-name = "+V1.8A (PMIC LDO3)"; 1114 + }; 1115 + 1116 + reg_eth_2v5: ldo4 { 1117 + regulator-always-on; 1118 + regulator-boot-on; 1119 + regulator-max-microvolt = <2500000>; 1120 + regulator-min-microvolt = <2500000>; 1121 + regulator-name = "+V2.5_ETH (PMIC LDO4)"; 1122 + }; 1123 + }; 1124 + }; 1125 + 1126 + rtc_i2c: rtc@32 { 1127 + compatible = "epson,rx8130"; 1128 + reg = <0x32>; 1129 + }; 1130 + 1131 + sensor@48 { 1132 + compatible = "ti,tmp1075"; 1133 + reg = <0x48>; 1134 + }; 1135 + 1136 + adc@49 { 1137 + compatible = "ti,ads1015"; 1138 + reg = <0x49>; 1139 + #address-cells = <1>; 1140 + #size-cells = <0>; 1141 + 1142 + /* Verdin PMIC_I2C (ADC_4 - ADC_3) */ 1143 + channel@0 { 1144 + reg = <0>; 1145 + ti,datarate = <4>; 1146 + ti,gain = <2>; 1147 + }; 1148 + 1149 + /* Verdin PMIC_I2C (ADC_4 - ADC_1) */ 1150 + channel@1 { 1151 + reg = <1>; 1152 + ti,datarate = <4>; 1153 + ti,gain = <2>; 1154 + }; 1155 + 1156 + /* Verdin PMIC_I2C (ADC_3 - ADC_1) */ 1157 + channel@2 { 1158 + reg = <2>; 1159 + ti,datarate = <4>; 1160 + ti,gain = <2>; 1161 + }; 1162 + 1163 + /* Verdin PMIC_I2C (ADC_2 - ADC_1) */ 1164 + channel@3 { 1165 + reg = <3>; 1166 + ti,datarate = <4>; 1167 + ti,gain = <2>; 1168 + }; 1169 + 1170 + /* Verdin PMIC_I2C ADC_4 */ 1171 + channel@4 { 1172 + reg = <4>; 1173 + ti,datarate = <4>; 1174 + ti,gain = <2>; 1175 + }; 1176 + 1177 + /* Verdin PMIC_I2C ADC_3 */ 1178 + channel@5 { 1179 + reg = <5>; 1180 + ti,datarate = <4>; 1181 + ti,gain = <2>; 1182 + }; 1183 + 1184 + /* Verdin PMIC_I2C ADC_2 */ 1185 + channel@6 { 1186 + reg = <6>; 1187 + ti,datarate = <4>; 1188 + ti,gain = <2>; 1189 + }; 1190 + 1191 + /* Verdin PMIC_I2C ADC_1 */ 1192 + channel@7 { 1193 + reg = <7>; 1194 + ti,datarate = <4>; 1195 + ti,gain = <2>; 1196 + }; 1197 + }; 1198 + 1199 + eeprom@50 { 1200 + compatible = "st,24c02", "atmel,24c02"; 1201 + pagesize = <16>; 1202 + reg = <0x50>; 1203 + }; 1204 + }; 1205 + 1206 + /* Verdin I2C_1 */ 1207 + &main_i2c1 { 1208 + pinctrl-names = "default"; 1209 + pinctrl-0 = <&pinctrl_i2c1>; 1210 + status = "disabled"; 1211 + }; 1212 + 1213 + /* Verdin I2C_2_DSI */ 1214 + &main_i2c2 { 1215 + pinctrl-names = "default"; 1216 + pinctrl-0 = <&pinctrl_i2c2>; 1217 + status = "disabled"; 1218 + }; 1219 + 1220 + /* Verdin I2C_4_CSI */ 1221 + &main_i2c3 { 1222 + pinctrl-names = "default"; 1223 + pinctrl-0 = <&pinctrl_i2c3>; 1224 + status = "disabled"; 1225 + }; 1226 + 1227 + &mailbox0_cluster0 { 1228 + mbox_m4_0: mbox-m4-0 { 1229 + ti,mbox-rx = <0 0 0>; 1230 + ti,mbox-tx = <1 0 0>; 1231 + }; 1232 + }; 1233 + 1234 + /* Verdin CAN_1 */ 1235 + &main_mcan0 { 1236 + pinctrl-names = "default"; 1237 + pinctrl-0 = <&pinctrl_mcan0>; 1238 + status = "disabled"; 1239 + }; 1240 + 1241 + /* Verdin CAN_2 - Reserved to Cortex-M4 */ 1242 + 1243 + /* Verdin SPI_1 */ 1244 + &main_spi1 { 1245 + pinctrl-names = "default"; 1246 + pinctrl-0 = <&pinctrl_spi1>; 1247 + ti,pindir-d0-out-d1-in; 1248 + status = "disabled"; 1249 + }; 1250 + 1251 + /* Verdin UART_3, used as the Linux console */ 1252 + &main_uart0 { 1253 + pinctrl-names = "default"; 1254 + pinctrl-0 = <&pinctrl_uart0>; 1255 + status = "disabled"; 1256 + }; 1257 + 1258 + /* Verdin UART_1 */ 1259 + &main_uart1 { 1260 + pinctrl-names = "default"; 1261 + pinctrl-0 = <&pinctrl_uart1>; 1262 + status = "disabled"; 1263 + }; 1264 + 1265 + /* Verdin I2S_1 */ 1266 + &mcasp0 { 1267 + pinctrl-names = "default"; 1268 + pinctrl-0 = <&pinctrl_mcasp0>; 1269 + op-mode = <0>; /* I2S mode */ 1270 + serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1271 + 1 2 0 0 1272 + 0 0 0 0 1273 + 0 0 0 0 1274 + 0 0 0 0 1275 + >; 1276 + tdm-slots = <2>; 1277 + rx-num-evt = <32>; 1278 + tx-num-evt = <32>; 1279 + #sound-dai-cells = <0>; 1280 + status = "disabled"; 1281 + }; 1282 + 1283 + /* Verdin I2S_2 */ 1284 + &mcasp1 { 1285 + pinctrl-names = "default"; 1286 + pinctrl-0 = <&pinctrl_mcasp1>; 1287 + op-mode = <0>; /* I2S mode */ 1288 + serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ 1289 + 1 2 0 0 1290 + 0 0 0 0 1291 + 0 0 0 0 1292 + 0 0 0 0 1293 + >; 1294 + tdm-slots = <2>; 1295 + rx-num-evt = <32>; 1296 + tx-num-evt = <32>; 1297 + #sound-dai-cells = <0>; 1298 + status = "disabled"; 1299 + }; 1300 + 1301 + /* Verdin I2C_3_HDMI */ 1302 + &mcu_i2c0 { 1303 + pinctrl-names = "default"; 1304 + pinctrl-0 = <&pinctrl_mcu_i2c0>; 1305 + status = "disabled"; 1306 + }; 1307 + 1308 + &mcu_gpio0 { 1309 + gpio-line-names = 1310 + "SODIMM_244", 1311 + "SODIMM_206", 1312 + "SODIMM_208", 1313 + "SODIMM_210", 1314 + "SODIMM_212", 1315 + "", 1316 + "", 1317 + "", 1318 + "", 1319 + "", 1320 + "", 1321 + "", 1322 + "", 1323 + "", 1324 + "", 1325 + "", 1326 + "", 1327 + "", 1328 + "", 1329 + "", 1330 + "", 1331 + "", 1332 + "", 1333 + ""; 1334 + }; 1335 + 1336 + /* Verdin UART_4 - Cortex-M4 UART */ 1337 + &mcu_uart0 { 1338 + pinctrl-names = "default"; 1339 + pinctrl-0 = <&pinctrl_mcu_uart0>; 1340 + status = "disabled"; 1341 + }; 1342 + 1343 + /* Verdin QSPI_1 */ 1344 + &ospi0 { 1345 + pinctrl-names = "default"; 1346 + pinctrl-0 = <&pinctrl_ospi0>; 1347 + status = "disabled"; 1348 + }; 1349 + 1350 + /* On-module eMMC */ 1351 + &sdhci0 { 1352 + pinctrl-names = "default"; 1353 + pinctrl-0 = <&pinctrl_sdhci0>; 1354 + non-removable; 1355 + ti,driver-strength-ohm = <50>; 1356 + status = "okay"; 1357 + }; 1358 + 1359 + /* Verdin SD_1 */ 1360 + &sdhci1 { 1361 + pinctrl-names = "default"; 1362 + pinctrl-0 = <&pinctrl_sdhci1>; 1363 + disable-wp; 1364 + ti,driver-strength-ohm = <50>; 1365 + vmmc-supply = <&reg_sdhc1_vmmc>; 1366 + vqmmc-supply = <&reg_sdhc1_vqmmc>; 1367 + status = "disabled"; 1368 + }; 1369 + 1370 + /* Verdin USB_1 */ 1371 + &usbss0 { 1372 + ti,vbus-divider; 1373 + status = "disabled"; 1374 + }; 1375 + 1376 + /* TODO: role swich using ID pin */ 1377 + &usb0 { 1378 + pinctrl-names = "default"; 1379 + pinctrl-0 = <&pinctrl_usb0>, <&pinctrl_usb0_id>; 1380 + status = "disabled"; 1381 + }; 1382 + 1383 + /* Verdin USB_2 */ 1384 + &usbss1 { 1385 + ti,vbus-divider; 1386 + status = "disabled"; 1387 + }; 1388 + 1389 + &usb1 { 1390 + pinctrl-names = "default"; 1391 + pinctrl-0 = <&pinctrl_usb1>; 1392 + dr_mode = "host"; 1393 + status = "disabled"; 1394 + }; 1395 + 1396 + /* Verdin UART_2 */ 1397 + &wkup_uart0 { 1398 + pinctrl-names = "default"; 1399 + pinctrl-0 = <&pinctrl_wkup_uart0>; 1400 + status = "disabled"; 1401 + };
+8
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
··· 61 61 /* Used by DM firmware */ 62 62 status = "reserved"; 63 63 }; 64 + 65 + wkup_vtm0: temperature-sensor@b00000 { 66 + compatible = "ti,j7200-vtm"; 67 + reg = <0x00 0xb00000 0x00 0x400>, 68 + <0x00 0xb01000 0x00 0x400>; 69 + power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>; 70 + #thermal-sensor-cells = <1>; 71 + }; 64 72 };
+6 -2
arch/arm64/boot/dts/ti/k3-am62.dtsi
··· 81 81 <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>, 82 82 83 83 /* Wakeup Domain Range */ 84 + <0x00 0x00b00000 0x00 0x00b00000 0x00 0x00002400>, /* VTM */ 84 85 <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>, 85 86 <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>; 86 87 ··· 92 91 ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>; /* Peripheral window */ 93 92 }; 94 93 95 - cbass_wakeup: bus@2b000000 { 94 + cbass_wakeup: bus@b00000 { 96 95 compatible = "simple-bus"; 97 96 #address-cells = <2>; 98 97 #size-cells = <2>; 99 - ranges = <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>, /* Peripheral Window */ 98 + ranges = <0x00 0x00b00000 0x00 0x00b00000 0x00 0x00002400>, /* VTM */ 99 + <0x00 0x2b000000 0x00 0x2b000000 0x00 0x00300400>, /* Peripheral Window */ 100 100 <0x00 0x43000000 0x00 0x43000000 0x00 0x00020000>; 101 101 }; 102 102 }; 103 + 104 + #include "k3-am62-thermal.dtsi" 103 105 }; 104 106 105 107 /* Now include the peripherals for each bus segments */
+26 -26
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
··· 216 216 }; 217 217 218 218 &main_pmx0 { 219 - gpio0_pins_default: gpio0-pins-default { 219 + gpio0_pins_default: gpio0-default-pins { 220 220 pinctrl-single,pins = < 221 221 AM62X_IOPAD(0x0004, PIN_INPUT, 7) /* (G25) OSPI0_LBCLKO.GPIO0_1 */ 222 222 AM62X_IOPAD(0x0008, PIN_INPUT, 7) /* (J24) OSPI0_DQS.GPIO0_2 */ ··· 235 235 >; 236 236 }; 237 237 238 - vdd_sd_dv_pins_default: vdd-sd-pins-default { 238 + vdd_sd_dv_pins_default: vdd-sd-default-pins { 239 239 pinctrl-single,pins = < 240 240 AM62X_IOPAD(0x0244, PIN_OUTPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ 241 241 >; 242 242 }; 243 243 244 - usr_button_pins_default: usr-button-pins-default { 244 + usr_button_pins_default: usr-button-default-pins { 245 245 pinctrl-single,pins = < 246 246 AM62X_IOPAD(0x0048, PIN_INPUT, 7) /* (N25) GPMC0_AD3.GPIO0_18 */ 247 247 >; 248 248 }; 249 249 250 - grove_pins_default: grove-pins-default { 250 + grove_pins_default: grove-default-pins { 251 251 pinctrl-single,pins = < 252 252 AM62X_IOPAD(0x01e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ 253 253 AM62X_IOPAD(0x01ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 254 254 >; 255 255 }; 256 256 257 - local_i2c_pins_default: local-i2c-pins-default { 257 + local_i2c_pins_default: local-i2c-default-pins { 258 258 pinctrl-single,pins = < 259 259 AM62X_IOPAD(0x01e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 260 260 AM62X_IOPAD(0x01e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 261 261 >; 262 262 }; 263 263 264 - i2c2_1v8_pins_default: i2c2-pins-default { 264 + i2c2_1v8_pins_default: i2c2-default-pins { 265 265 pinctrl-single,pins = < 266 266 AM62X_IOPAD(0x00b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ 267 267 AM62X_IOPAD(0x00b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ 268 268 >; 269 269 }; 270 270 271 - mdio0_pins_default: mdio0-pins-default { 271 + mdio0_pins_default: mdio0-default-pins { 272 272 pinctrl-single,pins = < 273 273 AM62X_IOPAD(0x0160, PIN_OUTPUT, 7) /* (AD24) MDIO0_MDC.GPIO0_86 */ 274 274 AM62X_IOPAD(0x015c, PIN_INPUT, 7) /* (AB22) MDIO0_MDIO.GPIO0_85 */ 275 275 >; 276 276 }; 277 277 278 - rgmii1_pins_default: rgmii1-pins-default { 278 + rgmii1_pins_default: rgmii1-default-pins { 279 279 pinctrl-single,pins = < 280 280 AM62X_IOPAD(0x014c, PIN_INPUT, 0) /* (AB17) RGMII1_RD0 */ 281 281 AM62X_IOPAD(0x0150, PIN_INPUT, 0) /* (AC17) RGMII1_RD1 */ ··· 292 292 >; 293 293 }; 294 294 295 - emmc_pins_default: emmc-pins-default { 295 + emmc_pins_default: emmc-default-pins { 296 296 pinctrl-single,pins = < 297 297 AM62X_IOPAD(0x0220, PIN_INPUT, 0) /* (Y3) MMC0_CMD */ 298 298 AM62X_IOPAD(0x0218, PIN_INPUT, 0) /* (AB1) MMC0_CLK */ ··· 307 307 >; 308 308 }; 309 309 310 - vdd_3v3_sd_pins_default: vdd-3v3-sd-pins-default { 310 + vdd_3v3_sd_pins_default: vdd-3v3-sd-default-pins { 311 311 pinctrl-single,pins = < 312 312 AM62X_IOPAD(0x01c4, PIN_INPUT, 7) /* (B14) SPI0_D1_GPIO1_19 */ 313 313 >; 314 314 }; 315 315 316 - sd_pins_default: sd-pins-default { 316 + sd_pins_default: sd-default-pins { 317 317 pinctrl-single,pins = < 318 318 AM62X_IOPAD(0x023c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ 319 319 AM62X_IOPAD(0x0234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ ··· 325 325 >; 326 326 }; 327 327 328 - wifi_pins_default: wifi-pins-default { 328 + wifi_pins_default: wifi-default-pins { 329 329 pinctrl-single,pins = < 330 330 AM62X_IOPAD(0x0120, PIN_INPUT, 0) /* (C24) MMC2_CMD */ 331 331 AM62X_IOPAD(0x0118, PIN_INPUT, 0) /* (D25) MMC2_CLK */ ··· 338 338 >; 339 339 }; 340 340 341 - wifi_en_pins_default: wifi-en-pins-default { 341 + wifi_en_pins_default: wifi-en-default-pins { 342 342 pinctrl-single,pins = < 343 343 AM62X_IOPAD(0x009c, PIN_OUTPUT, 7) /* (V25) GPMC0_WAIT1.GPIO0_38 */ 344 344 >; 345 345 }; 346 346 347 - wifi_wlirq_pins_default: wifi-wlirq-pins-default { 347 + wifi_wlirq_pins_default: wifi-wlirq-default-pins { 348 348 pinctrl-single,pins = < 349 349 AM62X_IOPAD(0x00a8, PIN_INPUT, 7) /* (M21) GPMC0_CSn0.GPIO0_41 */ 350 350 >; 351 351 }; 352 352 353 - spe_pins_default: spe-pins-default { 353 + spe_pins_default: spe-default-pins { 354 354 pinctrl-single,pins = < 355 355 AM62X_IOPAD(0x0168, PIN_INPUT, 1) /* (AE21) RGMII2_TXC.RMII2_CRS_DV */ 356 356 AM62X_IOPAD(0x0180, PIN_INPUT, 1) /* (AD23) RGMII2_RXC.RMII2_REF_CLK */ ··· 366 366 >; 367 367 }; 368 368 369 - mikrobus_i2c_pins_default: mikrobus-i2c-pins-default { 369 + mikrobus_i2c_pins_default: mikrobus-i2c-default-pins { 370 370 pinctrl-single,pins = < 371 371 AM62X_IOPAD(0x01d0, PIN_INPUT_PULLUP, 2) /* (A15) UART0_CTSn.I2C3_SCL */ 372 372 AM62X_IOPAD(0x01d4, PIN_INPUT_PULLUP, 2) /* (B15) UART0_RTSn.I2C3_SDA */ 373 373 >; 374 374 }; 375 375 376 - mikrobus_uart_pins_default: mikrobus-uart-pins-default { 376 + mikrobus_uart_pins_default: mikrobus-uart-default-pins { 377 377 pinctrl-single,pins = < 378 378 AM62X_IOPAD(0x01d8, PIN_INPUT, 1) /* (C15) MCAN0_TX.UART5_RXD */ 379 379 AM62X_IOPAD(0x01dc, PIN_OUTPUT, 1) /* (E15) MCAN0_RX.UART5_TXD */ 380 380 >; 381 381 }; 382 382 383 - mikrobus_spi_pins_default: mikrobus-spi-pins-default { 383 + mikrobus_spi_pins_default: mikrobus-spi-default-pins { 384 384 pinctrl-single,pins = < 385 385 AM62X_IOPAD(0x01b0, PIN_INPUT, 1) /* (A20) MCASP0_ACLKR.SPI2_CLK */ 386 386 AM62X_IOPAD(0x01ac, PIN_INPUT, 1) /* (E19) MCASP0_AFSR.SPI2_CS0 */ ··· 389 389 >; 390 390 }; 391 391 392 - mikrobus_gpio_pins_default: mikrobus-gpio-pins-default { 392 + mikrobus_gpio_pins_default: mikrobus-gpio-default-pins { 393 393 pinctrl-single,pins = < 394 394 AM62X_IOPAD(0x019c, PIN_INPUT, 7) /* (B18) MCASP0_AXR1.GPIO1_9 */ 395 395 AM62X_IOPAD(0x01a0, PIN_INPUT, 7) /* (E18) MCASP0_AXR0.GPIO1_10 */ ··· 397 397 >; 398 398 }; 399 399 400 - console_pins_default: console-pins-default { 400 + console_pins_default: console-default-pins { 401 401 pinctrl-single,pins = < 402 402 AM62X_IOPAD(0x01c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ 403 403 AM62X_IOPAD(0x01cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ 404 404 >; 405 405 }; 406 406 407 - wifi_debug_uart_pins_default: wifi-debug-uart-pins-default { 407 + wifi_debug_uart_pins_default: wifi-debug-uart-default-pins { 408 408 pinctrl-single,pins = < 409 409 AM62X_IOPAD(0x001c, PIN_INPUT, 3) /* (J23) OSPI0_D4.UART6_RXD */ 410 410 AM62X_IOPAD(0x0020, PIN_OUTPUT, 3) /* (J25) OSPI0_D5.UART6_TXD */ 411 411 >; 412 412 }; 413 413 414 - usb1_pins_default: usb1-pins-default { 414 + usb1_pins_default: usb1-default-pins { 415 415 pinctrl-single,pins = < 416 416 AM62X_IOPAD(0x0258, PIN_INPUT, 0) /* (F18) USB1_DRVVBUS */ 417 417 >; 418 418 }; 419 419 420 - pmic_irq_pins_default: pmic-irq-pins-default { 420 + pmic_irq_pins_default: pmic-irq-default-pins { 421 421 pinctrl-single,pins = < 422 422 AM62X_IOPAD(0x01f4, PIN_INPUT_PULLUP, 0) /* (D16) EXTINTn */ 423 423 >; ··· 425 425 }; 426 426 427 427 &mcu_pmx0 { 428 - i2c_qwiic_pins_default: i2c-qwiic-pins-default { 428 + i2c_qwiic_pins_default: i2c-qwiic-default-pins { 429 429 pinctrl-single,pins = < 430 430 AM62X_MCU_IOPAD(0x0044, PIN_INPUT, 0) /* (A8) MCU_I2C0_SCL */ 431 431 AM62X_MCU_IOPAD(0x0048, PIN_INPUT, 0) /* (D10) MCU_I2C0_SDA */ ··· 438 438 >; 439 439 }; 440 440 441 - i2c_csi_pins_default: i2c-csi-pins-default { 441 + i2c_csi_pins_default: i2c-csi-default-pins { 442 442 pinctrl-single,pins = < 443 443 AM62X_MCU_IOPAD(0x004c, PIN_INPUT_PULLUP, 0) /* (B9) WKUP_I2C0_SCL */ 444 444 AM62X_MCU_IOPAD(0x0050, PIN_INPUT_PULLUP, 0) /* (A9) WKUP_I2C0_SDA */ 445 445 >; 446 446 }; 447 447 448 - wifi_32k_clk: mcu-clk-out-pins-default { 448 + wifi_32k_clk: mcu-clk-out-default-pins { 449 449 pinctrl-single,pins = < 450 450 AM62X_MCU_IOPAD(0x0084, PIN_OUTPUT, 0) /* (A12) WKUP_CLKOUT0 */ 451 451 >;
+266
arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2022 - 2023 PHYTEC Messtechnik GmbH 4 + * Author: Wadim Egorov <w.egorov@phytec.de> 5 + * 6 + * Product homepage: 7 + * https://www.phytec.com/product/phyboard-am62x 8 + */ 9 + 10 + #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/input/input.h> 12 + #include <dt-bindings/leds/common.h> 13 + #include <dt-bindings/net/ti-dp83867.h> 14 + #include "k3-am625.dtsi" 15 + #include "k3-am62-phycore-som.dtsi" 16 + 17 + / { 18 + compatible = "phytec,am625-phyboard-lyra-rdk", 19 + "phytec,am62-phycore-som", "ti,am625"; 20 + model = "PHYTEC phyBOARD-Lyra AM625"; 21 + 22 + aliases { 23 + serial2 = &main_uart0; 24 + serial3 = &main_uart1; 25 + mmc1 = &sdhci1; 26 + usb0 = &usb0; 27 + usb1 = &usb1; 28 + ethernet1 = &cpsw_port2; 29 + }; 30 + 31 + can_tc1: can-phy0 { 32 + compatible = "ti,tcan1042"; 33 + #phy-cells = <0>; 34 + max-bitrate = <5000000>; 35 + standby-gpios = <&gpio_exp 1 GPIO_ACTIVE_HIGH>; 36 + }; 37 + 38 + keys { 39 + compatible = "gpio-keys"; 40 + autorepeat; 41 + pinctrl-names = "default"; 42 + pinctrl-0 = <&gpio_keys_pins_default>; 43 + 44 + key-home { 45 + label = "home"; 46 + linux,code = <KEY_HOME>; 47 + gpios = <&main_gpio1 23 GPIO_ACTIVE_HIGH>; 48 + }; 49 + 50 + key-menu { 51 + label = "menu"; 52 + linux,code = <KEY_MENU>; 53 + gpios = <&gpio_exp 4 GPIO_ACTIVE_HIGH>; 54 + }; 55 + }; 56 + 57 + leds { 58 + compatible = "gpio-leds"; 59 + pinctrl-names = "default"; 60 + pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; 61 + 62 + led-1 { 63 + gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; 64 + linux,default-trigger = "mmc0"; 65 + }; 66 + 67 + led-2 { 68 + gpios = <&gpio_exp 2 GPIO_ACTIVE_HIGH>; 69 + linux,default-trigger = "mmc1"; 70 + }; 71 + }; 72 + 73 + vcc_3v3_mmc: regulator-vcc-3v3-mmc { 74 + compatible = "regulator-fixed"; 75 + regulator-name = "VCC_3V3_MMC"; 76 + regulator-min-microvolt = <3300000>; 77 + regulator-max-microvolt = <3300000>; 78 + regulator-always-on; 79 + regulator-boot-on; 80 + }; 81 + }; 82 + 83 + &main_pmx0 { 84 + gpio_keys_pins_default: gpio-keys-default-pins { 85 + pinctrl-single,pins = < 86 + AM62X_IOPAD(0x1d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ 87 + >; 88 + }; 89 + 90 + gpio_exp_int_pins_default: gpio-exp-int-default-pins { 91 + pinctrl-single,pins = < 92 + AM62X_IOPAD(0x244, PIN_INPUT, 7) /* (C17) MMC1_SDWP.GPIO1_49 */ 93 + >; 94 + }; 95 + 96 + main_i2c1_pins_default: main-i2c1-default-pins { 97 + pinctrl-single,pins = < 98 + AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ 99 + AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 100 + >; 101 + }; 102 + 103 + main_mcan0_pins_default: main-mcan0-default-pins { 104 + pinctrl-single,pins = < 105 + AM62X_IOPAD(0x1dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ 106 + AM62X_IOPAD(0x1d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ 107 + >; 108 + }; 109 + 110 + main_mmc1_pins_default: main-mmc1-default-pins { 111 + pinctrl-single,pins = < 112 + AM62X_IOPAD(0x23c, PIN_INPUT_PULLUP, 0) /* (A21) MMC1_CMD */ 113 + AM62X_IOPAD(0x234, PIN_INPUT_PULLDOWN, 0) /* (B22) MMC1_CLK */ 114 + AM62X_IOPAD(0x230, PIN_INPUT_PULLUP, 0) /* (A22) MMC1_DAT0 */ 115 + AM62X_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (B21) MMC1_DAT1 */ 116 + AM62X_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (C21) MMC1_DAT2 */ 117 + AM62X_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (D22) MMC1_DAT3 */ 118 + AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ 119 + >; 120 + }; 121 + 122 + main_rgmii2_pins_default: main-rgmii2-default-pins { 123 + pinctrl-single,pins = < 124 + AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ 125 + AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ 126 + AM62X_IOPAD(0x18c, PIN_INPUT, 0) /* (AC21) RGMII2_RD2 */ 127 + AM62X_IOPAD(0x190, PIN_INPUT, 0) /* (AE22) RGMII2_RD3 */ 128 + AM62X_IOPAD(0x180, PIN_INPUT, 0) /* (AD23) RGMII2_RXC */ 129 + AM62X_IOPAD(0x17c, PIN_INPUT, 0) /* (AD22) RGMII2_RX_CTL */ 130 + AM62X_IOPAD(0x16c, PIN_OUTPUT, 0) /* (Y18) RGMII2_TD0 */ 131 + AM62X_IOPAD(0x170, PIN_OUTPUT, 0) /* (AA18) RGMII2_TD1 */ 132 + AM62X_IOPAD(0x174, PIN_OUTPUT, 0) /* (AD21) RGMII2_TD2 */ 133 + AM62X_IOPAD(0x178, PIN_OUTPUT, 0) /* (AC20) RGMII2_TD3 */ 134 + AM62X_IOPAD(0x168, PIN_OUTPUT, 0) /* (AE21) RGMII2_TXC */ 135 + AM62X_IOPAD(0x164, PIN_OUTPUT, 0) /* (AA19) RGMII2_TX_CTL */ 136 + >; 137 + }; 138 + 139 + main_uart0_pins_default: main-uart0-default-pins { 140 + pinctrl-single,pins = < 141 + AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ 142 + AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ 143 + >; 144 + }; 145 + 146 + main_uart1_pins_default: main-uart1-default-pins { 147 + pinctrl-single,pins = < 148 + AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19) MCASP0_AXR3.UART1_CTSn */ 149 + AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19) MCASP0_AXR2.UART1_RTSn */ 150 + AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19) MCASP0_AFSR.UART1_RXD */ 151 + AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20) MCASP0_ACLKR.UART1_TXD */ 152 + >; 153 + }; 154 + 155 + main_usb1_pins_default: main-usb1-default-pins { 156 + pinctrl-single,pins = < 157 + AM62X_IOPAD(0x258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ 158 + >; 159 + }; 160 + 161 + user_leds_pins_default: user-leds-default-pins { 162 + pinctrl-single,pins = < 163 + AM62X_IOPAD(0x084, PIN_OUTPUT, 7) /* (L23) GPMC0_ADVn_ALE.GPIO0_32 */ 164 + >; 165 + }; 166 + }; 167 + 168 + &cpsw3g { 169 + pinctrl-names = "default"; 170 + pinctrl-0 = <&main_rgmii1_pins_default>, <&main_rgmii2_pins_default>; 171 + }; 172 + 173 + &cpsw_port2 { 174 + phy-mode = "rgmii-rxid"; 175 + phy-handle = <&cpsw3g_phy3>; 176 + }; 177 + 178 + &cpsw3g_mdio { 179 + cpsw3g_phy3: ethernet-phy@3 { 180 + compatible = "ethernet-phy-id2000.a231", "ethernet-phy-ieee802.3-c22"; 181 + reg = <3>; 182 + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 183 + ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 184 + }; 185 + }; 186 + 187 + &main_i2c1 { 188 + pinctrl-names = "default"; 189 + pinctrl-0 = <&main_i2c1_pins_default>; 190 + clock-frequency = <400000>; 191 + status = "okay"; 192 + 193 + gpio_exp: gpio-expander@21 { 194 + pinctrl-names = "default"; 195 + pinctrl-0 = <&gpio_exp_int_pins_default>; 196 + compatible = "nxp,pcf8574"; 197 + reg = <0x21>; 198 + interrupt-parent = <&main_gpio1>; 199 + interrupts = <49 0>; 200 + #gpio-cells = <2>; 201 + gpio-controller; 202 + interrupt-controller; 203 + #interrupt-cells = <2>; 204 + gpio-line-names = "GPIO0_HDMI_RST", "GPIO1_CAN0_nEN", 205 + "GPIO2_LED2", "GPIO3_LVDS_GPIO", 206 + "GPIO4_BUT2", "GPIO5_LVDS_BKLT_EN", 207 + "GPIO6_ETH1_USER_RESET", "GPIO7_AUDIO_USER_RESET"; 208 + }; 209 + 210 + eeprom@51 { 211 + compatible = "atmel,24c02"; 212 + pagesize = <16>; 213 + reg = <0x51>; 214 + }; 215 + }; 216 + 217 + &main_mcan0 { 218 + pinctrl-names = "default"; 219 + pinctrl-0 = <&main_mcan0_pins_default>; 220 + phys = <&can_tc1>; 221 + status = "okay"; 222 + }; 223 + 224 + &main_uart0 { 225 + pinctrl-names = "default"; 226 + pinctrl-0 = <&main_uart0_pins_default>; 227 + status = "okay"; 228 + }; 229 + 230 + &main_uart1 { 231 + pinctrl-names = "default"; 232 + pinctrl-0 = <&main_uart1_pins_default>; 233 + /* Main UART1 may be used by TIFS firmware */ 234 + status = "okay"; 235 + }; 236 + 237 + &sdhci1 { 238 + vmmc-supply = <&vcc_3v3_mmc>; 239 + vqmmc-supply = <&vddshv5_sdio>; 240 + pinctrl-names = "default"; 241 + pinctrl-0 = <&main_mmc1_pins_default>; 242 + ti,driver-strength-ohm = <50>; 243 + disable-wp; 244 + no-1-8-v; 245 + status = "okay"; 246 + }; 247 + 248 + &usbss0 { 249 + ti,vbus-divider; 250 + status = "okay"; 251 + }; 252 + 253 + &usbss1 { 254 + ti,vbus-divider; 255 + status = "okay"; 256 + }; 257 + 258 + &usb0 { 259 + dr_mode = "peripheral"; 260 + }; 261 + 262 + &usb1 { 263 + dr_mode = "host"; 264 + pinctrl-names = "default"; 265 + pinctrl-0 = <&main_usb1_pins_default>; 266 + };
+6 -7
arch/arm64/boot/dts/ti/k3-am625-sk.dts
··· 101 101 }; 102 102 103 103 &main_pmx0 { 104 - main_rgmii2_pins_default: main-rgmii2-pins-default { 104 + main_rgmii2_pins_default: main-rgmii2-default-pins { 105 105 pinctrl-single,pins = < 106 106 AM62X_IOPAD(0x184, PIN_INPUT, 0) /* (AE23) RGMII2_RD0 */ 107 107 AM62X_IOPAD(0x188, PIN_INPUT, 0) /* (AB20) RGMII2_RD1 */ ··· 118 118 >; 119 119 }; 120 120 121 - ospi0_pins_default: ospi0-pins-default { 121 + ospi0_pins_default: ospi0-default-pins { 122 122 pinctrl-single,pins = < 123 123 AM62X_IOPAD(0x000, PIN_OUTPUT, 0) /* (H24) OSPI0_CLK */ 124 124 AM62X_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F23) OSPI0_CSn0 */ ··· 134 134 >; 135 135 }; 136 136 137 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 137 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 138 138 pinctrl-single,pins = < 139 139 AM62X_IOPAD(0x07c, PIN_OUTPUT, 7) /* (P25) GPMC0_CLK.GPIO0_31 */ 140 140 >; 141 141 }; 142 142 143 - main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-pins-default { 143 + main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 144 144 pinctrl-single,pins = < 145 145 AM62X_IOPAD(0x01d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ 146 146 >; ··· 161 161 "UART1_FET_BUF_EN", "WL_LT_EN", 162 162 "GPIO_HDMI_RSTn", "CSI_GPIO1", 163 163 "CSI_GPIO2", "PRU_3V3_EN", 164 - "HDMI_INTn", "TEST_GPIO2", 164 + "HDMI_INTn", "PD_I2C_IRQ", 165 165 "MCASP1_FET_EN", "MCASP1_BUF_BT_EN", 166 166 "MCASP1_FET_SEL", "UART1_FET_SEL", 167 167 "TSINT#", "IO_EXP_TEST_LED"; ··· 183 183 184 184 &cpsw3g { 185 185 pinctrl-names = "default"; 186 - pinctrl-0 = <&main_rgmii1_pins_default 187 - &main_rgmii2_pins_default>; 186 + pinctrl-0 = <&main_rgmii1_pins_default>, <&main_rgmii2_pins_default>; 188 187 }; 189 188 190 189 &cpsw_port2 {
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dahlia.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-nonwifi.dtsi" 14 + #include "k3-am62-verdin-dahlia.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 on Dahlia Board"; 18 + compatible = "toradex,verdin-am62-nonwifi-dahlia", 19 + "toradex,verdin-am62-nonwifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-dev.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/verdin-development-board-kit 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-nonwifi.dtsi" 14 + #include "k3-am62-verdin-dev.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 on Verdin Development Board"; 18 + compatible = "toradex,verdin-am62-nonwifi-dev", 19 + "toradex,verdin-am62-nonwifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-nonwifi-yavia.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/yavia 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-nonwifi.dtsi" 14 + #include "k3-am62-verdin-yavia.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 on Yavia Board"; 18 + compatible = "toradex,verdin-am62-nonwifi-yavia", 19 + "toradex,verdin-am62-nonwifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dahlia.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/dahlia-carrier-board-kit 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-wifi.dtsi" 14 + #include "k3-am62-verdin-dahlia.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 WB on Dahlia Board"; 18 + compatible = "toradex,verdin-am62-wifi-dahlia", 19 + "toradex,verdin-am62-wifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-dev.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/verdin-development-board-kit 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-wifi.dtsi" 14 + #include "k3-am62-verdin-dev.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 WB on Verdin Development Board"; 18 + compatible = "toradex,verdin-am62-wifi-dev", 19 + "toradex,verdin-am62-wifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+22
arch/arm64/boot/dts/ti/k3-am625-verdin-wifi-yavia.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 2 + /* 3 + * Copyright 2023 Toradex 4 + * 5 + * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62 6 + * https://www.toradex.com/products/carrier-board/yavia 7 + */ 8 + 9 + /dts-v1/; 10 + 11 + #include "k3-am625.dtsi" 12 + #include "k3-am62-verdin.dtsi" 13 + #include "k3-am62-verdin-wifi.dtsi" 14 + #include "k3-am62-verdin-yavia.dtsi" 15 + 16 + / { 17 + model = "Toradex Verdin AM62 WB on Yavia Board"; 18 + compatible = "toradex,verdin-am62-wifi-yavia", 19 + "toradex,verdin-am62-wifi", 20 + "toradex,verdin-am62", 21 + "ti,am625"; 22 + };
+156
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
··· 169 169 }; 170 170 }; 171 171 172 + secure_proxy_sa3: mailbox@43600000 { 173 + compatible = "ti,am654-secure-proxy"; 174 + #mbox-cells = <1>; 175 + reg-names = "target_data", "rt", "scfg"; 176 + reg = <0x00 0x43600000 0x00 0x10000>, 177 + <0x00 0x44880000 0x00 0x20000>, 178 + <0x00 0x44860000 0x00 0x20000>; 179 + /* 180 + * Marked Disabled: 181 + * Node is incomplete as it is meant for bootloaders and 182 + * firmware on non-MPU processors 183 + */ 184 + status = "disabled"; 185 + }; 186 + 172 187 main_pmx0: pinctrl@f4000 { 173 188 compatible = "pinctrl-single"; 174 189 reg = <0x00 0xf4000 0x00 0x2ac>; 175 190 #pinctrl-cells = <1>; 176 191 pinctrl-single,register-width = <32>; 177 192 pinctrl-single,function-mask = <0xffffffff>; 193 + }; 194 + 195 + main_timer0: timer@2400000 { 196 + compatible = "ti,am654-timer"; 197 + reg = <0x00 0x2400000 0x00 0x400>; 198 + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 199 + clocks = <&k3_clks 36 2>; 200 + clock-names = "fck"; 201 + assigned-clocks = <&k3_clks 36 2>; 202 + assigned-clock-parents = <&k3_clks 36 3>; 203 + power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>; 204 + ti,timer-pwm; 205 + }; 206 + 207 + main_timer1: timer@2410000 { 208 + compatible = "ti,am654-timer"; 209 + reg = <0x00 0x2410000 0x00 0x400>; 210 + interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 211 + clocks = <&k3_clks 37 2>; 212 + clock-names = "fck"; 213 + assigned-clocks = <&k3_clks 37 2>; 214 + assigned-clock-parents = <&k3_clks 37 3>; 215 + power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>; 216 + ti,timer-pwm; 217 + }; 218 + 219 + main_timer2: timer@2420000 { 220 + compatible = "ti,am654-timer"; 221 + reg = <0x00 0x2420000 0x00 0x400>; 222 + interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 223 + clocks = <&k3_clks 38 2>; 224 + clock-names = "fck"; 225 + assigned-clocks = <&k3_clks 38 2>; 226 + assigned-clock-parents = <&k3_clks 38 3>; 227 + power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>; 228 + ti,timer-pwm; 229 + }; 230 + 231 + main_timer3: timer@2430000 { 232 + compatible = "ti,am654-timer"; 233 + reg = <0x00 0x2430000 0x00 0x400>; 234 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 235 + clocks = <&k3_clks 39 2>; 236 + clock-names = "fck"; 237 + assigned-clocks = <&k3_clks 39 2>; 238 + assigned-clock-parents = <&k3_clks 39 3>; 239 + power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>; 240 + ti,timer-pwm; 241 + }; 242 + 243 + main_timer4: timer@2440000 { 244 + compatible = "ti,am654-timer"; 245 + reg = <0x00 0x2440000 0x00 0x400>; 246 + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; 247 + clocks = <&k3_clks 40 2>; 248 + clock-names = "fck"; 249 + assigned-clocks = <&k3_clks 40 2>; 250 + assigned-clock-parents = <&k3_clks 40 3>; 251 + power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>; 252 + ti,timer-pwm; 253 + }; 254 + 255 + main_timer5: timer@2450000 { 256 + compatible = "ti,am654-timer"; 257 + reg = <0x00 0x2450000 0x00 0x400>; 258 + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 259 + clocks = <&k3_clks 41 2>; 260 + clock-names = "fck"; 261 + assigned-clocks = <&k3_clks 41 2>; 262 + assigned-clock-parents = <&k3_clks 41 3>; 263 + power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>; 264 + ti,timer-pwm; 265 + }; 266 + 267 + main_timer6: timer@2460000 { 268 + compatible = "ti,am654-timer"; 269 + reg = <0x00 0x2460000 0x00 0x400>; 270 + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 271 + clocks = <&k3_clks 42 2>; 272 + clock-names = "fck"; 273 + assigned-clocks = <&k3_clks 42 2>; 274 + assigned-clock-parents = <&k3_clks 42 3>; 275 + power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>; 276 + ti,timer-pwm; 277 + }; 278 + 279 + main_timer7: timer@2470000 { 280 + compatible = "ti,am654-timer"; 281 + reg = <0x00 0x2470000 0x00 0x400>; 282 + interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 283 + clocks = <&k3_clks 43 2>; 284 + clock-names = "fck"; 285 + assigned-clocks = <&k3_clks 43 2>; 286 + assigned-clock-parents = <&k3_clks 43 3>; 287 + power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>; 288 + ti,timer-pwm; 178 289 }; 179 290 180 291 main_uart0: serial@2800000 { ··· 710 599 interrupt-names = "int0", "int1"; 711 600 bosch,mram-cfg = <0x0 128 64 64 64 64 32 32>; 712 601 status = "disabled"; 602 + }; 603 + 604 + main_rti0: watchdog@e000000 { 605 + compatible = "ti,j7-rti-wdt"; 606 + reg = <0x00 0x0e000000 0x00 0x100>; 607 + clocks = <&k3_clks 125 0>; 608 + power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>; 609 + assigned-clocks = <&k3_clks 125 0>; 610 + assigned-clock-parents = <&k3_clks 125 2>; 611 + }; 612 + 613 + main_rti1: watchdog@e010000 { 614 + compatible = "ti,j7-rti-wdt"; 615 + reg = <0x00 0x0e010000 0x00 0x100>; 616 + clocks = <&k3_clks 126 0>; 617 + power-domains = <&k3_pds 126 TI_SCI_PD_EXCLUSIVE>; 618 + assigned-clocks = <&k3_clks 126 0>; 619 + assigned-clock-parents = <&k3_clks 126 2>; 620 + }; 621 + 622 + main_rti2: watchdog@e020000 { 623 + compatible = "ti,j7-rti-wdt"; 624 + reg = <0x00 0x0e020000 0x00 0x100>; 625 + clocks = <&k3_clks 127 0>; 626 + power-domains = <&k3_pds 127 TI_SCI_PD_EXCLUSIVE>; 627 + assigned-clocks = <&k3_clks 127 0>; 628 + assigned-clock-parents = <&k3_clks 127 2>; 629 + }; 630 + 631 + main_rti3: watchdog@e030000 { 632 + compatible = "ti,j7-rti-wdt"; 633 + reg = <0x00 0x0e030000 0x00 0x100>; 634 + clocks = <&k3_clks 128 0>; 635 + power-domains = <&k3_pds 128 TI_SCI_PD_EXCLUSIVE>; 636 + assigned-clocks = <&k3_clks 128 0>; 637 + assigned-clock-parents = <&k3_clks 128 2>; 638 + }; 639 + 640 + main_rti4: watchdog@e040000 { 641 + compatible = "ti,j7-rti-wdt"; 642 + reg = <0x00 0x0e040000 0x00 0x100>; 643 + clocks = <&k3_clks 205 0>; 644 + power-domains = <&k3_pds 205 TI_SCI_PD_EXCLUSIVE>; 645 + assigned-clocks = <&k3_clks 205 0>; 646 + assigned-clock-parents = <&k3_clks 205 2>; 713 647 }; 714 648 715 649 epwm0: pwm@23000000 {
+56
arch/arm64/boot/dts/ti/k3-am62a-mcu.dtsi
··· 15 15 status = "disabled"; 16 16 }; 17 17 18 + /* 19 + * The MCU domain timer interrupts are routed only to the ESM module, 20 + * and not currently available for Linux. The MCU domain timers are 21 + * of limited use without interrupts, and likely reserved by the ESM. 22 + */ 23 + mcu_timer0: timer@4800000 { 24 + compatible = "ti,am654-timer"; 25 + reg = <0x00 0x4800000 0x00 0x400>; 26 + clocks = <&k3_clks 35 2>; 27 + clock-names = "fck"; 28 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 29 + ti,timer-pwm; 30 + status = "reserved"; 31 + }; 32 + 33 + mcu_timer1: timer@4810000 { 34 + compatible = "ti,am654-timer"; 35 + reg = <0x00 0x4810000 0x00 0x400>; 36 + clocks = <&k3_clks 48 2>; 37 + clock-names = "fck"; 38 + power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>; 39 + ti,timer-pwm; 40 + status = "reserved"; 41 + }; 42 + 43 + mcu_timer2: timer@4820000 { 44 + compatible = "ti,am654-timer"; 45 + reg = <0x00 0x4820000 0x00 0x400>; 46 + clocks = <&k3_clks 49 2>; 47 + clock-names = "fck"; 48 + power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>; 49 + ti,timer-pwm; 50 + status = "reserved"; 51 + }; 52 + 53 + mcu_timer3: timer@4830000 { 54 + compatible = "ti,am654-timer"; 55 + reg = <0x00 0x4830000 0x00 0x400>; 56 + clocks = <&k3_clks 50 2>; 57 + clock-names = "fck"; 58 + power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>; 59 + ti,timer-pwm; 60 + status = "reserved"; 61 + }; 62 + 18 63 mcu_uart0: serial@4a00000 { 19 64 compatible = "ti,am64-uart", "ti,am654-uart"; 20 65 reg = <0x00 0x04a00000 0x00 0x100>; ··· 131 86 clocks = <&k3_clks 79 0>; 132 87 clock-names = "gpio"; 133 88 status = "disabled"; 89 + }; 90 + 91 + mcu_rti0: watchdog@4880000 { 92 + compatible = "ti,j7-rti-wdt"; 93 + reg = <0x00 0x04880000 0x00 0x100>; 94 + clocks = <&k3_clks 131 0>; 95 + power-domains = <&k3_pds 131 TI_SCI_PD_EXCLUSIVE>; 96 + assigned-clocks = <&k3_clks 131 0>; 97 + assigned-clock-parents = <&k3_clks 131 2>; 98 + /* Tightly coupled to M4F */ 99 + status = "reserved"; 134 100 }; 135 101 };
+47
arch/arm64/boot/dts/ti/k3-am62a-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + thermal_zones: thermal-zones { 6 + main0_thermal: main0-thermal { 7 + polling-delay-passive = <250>; /* milliSeconds */ 8 + polling-delay = <500>; /* milliSeconds */ 9 + thermal-sensors = <&wkup_vtm0 0>; 10 + 11 + trips { 12 + main0_crit: main0-crit { 13 + temperature = <125000>; /* milliCelsius */ 14 + hysteresis = <2000>; /* milliCelsius */ 15 + type = "critical"; 16 + }; 17 + }; 18 + }; 19 + 20 + main1_thermal: main1-thermal { 21 + polling-delay-passive = <250>; /* milliSeconds */ 22 + polling-delay = <500>; /* milliSeconds */ 23 + thermal-sensors = <&wkup_vtm0 1>; 24 + 25 + trips { 26 + main1_crit: main1-crit { 27 + temperature = <125000>; /* milliCelsius */ 28 + hysteresis = <2000>; /* milliCelsius */ 29 + type = "critical"; 30 + }; 31 + }; 32 + }; 33 + 34 + main2_thermal: main2-thermal { 35 + polling-delay-passive = <250>; /* milliSeconds */ 36 + polling-delay = <500>; /* milliSeconds */ 37 + thermal-sensors = <&wkup_vtm0 2>; 38 + 39 + trips { 40 + main2_crit: main2-crit { 41 + temperature = <125000>; /* milliCelsius */ 42 + hysteresis = <2000>; /* milliCelsius */ 43 + type = "critical"; 44 + }; 45 + }; 46 + }; 47 + };
+19
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
··· 51 51 wakeup-source; 52 52 status = "disabled"; 53 53 }; 54 + 55 + wkup_rti0: watchdog@2b000000 { 56 + compatible = "ti,j7-rti-wdt"; 57 + reg = <0x00 0x2b000000 0x00 0x100>; 58 + clocks = <&k3_clks 132 0>; 59 + power-domains = <&k3_pds 132 TI_SCI_PD_EXCLUSIVE>; 60 + assigned-clocks = <&k3_clks 132 0>; 61 + assigned-clock-parents = <&k3_clks 132 2>; 62 + /* Used by DM firmware */ 63 + status = "reserved"; 64 + }; 65 + 66 + wkup_vtm0: temperature-sensor@b00000 { 67 + compatible = "ti,j7200-vtm"; 68 + reg = <0x00 0xb00000 0x00 0x400>, 69 + <0x00 0xb01000 0x00 0x400>; 70 + power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>; 71 + #thermal-sensor-cells = <1>; 72 + }; 54 73 };
+2
arch/arm64/boot/dts/ti/k3-am62a.dtsi
··· 115 115 <0x00 0x78100000 0x00 0x78100000 0x00 0x00008000>; /* DM R5 BTCM*/ 116 116 }; 117 117 }; 118 + 119 + #include "k3-am62a-thermal.dtsi" 118 120 }; 119 121 120 122 /* Now include the peripherals for each bus segments */
+48 -12
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
··· 17 17 model = "Texas Instruments AM62A7 SK"; 18 18 19 19 aliases { 20 + serial0 = &wkup_uart0; 20 21 serial2 = &main_uart0; 22 + serial3 = &main_uart1; 21 23 mmc1 = &sdhci1; 22 24 }; 23 25 ··· 116 114 }; 117 115 }; 118 116 119 - &main_pmx0 { 120 - main_uart0_pins_default: main-uart0-pins-default { 117 + &mcu_pmx0 { 118 + wkup_uart0_pins_default: wkup-uart0-default-pins { 121 119 pinctrl-single,pins = < 122 - AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14) UART0_RXD */ 123 - AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14) UART0_TXD */ 120 + AM62AX_MCU_IOPAD(0x0024, PIN_INPUT, 0) /* (C9) WKUP_UART0_RXD */ 121 + AM62AX_MCU_IOPAD(0x0028, PIN_OUTPUT, 0) /* (E9) WKUP_UART0_TXD */ 122 + AM62AX_MCU_IOPAD(0x002c, PIN_INPUT, 0) /* (C10) WKUP_UART0_CTSn */ 123 + AM62AX_MCU_IOPAD(0x0030, PIN_OUTPUT, 0) /* (C8) WKUP_UART0_RTSn */ 124 + >; 125 + }; 126 + }; 127 + 128 + /* WKUP UART0 is used for DM firmware logs */ 129 + &wkup_uart0 { 130 + pinctrl-names = "default"; 131 + pinctrl-0 = <&wkup_uart0_pins_default>; 132 + status = "reserved"; 133 + }; 134 + 135 + &main_pmx0 { 136 + main_uart0_pins_default: main-uart0-default-pins { 137 + pinctrl-single,pins = < 138 + AM62AX_IOPAD(0x1c8, PIN_INPUT, 0) /* (E14) UART0_RXD */ 139 + AM62AX_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (D15) UART0_TXD */ 124 140 >; 125 141 }; 126 142 127 - main_i2c0_pins_default: main-i2c0-pins-default { 143 + main_uart1_pins_default: main-uart1-default-pins { 144 + pinctrl-single,pins = < 145 + AM62AX_IOPAD(0x01e8, PIN_INPUT, 1) /* (C17) I2C1_SCL.UART1_RXD */ 146 + AM62AX_IOPAD(0x01ec, PIN_OUTPUT, 1) /* (E17) I2C1_SDA.UART1_TXD */ 147 + AM62AX_IOPAD(0x0194, PIN_INPUT, 2) /* (C19) MCASP0_AXR3.UART1_CTSn */ 148 + AM62AX_IOPAD(0x0198, PIN_OUTPUT, 2) /* (B19) MCASP0_AXR2.UART1_RTSn */ 149 + >; 150 + }; 151 + 152 + main_i2c0_pins_default: main-i2c0-default-pins { 128 153 pinctrl-single,pins = < 129 154 AM62AX_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16) I2C0_SCL */ 130 155 AM62AX_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16) I2C0_SDA */ 131 156 >; 132 157 }; 133 158 134 - main_i2c1_pins_default: main-i2c1-pins-default { 159 + main_i2c1_pins_default: main-i2c1-default-pins { 135 160 pinctrl-single,pins = < 136 161 AM62AX_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17) I2C1_SCL */ 137 162 AM62AX_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17) I2C1_SDA */ 138 163 >; 139 164 }; 140 165 141 - main_i2c2_pins_default: main-i2c2-pins-default { 166 + main_i2c2_pins_default: main-i2c2-default-pins { 142 167 pinctrl-single,pins = < 143 168 AM62AX_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22) GPMC0_CSn2.I2C2_SCL */ 144 169 AM62AX_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24) GPMC0_CSn3.I2C2_SDA */ 145 170 >; 146 171 }; 147 172 148 - main_mmc1_pins_default: main-mmc1-pins-default { 173 + main_mmc1_pins_default: main-mmc1-default-pins { 149 174 pinctrl-single,pins = < 150 175 AM62AX_IOPAD(0x23c, PIN_INPUT, 0) /* (A21) MMC1_CMD */ 151 176 AM62AX_IOPAD(0x234, PIN_INPUT, 0) /* (B22) MMC1_CLK */ ··· 184 155 >; 185 156 }; 186 157 187 - usr_led_pins_default: usr-led-pins-default { 158 + usr_led_pins_default: usr-led-default-pins { 188 159 pinctrl-single,pins = < 189 160 AM62AX_IOPAD(0x244, PIN_OUTPUT, 7) /* (D18) MMC1_SDWP.GPIO1_49 */ 190 161 >; 191 162 }; 192 163 193 - main_usb1_pins_default: main-usb1-pins-default { 164 + main_usb1_pins_default: main-usb1-default-pins { 194 165 pinctrl-single,pins = < 195 166 AM62AX_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18) USB1_DRVVBUS */ 196 167 >; 197 168 }; 198 169 199 - main_mdio1_pins_default: main-mdio1-pins-default { 170 + main_mdio1_pins_default: main-mdio1-default-pins { 200 171 pinctrl-single,pins = < 201 172 AM62AX_IOPAD(0x160, PIN_OUTPUT, 0) /* (V12) MDIO0_MDC */ 202 173 AM62AX_IOPAD(0x15c, PIN_INPUT, 0) /* (V13) MDIO0_MDIO */ 203 174 >; 204 175 }; 205 176 206 - main_rgmii1_pins_default: main-rgmii1-pins-default { 177 + main_rgmii1_pins_default: main-rgmii1-default-pins { 207 178 pinctrl-single,pins = < 208 179 AM62AX_IOPAD(0x14c, PIN_INPUT, 0) /* (AB16) RGMII1_RD0 */ 209 180 AM62AX_IOPAD(0x150, PIN_INPUT, 0) /* (V15) RGMII1_RD1 */ ··· 281 252 status = "okay"; 282 253 pinctrl-names = "default"; 283 254 pinctrl-0 = <&main_uart0_pins_default>; 255 + }; 256 + 257 + /* Main UART1 is used for TIFS firmware logs */ 258 + &main_uart1 { 259 + pinctrl-names = "default"; 260 + pinctrl-0 = <&main_uart1_pins_default>; 261 + status = "reserved"; 284 262 }; 285 263 286 264 &usbss1 {
+79 -18
arch/arm64/boot/dts/ti/k3-am62x-sk-common.dtsi
··· 25 25 26 26 chosen { 27 27 stdout-path = "serial2:115200n8"; 28 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 29 28 }; 30 29 31 30 memory@80000000 { 32 31 device_type = "memory"; 33 32 /* 2G RAM */ 34 33 reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 35 - 36 34 }; 37 35 38 36 reserved-memory { ··· 118 120 119 121 &main_pmx0 { 120 122 /* First pad number is ALW package and second is AMC package */ 121 - main_uart0_pins_default: main-uart0-pins-default { 123 + main_uart0_pins_default: main-uart0-default-pins { 122 124 pinctrl-single,pins = < 123 125 AM62X_IOPAD(0x1c8, PIN_INPUT, 0) /* (D14/A13) UART0_RXD */ 124 126 AM62X_IOPAD(0x1cc, PIN_OUTPUT, 0) /* (E14/E11) UART0_TXD */ 125 127 >; 126 128 }; 127 129 128 - main_i2c0_pins_default: main-i2c0-pins-default { 130 + main_uart1_pins_default: main-uart1-default-pins { 131 + pinctrl-single,pins = < 132 + AM62X_IOPAD(0x194, PIN_INPUT, 2) /* (B19/B18) MCASP0_AXR3.UART1_CTSn */ 133 + AM62X_IOPAD(0x198, PIN_OUTPUT, 2) /* (A19/B17) MCASP0_AXR2.UART1_RTSn */ 134 + AM62X_IOPAD(0x1ac, PIN_INPUT, 2) /* (E19/D15) MCASP0_AFSR.UART1_RXD */ 135 + AM62X_IOPAD(0x1b0, PIN_OUTPUT, 2) /* (A20/D16) MCASP0_ACLKR.UART1_TXD */ 136 + >; 137 + }; 138 + 139 + main_i2c0_pins_default: main-i2c0-default-pins { 129 140 pinctrl-single,pins = < 130 141 AM62X_IOPAD(0x1e0, PIN_INPUT_PULLUP, 0) /* (B16/E12) I2C0_SCL */ 131 142 AM62X_IOPAD(0x1e4, PIN_INPUT_PULLUP, 0) /* (A16/D14) I2C0_SDA */ 132 143 >; 133 144 }; 134 145 135 - main_i2c1_pins_default: main-i2c1-pins-default { 146 + main_i2c1_pins_default: main-i2c1-default-pins { 136 147 pinctrl-single,pins = < 137 148 AM62X_IOPAD(0x1e8, PIN_INPUT_PULLUP, 0) /* (B17/A17) I2C1_SCL */ 138 149 AM62X_IOPAD(0x1ec, PIN_INPUT_PULLUP, 0) /* (A17/A16) I2C1_SDA */ 139 150 >; 140 151 }; 141 152 142 - main_i2c2_pins_default: main-i2c2-pins-default { 153 + main_i2c2_pins_default: main-i2c2-default-pins { 143 154 pinctrl-single,pins = < 144 155 AM62X_IOPAD(0x0b0, PIN_INPUT_PULLUP, 1) /* (K22/H18) GPMC0_CSn2.I2C2_SCL */ 145 156 AM62X_IOPAD(0x0b4, PIN_INPUT_PULLUP, 1) /* (K24/H19) GPMC0_CSn3.I2C2_SDA */ 146 157 >; 147 158 }; 148 159 149 - main_mmc0_pins_default: main-mmc0-pins-default { 160 + main_mmc0_pins_default: main-mmc0-default-pins { 150 161 pinctrl-single,pins = < 151 162 AM62X_IOPAD(0x220, PIN_INPUT, 0) /* (Y3/V3) MMC0_CMD */ 152 163 AM62X_IOPAD(0x218, PIN_INPUT, 0) /* (AB1/Y1) MMC0_CLK */ ··· 170 163 >; 171 164 }; 172 165 173 - main_mmc1_pins_default: main-mmc1-pins-default { 166 + main_mmc1_pins_default: main-mmc1-default-pins { 174 167 pinctrl-single,pins = < 175 168 AM62X_IOPAD(0x23c, PIN_INPUT, 0) /* (A21/C18) MMC1_CMD */ 176 169 AM62X_IOPAD(0x234, PIN_INPUT, 0) /* (B22/A20) MMC1_CLK */ ··· 182 175 >; 183 176 }; 184 177 185 - usr_led_pins_default: usr-led-pins-default { 178 + usr_led_pins_default: usr-led-default-pins { 186 179 pinctrl-single,pins = < 187 180 AM62X_IOPAD(0x244, PIN_OUTPUT, 7) /* (C17/B15) MMC1_SDWP.GPIO1_49 */ 188 181 >; 189 182 }; 190 183 191 - main_mdio1_pins_default: main-mdio1-pins-default { 184 + main_mdio1_pins_default: main-mdio1-default-pins { 192 185 pinctrl-single,pins = < 193 186 AM62X_IOPAD(0x160, PIN_OUTPUT, 0) /* (AD24/V17) MDIO0_MDC */ 194 187 AM62X_IOPAD(0x15c, PIN_INPUT, 0) /* (AB22/U16) MDIO0_MDIO */ 195 188 >; 196 189 }; 197 190 198 - main_rgmii1_pins_default: main-rgmii1-pins-default { 191 + main_rgmii1_pins_default: main-rgmii1-default-pins { 199 192 pinctrl-single,pins = < 200 193 AM62X_IOPAD(0x14c, PIN_INPUT, 0) /* (AB17/W15) RGMII1_RD0 */ 201 194 AM62X_IOPAD(0x150, PIN_INPUT, 0) /* (AC17/Y16) RGMII1_RD1 */ ··· 212 205 >; 213 206 }; 214 207 215 - main_usb1_pins_default: main-usb1-pins-default { 208 + main_usb1_pins_default: main-usb1-default-pins { 216 209 pinctrl-single,pins = < 217 210 AM62X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (F18/E16) USB1_DRVVBUS */ 218 211 >; 219 212 }; 220 213 221 - main_mcasp1_pins_default: main-mcasp1-pins-default { 214 + main_mcasp1_pins_default: main-mcasp1-default-pins { 222 215 pinctrl-single,pins = < 223 - AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24) GPMC0_BE0N_CLE.MCASP1_ACLKX */ 224 - AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23) GPMC0_WAIT0.MCASP1_AFSX */ 225 - AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25) GPMC0_WEN.MCASP1_AXR0 */ 226 - AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23) GPMC0_ADVN_ALE.MCASP1_AXR2 */ 216 + AM62X_IOPAD(0x090, PIN_INPUT, 2) /* (M24/K17) GPMC0_BE0N_CLE.MCASP1_ACLKX */ 217 + AM62X_IOPAD(0x098, PIN_INPUT, 2) /* (U23/P21) GPMC0_WAIT0.MCASP1_AFSX */ 218 + AM62X_IOPAD(0x08c, PIN_OUTPUT, 2) /* (L25/J17) GPMC0_WEN.MCASP1_AXR0 */ 219 + AM62X_IOPAD(0x084, PIN_INPUT, 2) /* (L23/K20) GPMC0_ADVN_ALE.MCASP1_AXR2 */ 220 + >; 221 + }; 222 + }; 223 + 224 + &mcu_pmx0 { 225 + wkup_uart0_pins_default: wkup-uart0-default-pins { 226 + pinctrl-single,pins = < 227 + AM62X_MCU_IOPAD(0x02c, PIN_INPUT, 0) /* (C6/A7) WKUP_UART0_CTSn */ 228 + AM62X_MCU_IOPAD(0x030, PIN_OUTPUT, 0) /* (A4/B4) WKUP_UART0_RTSn */ 229 + AM62X_MCU_IOPAD(0x024, PIN_INPUT, 0) /* (B4/B5) WKUP_UART0_RXD */ 230 + AM62X_MCU_IOPAD(0x028, PIN_OUTPUT, 0) /* (C5/C6) WKUP_UART0_TXD */ 227 231 >; 228 232 }; 229 233 }; ··· 242 224 &wkup_uart0 { 243 225 /* WKUP UART0 is used by DM firmware */ 244 226 status = "reserved"; 227 + pinctrl-names = "default"; 228 + pinctrl-0 = <&wkup_uart0_pins_default>; 245 229 }; 246 230 247 231 &main_uart0 { ··· 255 235 &main_uart1 { 256 236 /* Main UART1 is used by TIFS firmware */ 257 237 status = "reserved"; 238 + pinctrl-names = "default"; 239 + pinctrl-0 = <&main_uart1_pins_default>; 258 240 }; 259 241 260 242 &main_i2c0 { ··· 264 242 pinctrl-names = "default"; 265 243 pinctrl-0 = <&main_i2c0_pins_default>; 266 244 clock-frequency = <400000>; 245 + 246 + eeprom@51 { 247 + /* AT24C512C-MAHM-T or M24512-DFMC6TG */ 248 + compatible = "atmel,24c512"; 249 + reg = <0x51>; 250 + }; 251 + 252 + typec_pd0: tps6598x@3f { 253 + compatible = "ti,tps6598x"; 254 + reg = <0x3f>; 255 + 256 + connector { 257 + compatible = "usb-c-connector"; 258 + label = "USB-C"; 259 + self-powered; 260 + data-role = "dual"; 261 + power-role = "sink"; 262 + ports { 263 + #address-cells = <1>; 264 + #size-cells = <0>; 265 + 266 + port@0 { 267 + reg = <0>; 268 + usb_con_hs: endpoint { 269 + remote-endpoint = <&usb0_hs_ep>; 270 + }; 271 + }; 272 + }; 273 + }; 274 + }; 267 275 }; 268 276 269 277 &main_i2c1 { ··· 373 321 }; 374 322 375 323 &usb0 { 376 - dr_mode = "peripheral"; 324 + #address-cells = <1>; 325 + #size-cells = <0>; 326 + usb-role-switch; 327 + 328 + port@0 { 329 + reg = <0>; 330 + usb0_hs_ep: endpoint { 331 + remote-endpoint = <&usb_con_hs>; 332 + }; 333 + }; 377 334 }; 378 335 379 336 &usb1 {
+164 -7
arch/arm64/boot/dts/ti/k3-am64-main.dtsi
··· 228 228 }; 229 229 }; 230 230 231 + main_timer0: timer@2400000 { 232 + compatible = "ti,am654-timer"; 233 + reg = <0x00 0x2400000 0x00 0x400>; 234 + interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 235 + clocks = <&k3_clks 36 1>; 236 + clock-names = "fck"; 237 + assigned-clocks = <&k3_clks 36 1>; 238 + assigned-clock-parents = <&k3_clks 36 2>; 239 + power-domains = <&k3_pds 36 TI_SCI_PD_EXCLUSIVE>; 240 + ti,timer-pwm; 241 + }; 242 + 243 + main_timer1: timer@2410000 { 244 + compatible = "ti,am654-timer"; 245 + reg = <0x00 0x2410000 0x00 0x400>; 246 + interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>; 247 + clocks = <&k3_clks 37 1>; 248 + clock-names = "fck"; 249 + assigned-clocks = <&k3_clks 37 1>; 250 + assigned-clock-parents = <&k3_clks 37 2>; 251 + power-domains = <&k3_pds 37 TI_SCI_PD_EXCLUSIVE>; 252 + ti,timer-pwm; 253 + }; 254 + 255 + main_timer2: timer@2420000 { 256 + compatible = "ti,am654-timer"; 257 + reg = <0x00 0x2420000 0x00 0x400>; 258 + interrupts = <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>; 259 + clocks = <&k3_clks 38 1>; 260 + clock-names = "fck"; 261 + assigned-clocks = <&k3_clks 38 1>; 262 + assigned-clock-parents = <&k3_clks 38 2>; 263 + power-domains = <&k3_pds 38 TI_SCI_PD_EXCLUSIVE>; 264 + ti,timer-pwm; 265 + }; 266 + 267 + main_timer3: timer@2430000 { 268 + compatible = "ti,am654-timer"; 269 + reg = <0x00 0x2430000 0x00 0x400>; 270 + interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>; 271 + clocks = <&k3_clks 39 1>; 272 + clock-names = "fck"; 273 + assigned-clocks = <&k3_clks 39 1>; 274 + assigned-clock-parents = <&k3_clks 39 2>; 275 + power-domains = <&k3_pds 39 TI_SCI_PD_EXCLUSIVE>; 276 + ti,timer-pwm; 277 + }; 278 + 279 + main_timer4: timer@2440000 { 280 + compatible = "ti,am654-timer"; 281 + reg = <0x00 0x2440000 0x00 0x400>; 282 + interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>; 283 + clocks = <&k3_clks 40 1>; 284 + clock-names = "fck"; 285 + assigned-clocks = <&k3_clks 40 1>; 286 + assigned-clock-parents = <&k3_clks 40 2>; 287 + power-domains = <&k3_pds 40 TI_SCI_PD_EXCLUSIVE>; 288 + ti,timer-pwm; 289 + }; 290 + 291 + main_timer5: timer@2450000 { 292 + compatible = "ti,am654-timer"; 293 + reg = <0x00 0x2450000 0x00 0x400>; 294 + interrupts = <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>; 295 + clocks = <&k3_clks 41 1>; 296 + clock-names = "fck"; 297 + assigned-clocks = <&k3_clks 41 1>; 298 + assigned-clock-parents = <&k3_clks 41 2>; 299 + power-domains = <&k3_pds 41 TI_SCI_PD_EXCLUSIVE>; 300 + ti,timer-pwm; 301 + }; 302 + 303 + main_timer6: timer@2460000 { 304 + compatible = "ti,am654-timer"; 305 + reg = <0x00 0x2460000 0x00 0x400>; 306 + interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; 307 + clocks = <&k3_clks 42 1>; 308 + clock-names = "fck"; 309 + assigned-clocks = <&k3_clks 42 1>; 310 + assigned-clock-parents = <&k3_clks 42 2>; 311 + power-domains = <&k3_pds 42 TI_SCI_PD_EXCLUSIVE>; 312 + ti,timer-pwm; 313 + }; 314 + 315 + main_timer7: timer@2470000 { 316 + compatible = "ti,am654-timer"; 317 + reg = <0x00 0x2470000 0x00 0x400>; 318 + interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; 319 + clocks = <&k3_clks 43 1>; 320 + clock-names = "fck"; 321 + assigned-clocks = <&k3_clks 43 1>; 322 + assigned-clock-parents = <&k3_clks 43 2>; 323 + power-domains = <&k3_pds 43 TI_SCI_PD_EXCLUSIVE>; 324 + ti,timer-pwm; 325 + }; 326 + 327 + main_timer8: timer@2480000 { 328 + compatible = "ti,am654-timer"; 329 + reg = <0x00 0x2480000 0x00 0x400>; 330 + interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>; 331 + clocks = <&k3_clks 44 1>; 332 + clock-names = "fck"; 333 + assigned-clocks = <&k3_clks 44 1>; 334 + assigned-clock-parents = <&k3_clks 44 2>; 335 + power-domains = <&k3_pds 44 TI_SCI_PD_EXCLUSIVE>; 336 + ti,timer-pwm; 337 + }; 338 + 339 + main_timer9: timer@2490000 { 340 + compatible = "ti,am654-timer"; 341 + reg = <0x00 0x2490000 0x00 0x400>; 342 + interrupts = <GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>; 343 + clocks = <&k3_clks 45 1>; 344 + clock-names = "fck"; 345 + assigned-clocks = <&k3_clks 45 1>; 346 + assigned-clock-parents = <&k3_clks 45 2>; 347 + power-domains = <&k3_pds 45 TI_SCI_PD_EXCLUSIVE>; 348 + ti,timer-pwm; 349 + }; 350 + 351 + main_timer10: timer@24a0000 { 352 + compatible = "ti,am654-timer"; 353 + reg = <0x00 0x24a0000 0x00 0x400>; 354 + interrupts = <GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>; 355 + clocks = <&k3_clks 46 1>; 356 + clock-names = "fck"; 357 + assigned-clocks = <&k3_clks 46 1>; 358 + assigned-clock-parents = <&k3_clks 46 2>; 359 + power-domains = <&k3_pds 46 TI_SCI_PD_EXCLUSIVE>; 360 + ti,timer-pwm; 361 + }; 362 + 363 + main_timer11: timer@24b0000 { 364 + compatible = "ti,am654-timer"; 365 + reg = <0x00 0x24b0000 0x00 0x400>; 366 + interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>; 367 + clocks = <&k3_clks 47 1>; 368 + clock-names = "fck"; 369 + assigned-clocks = <&k3_clks 47 1>; 370 + assigned-clock-parents = <&k3_clks 47 2>; 371 + power-domains = <&k3_pds 47 TI_SCI_PD_EXCLUSIVE>; 372 + ti,timer-pwm; 373 + }; 374 + 375 + main_esm: esm@420000 { 376 + compatible = "ti,j721e-esm"; 377 + reg = <0x00 0x420000 0x00 0x1000>; 378 + ti,esm-pins = <160>, <161>; 379 + }; 380 + 231 381 main_uart0: serial@2800000 { 232 382 compatible = "ti,am64-uart", "ti,am654-uart"; 233 383 reg = <0x00 0x02800000 0x00 0x100>; 234 384 interrupts = <GIC_SPI 178 IRQ_TYPE_LEVEL_HIGH>; 235 385 clock-frequency = <48000000>; 236 - current-speed = <115200>; 237 386 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 238 387 clocks = <&k3_clks 146 0>; 239 388 clock-names = "fclk"; ··· 394 245 reg = <0x00 0x02810000 0x00 0x100>; 395 246 interrupts = <GIC_SPI 179 IRQ_TYPE_LEVEL_HIGH>; 396 247 clock-frequency = <48000000>; 397 - current-speed = <115200>; 398 248 power-domains = <&k3_pds 152 TI_SCI_PD_EXCLUSIVE>; 399 249 clocks = <&k3_clks 152 0>; 400 250 clock-names = "fclk"; ··· 405 257 reg = <0x00 0x02820000 0x00 0x100>; 406 258 interrupts = <GIC_SPI 180 IRQ_TYPE_LEVEL_HIGH>; 407 259 clock-frequency = <48000000>; 408 - current-speed = <115200>; 409 260 power-domains = <&k3_pds 153 TI_SCI_PD_EXCLUSIVE>; 410 261 clocks = <&k3_clks 153 0>; 411 262 clock-names = "fclk"; ··· 416 269 reg = <0x00 0x02830000 0x00 0x100>; 417 270 interrupts = <GIC_SPI 181 IRQ_TYPE_LEVEL_HIGH>; 418 271 clock-frequency = <48000000>; 419 - current-speed = <115200>; 420 272 power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; 421 273 clocks = <&k3_clks 154 0>; 422 274 clock-names = "fclk"; ··· 427 281 reg = <0x00 0x02840000 0x00 0x100>; 428 282 interrupts = <GIC_SPI 182 IRQ_TYPE_LEVEL_HIGH>; 429 283 clock-frequency = <48000000>; 430 - current-speed = <115200>; 431 284 power-domains = <&k3_pds 155 TI_SCI_PD_EXCLUSIVE>; 432 285 clocks = <&k3_clks 155 0>; 433 286 clock-names = "fclk"; ··· 438 293 reg = <0x00 0x02850000 0x00 0x100>; 439 294 interrupts = <GIC_SPI 183 IRQ_TYPE_LEVEL_HIGH>; 440 295 clock-frequency = <48000000>; 441 - current-speed = <115200>; 442 296 power-domains = <&k3_pds 156 TI_SCI_PD_EXCLUSIVE>; 443 297 clocks = <&k3_clks 156 0>; 444 298 clock-names = "fclk"; ··· 449 305 reg = <0x00 0x02860000 0x00 0x100>; 450 306 interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>; 451 307 clock-frequency = <48000000>; 452 - current-speed = <115200>; 453 308 power-domains = <&k3_pds 158 TI_SCI_PD_EXCLUSIVE>; 454 309 clocks = <&k3_clks 158 0>; 455 310 clock-names = "fclk"; ··· 819 676 #mbox-cells = <1>; 820 677 ti,mbox-num-users = <4>; 821 678 ti,mbox-num-fifos = <16>; 679 + status = "disabled"; 822 680 }; 823 681 824 682 mailbox0_cluster3: mailbox@29030000 { ··· 830 686 #mbox-cells = <1>; 831 687 ti,mbox-num-users = <4>; 832 688 ti,mbox-num-fifos = <16>; 689 + status = "disabled"; 833 690 }; 834 691 835 692 mailbox0_cluster4: mailbox@29040000 { ··· 841 696 #mbox-cells = <1>; 842 697 ti,mbox-num-users = <4>; 843 698 ti,mbox-num-fifos = <16>; 699 + status = "disabled"; 844 700 }; 845 701 846 702 mailbox0_cluster5: mailbox@29050000 { ··· 852 706 #mbox-cells = <1>; 853 707 ti,mbox-num-users = <4>; 854 708 ti,mbox-num-fifos = <16>; 709 + status = "disabled"; 855 710 }; 856 711 857 712 mailbox0_cluster6: mailbox@29060000 { ··· 862 715 #mbox-cells = <1>; 863 716 ti,mbox-num-users = <4>; 864 717 ti,mbox-num-fifos = <16>; 718 + status = "disabled"; 865 719 }; 866 720 867 721 mailbox0_cluster7: mailbox@29070000 { ··· 872 724 #mbox-cells = <1>; 873 725 ti,mbox-num-users = <4>; 874 726 ti,mbox-num-fifos = <16>; 727 + status = "disabled"; 875 728 }; 876 729 877 730 main_r5fss0: r5fss@78000000 { ··· 1540 1391 clocks = <&k3_clks 54 0>; 1541 1392 clock-names = "fck"; 1542 1393 status = "disabled"; 1394 + }; 1395 + 1396 + main_vtm0: temperature-sensor@b00000 { 1397 + compatible = "ti,j7200-vtm"; 1398 + reg = <0x00 0xb00000 0x00 0x400>, 1399 + <0x00 0xb01000 0x00 0x400>; 1400 + power-domains = <&k3_pds 95 TI_SCI_PD_EXCLUSIVE>; 1401 + #thermal-sensor-cells = <1>; 1543 1402 }; 1544 1403 };
+51 -2
arch/arm64/boot/dts/ti/k3-am64-mcu.dtsi
··· 6 6 */ 7 7 8 8 &cbass_mcu { 9 + /* 10 + * The MCU domain timer interrupts are routed only to the ESM module, 11 + * and not currently available for Linux. The MCU domain timers are 12 + * of limited use without interrupts, and likely reserved by the ESM. 13 + */ 14 + mcu_timer0: timer@4800000 { 15 + compatible = "ti,am654-timer"; 16 + reg = <0x00 0x4800000 0x00 0x400>; 17 + clocks = <&k3_clks 35 1>; 18 + clock-names = "fck"; 19 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 20 + ti,timer-pwm; 21 + status = "reserved"; 22 + }; 23 + 24 + mcu_timer1: timer@4810000 { 25 + compatible = "ti,am654-timer"; 26 + reg = <0x00 0x4810000 0x00 0x400>; 27 + clocks = <&k3_clks 48 1>; 28 + clock-names = "fck"; 29 + power-domains = <&k3_pds 48 TI_SCI_PD_EXCLUSIVE>; 30 + ti,timer-pwm; 31 + status = "reserved"; 32 + }; 33 + 34 + mcu_timer2: timer@4820000 { 35 + compatible = "ti,am654-timer"; 36 + reg = <0x00 0x4820000 0x00 0x400>; 37 + clocks = <&k3_clks 49 1>; 38 + clock-names = "fck"; 39 + power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>; 40 + ti,timer-pwm; 41 + status = "reserved"; 42 + }; 43 + 44 + mcu_timer3: timer@4830000 { 45 + compatible = "ti,am654-timer"; 46 + reg = <0x00 0x4830000 0x00 0x400>; 47 + clocks = <&k3_clks 50 1>; 48 + clock-names = "fck"; 49 + power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>; 50 + ti,timer-pwm; 51 + status = "reserved"; 52 + }; 53 + 9 54 mcu_uart0: serial@4a00000 { 10 55 compatible = "ti,am64-uart", "ti,am654-uart"; 11 56 reg = <0x00 0x04a00000 0x00 0x100>; 12 57 interrupts = <GIC_SPI 185 IRQ_TYPE_LEVEL_HIGH>; 13 - current-speed = <115200>; 14 58 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 15 59 clocks = <&k3_clks 149 0>; 16 60 clock-names = "fclk"; ··· 65 21 compatible = "ti,am64-uart", "ti,am654-uart"; 66 22 reg = <0x00 0x04a10000 0x00 0x100>; 67 23 interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>; 68 - current-speed = <115200>; 69 24 power-domains = <&k3_pds 160 TI_SCI_PD_EXCLUSIVE>; 70 25 clocks = <&k3_clks 160 0>; 71 26 clock-names = "fclk"; ··· 151 108 #pinctrl-cells = <1>; 152 109 pinctrl-single,register-width = <32>; 153 110 pinctrl-single,function-mask = <0xffffffff>; 111 + }; 112 + 113 + mcu_esm: esm@4100000 { 114 + compatible = "ti,j721e-esm"; 115 + reg = <0x00 0x4100000 0x00 0x1000>; 116 + ti,esm-pins = <0>, <1>; 154 117 }; 155 118 };
+6 -30
arch/arm64/boot/dts/ti/k3-am64-phycore-som.dtsi
··· 66 66 }; 67 67 68 68 &main_pmx0 { 69 - cpsw_mdio_pins_default: cpsw-mdio-pins-default { 69 + cpsw_mdio_pins_default: cpsw-mdio-default-pins { 70 70 pinctrl-single,pins = < 71 71 AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 72 72 AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ ··· 74 74 >; 75 75 }; 76 76 77 - cpsw_rgmii1_pins_default: cpsw-rgmii1-pins-default { 77 + cpsw_rgmii1_pins_default: cpsw-rgmii1-default-pins { 78 78 pinctrl-single,pins = < 79 79 AM64X_IOPAD(0x0184, PIN_INPUT, 4) /* (W6) PRG0_PRU0_GPO9.RGMII1_RX_CTL */ 80 80 AM64X_IOPAD(0x0188, PIN_INPUT, 4) /* (AA5) PRG0_PRU0_GPO10.RGMII1_RXC */ ··· 92 92 >; 93 93 }; 94 94 95 - eeprom_wp_pins_default: eeprom-wp-pins-default { 95 + eeprom_wp_pins_default: eeprom-wp-default-pins { 96 96 pinctrl-single,pins = < 97 97 AM64X_IOPAD(0x0208, PIN_OUTPUT, 7) /* (D12) SPI0_CS0.GPIO1_42 */ 98 98 >; 99 99 }; 100 100 101 - leds_pins_default: leds-pins-default { 101 + leds_pins_default: leds-default-pins { 102 102 pinctrl-single,pins = < 103 103 AM64X_IOPAD(0x0030, PIN_OUTPUT, 7) /* (L18) OSPI0_CSn1.GPIO0_12 */ 104 104 >; 105 105 }; 106 106 107 - main_i2c0_pins_default: main-i2c0-pins-default { 107 + main_i2c0_pins_default: main-i2c0-default-pins { 108 108 pinctrl-single,pins = < 109 109 AM64X_IOPAD(0x0260, PIN_INPUT, 0) /* (A18) I2C0_SCL */ 110 110 AM64X_IOPAD(0x0264, PIN_INPUT, 0) /* (B18) I2C0_SDA */ 111 111 >; 112 112 }; 113 113 114 - ospi0_pins_default: ospi0-pins-default { 114 + ospi0_pins_default: ospi0-default-pins { 115 115 pinctrl-single,pins = < 116 116 AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 117 117 AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */ ··· 157 157 }; 158 158 159 159 &cpsw_port2 { 160 - status = "disabled"; 161 - }; 162 - 163 - &mailbox0_cluster2 { 164 - status = "disabled"; 165 - }; 166 - 167 - &mailbox0_cluster3 { 168 - status = "disabled"; 169 - }; 170 - 171 - &mailbox0_cluster4 { 172 - status = "disabled"; 173 - }; 174 - 175 - &mailbox0_cluster5 { 176 - status = "disabled"; 177 - }; 178 - 179 - &mailbox0_cluster6 { 180 - status = "disabled"; 181 - }; 182 - 183 - &mailbox0_cluster7 { 184 160 status = "disabled"; 185 161 }; 186 162
+33
arch/arm64/boot/dts/ti/k3-am64-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + thermal_zones: thermal-zones { 6 + main0_thermal: main0-thermal { 7 + polling-delay-passive = <250>; /* milliSeconds */ 8 + polling-delay = <500>; /* milliSeconds */ 9 + thermal-sensors = <&main_vtm0 0>; 10 + 11 + trips { 12 + main0_crit: main0-crit { 13 + temperature = <105000>; /* milliCelsius */ 14 + hysteresis = <2000>; /* milliCelsius */ 15 + type = "critical"; 16 + }; 17 + }; 18 + }; 19 + 20 + main1_thermal: main1-thermal { 21 + polling-delay-passive = <250>; /* milliSeconds */ 22 + polling-delay = <500>; /* milliSeconds */ 23 + thermal-sensors = <&main_vtm0 1>; 24 + 25 + trips { 26 + main1_crit: main1-crit { 27 + temperature = <105000>; /* milliCelsius */ 28 + hysteresis = <2000>; /* milliCelsius */ 29 + type = "critical"; 30 + }; 31 + }; 32 + }; 33 + };
+3 -16
arch/arm64/boot/dts/ti/k3-am64.dtsi
··· 19 19 #address-cells = <2>; 20 20 #size-cells = <2>; 21 21 22 - aliases { 23 - serial0 = &mcu_uart0; 24 - serial1 = &mcu_uart1; 25 - serial2 = &main_uart0; 26 - serial3 = &main_uart1; 27 - serial4 = &main_uart2; 28 - serial5 = &main_uart3; 29 - serial6 = &main_uart4; 30 - serial7 = &main_uart5; 31 - serial8 = &main_uart6; 32 - ethernet0 = &cpsw_port1; 33 - ethernet1 = &cpsw_port2; 34 - mmc0 = &sdhci0; 35 - mmc1 = &sdhci1; 36 - }; 37 - 38 22 chosen { }; 39 23 40 24 firmware { ··· 54 70 <0x00 0x00420000 0x00 0x00420000 0x00 0x00001000>, /* ESM0 */ 55 71 <0x00 0x00600000 0x00 0x00600000 0x00 0x00001100>, /* GPIO */ 56 72 <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* Timesync router */ 73 + <0x00 0x00b00000 0x00 0x00b00000 0x00 0x00002400>, /* VTM */ 57 74 <0x00 0x01000000 0x00 0x01000000 0x00 0x02330400>, /* First peripheral window */ 58 75 <0x00 0x08000000 0x00 0x08000000 0x00 0x00200000>, /* Main CPSW */ 59 76 <0x00 0x0d000000 0x00 0x0d000000 0x00 0x00800000>, /* PCIE_CORE */ ··· 91 106 ranges = <0x00 0x04000000 0x00 0x04000000 0x00 0x01ff1400>; /* Peripheral window */ 92 107 }; 93 108 }; 109 + 110 + #include "k3-am64-thermal.dtsi" 94 111 }; 95 112 96 113 /* Now include the peripherals for each bus segments */
+135 -38
arch/arm64/boot/dts/ti/k3-am642-evm.dts
··· 17 17 model = "Texas Instruments AM642 EVM"; 18 18 19 19 chosen { 20 - stdout-path = "serial2:115200n8"; 21 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 20 + stdout-path = &main_uart0; 21 + }; 22 + 23 + aliases { 24 + serial0 = &mcu_uart0; 25 + serial1 = &main_uart1; 26 + serial2 = &main_uart0; 27 + serial3 = &main_uart3; 28 + i2c0 = &main_i2c0; 29 + i2c1 = &main_i2c1; 30 + mmc0 = &sdhci0; 31 + mmc1 = &sdhci1; 32 + ethernet0 = &cpsw_port1; 33 + ethernet1 = &cpsw_port2; 22 34 }; 23 35 24 36 memory@80000000 { 25 37 device_type = "memory"; 26 38 /* 2G RAM */ 27 39 reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 28 - 29 40 }; 30 41 31 42 reserved-memory { ··· 105 94 }; 106 95 }; 107 96 108 - evm_12v0: fixedregulator-evm12v0 { 97 + evm_12v0: regulator-0 { 109 98 /* main DC jack */ 110 99 compatible = "regulator-fixed"; 111 100 regulator-name = "evm_12v0"; ··· 115 104 regulator-boot-on; 116 105 }; 117 106 118 - vsys_5v0: fixedregulator-vsys5v0 { 107 + vsys_5v0: regulator-1 { 119 108 /* output of LM5140 */ 120 109 compatible = "regulator-fixed"; 121 110 regulator-name = "vsys_5v0"; ··· 126 115 regulator-boot-on; 127 116 }; 128 117 129 - vsys_3v3: fixedregulator-vsys3v3 { 118 + vsys_3v3: regulator-2 { 130 119 /* output of LM5140 */ 131 120 compatible = "regulator-fixed"; 132 121 regulator-name = "vsys_3v3"; ··· 137 126 regulator-boot-on; 138 127 }; 139 128 140 - vdd_mmc1: fixed-regulator-sd { 129 + vdd_mmc1: regulator-3 { 141 130 /* TPS2051BD */ 142 131 compatible = "regulator-fixed"; 143 132 regulator-name = "vdd_mmc1"; ··· 149 138 gpio = <&exp1 6 GPIO_ACTIVE_HIGH>; 150 139 }; 151 140 152 - vddb: fixedregulator-vddb { 141 + vddb: regulator-4 { 153 142 compatible = "regulator-fixed"; 154 143 regulator-name = "vddb_3v3_display"; 155 144 regulator-min-microvolt = <3300000>; 156 145 regulator-max-microvolt = <3300000>; 157 146 vin-supply = <&vsys_3v3>; 147 + regulator-always-on; 148 + regulator-boot-on; 149 + }; 150 + 151 + vtt_supply: regulator-5 { 152 + compatible = "regulator-fixed"; 153 + regulator-name = "vtt"; 154 + pinctrl-names = "default"; 155 + pinctrl-0 = <&ddr_vtt_pins_default>; 156 + regulator-min-microvolt = <3300000>; 157 + regulator-max-microvolt = <3300000>; 158 + gpio = <&main_gpio0 12 GPIO_ACTIVE_HIGH>; 159 + vin-supply = <&vsys_3v3>; 160 + enable-active-high; 158 161 regulator-always-on; 159 162 regulator-boot-on; 160 163 }; ··· 226 201 }; 227 202 228 203 &main_pmx0 { 229 - main_mmc1_pins_default: main-mmc1-pins-default { 204 + main_mmc1_pins_default: main-mmc1-default-pins { 230 205 pinctrl-single,pins = < 231 206 AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ 232 207 AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */ ··· 240 215 >; 241 216 }; 242 217 243 - main_uart0_pins_default: main-uart0-pins-default { 218 + main_uart1_pins_default: main-uart1-default-pins { 219 + pinctrl-single,pins = < 220 + AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ 221 + AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ 222 + AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */ 223 + AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ 224 + >; 225 + }; 226 + 227 + main_uart0_pins_default: main-uart0-default-pins { 244 228 pinctrl-single,pins = < 245 229 AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ 246 230 AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ ··· 258 224 >; 259 225 }; 260 226 261 - main_spi0_pins_default: main-spi0-pins-default { 227 + main_spi0_pins_default: main-spi0-default-pins { 262 228 pinctrl-single,pins = < 263 229 AM64X_IOPAD(0x0210, PIN_INPUT, 0) /* (D13) SPI0_CLK */ 264 230 AM64X_IOPAD(0x0208, PIN_OUTPUT, 0) /* (D12) SPI0_CS0 */ ··· 267 233 >; 268 234 }; 269 235 270 - main_i2c1_pins_default: main-i2c1-pins-default { 236 + main_i2c0_pins_default: main-i2c0-default-pins { 237 + pinctrl-single,pins = < 238 + AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ 239 + AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ 240 + >; 241 + }; 242 + 243 + main_i2c1_pins_default: main-i2c1-default-pins { 271 244 pinctrl-single,pins = < 272 245 AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ 273 246 AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ 274 247 >; 275 248 }; 276 249 277 - mdio1_pins_default: mdio1-pins-default { 250 + mdio1_pins_default: mdio1-default-pins { 278 251 pinctrl-single,pins = < 279 252 AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ 280 253 AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 281 254 >; 282 255 }; 283 256 284 - rgmii1_pins_default: rgmii1-pins-default { 257 + rgmii1_pins_default: rgmii1-default-pins { 285 258 pinctrl-single,pins = < 286 259 AM64X_IOPAD(0x01cc, PIN_INPUT, 4) /* (W5) PRG0_PRU1_GPO7.RGMII1_RD0 */ 287 260 AM64X_IOPAD(0x01d4, PIN_INPUT, 4) /* (Y5) PRG0_PRU1_GPO9.RGMII1_RD1 */ ··· 305 264 >; 306 265 }; 307 266 308 - rgmii2_pins_default: rgmii2-pins-default { 267 + rgmii2_pins_default: rgmii2-default-pins { 309 268 pinctrl-single,pins = < 310 269 AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */ 311 270 AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */ ··· 322 281 >; 323 282 }; 324 283 325 - main_usb0_pins_default: main-usb0-pins-default { 284 + main_usb0_pins_default: main-usb0-default-pins { 326 285 pinctrl-single,pins = < 327 286 AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 328 287 >; 329 288 }; 330 289 331 - ospi0_pins_default: ospi0-pins-default { 290 + ospi0_pins_default: ospi0-default-pins { 332 291 pinctrl-single,pins = < 333 292 AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 334 293 AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ ··· 344 303 >; 345 304 }; 346 305 347 - main_ecap0_pins_default: main-ecap0-pins-default { 306 + main_ecap0_pins_default: main-ecap0-default-pins { 348 307 pinctrl-single,pins = < 349 308 AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ 350 309 >; 351 310 }; 352 311 353 - main_mcan0_pins_default: main-mcan0-pins-default { 312 + main_mcan0_pins_default: main-mcan0-default-pins { 354 313 pinctrl-single,pins = < 355 314 AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */ 356 315 AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (A17) MCAN0_TX */ 357 316 >; 358 317 }; 359 318 360 - main_mcan1_pins_default: main-mcan1-pins-default { 319 + main_mcan1_pins_default: main-mcan1-default-pins { 361 320 pinctrl-single,pins = < 362 321 AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */ 363 322 AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ 323 + >; 324 + }; 325 + 326 + ddr_vtt_pins_default: ddr-vtt-default-pins { 327 + pinctrl-single,pins = < 328 + AM64X_IOPAD(0x0030, PIN_OUTPUT_PULLUP, 7) /* (L18) OSPI0_CSN1.GPIO0_12 */ 364 329 >; 365 330 }; 366 331 }; ··· 375 328 status = "okay"; 376 329 pinctrl-names = "default"; 377 330 pinctrl-0 = <&main_uart0_pins_default>; 331 + current-speed = <115200>; 378 332 }; 379 333 380 334 /* main_uart1 is reserved for firmware usage */ 381 335 &main_uart1 { 382 336 status = "reserved"; 337 + pinctrl-names = "default"; 338 + pinctrl-0 = <&main_uart1_pins_default>; 339 + }; 340 + 341 + &main_i2c0 { 342 + status = "okay"; 343 + pinctrl-names = "default"; 344 + pinctrl-0 = <&main_i2c0_pins_default>; 345 + clock-frequency = <400000>; 346 + 347 + eeprom@50 { 348 + /* AT24CM01 */ 349 + compatible = "atmel,24c1024"; 350 + reg = <0x50>; 351 + }; 383 352 }; 384 353 385 354 &main_i2c1 { ··· 488 425 489 426 &cpsw3g { 490 427 pinctrl-names = "default"; 491 - pinctrl-0 = <&rgmii1_pins_default 492 - &rgmii2_pins_default>; 428 + pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>; 493 429 }; 494 430 495 431 &cpsw_port1 { ··· 533 471 cdns,tchsh-ns = <60>; 534 472 cdns,tslch-ns = <60>; 535 473 cdns,read-delay = <4>; 474 + 475 + partitions { 476 + compatible = "fixed-partitions"; 477 + #address-cells = <1>; 478 + #size-cells = <1>; 479 + 480 + partition@0 { 481 + label = "ospi.tiboot3"; 482 + reg = <0x0 0x100000>; 483 + }; 484 + 485 + partition@100000 { 486 + label = "ospi.tispl"; 487 + reg = <0x100000 0x200000>; 488 + }; 489 + 490 + partition@300000 { 491 + label = "ospi.u-boot"; 492 + reg = <0x300000 0x400000>; 493 + }; 494 + 495 + partition@700000 { 496 + label = "ospi.env"; 497 + reg = <0x700000 0x40000>; 498 + }; 499 + 500 + partition@740000 { 501 + label = "ospi.env.backup"; 502 + reg = <0x740000 0x40000>; 503 + }; 504 + 505 + partition@800000 { 506 + label = "ospi.rootfs"; 507 + reg = <0x800000 0x37c0000>; 508 + }; 509 + 510 + partition@3fc0000 { 511 + label = "ospi.phypattern"; 512 + reg = <0x3fc0000 0x40000>; 513 + }; 514 + }; 536 515 }; 537 516 }; 538 517 539 518 &mailbox0_cluster2 { 519 + status = "okay"; 520 + 540 521 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 541 522 ti,mbox-rx = <0 0 2>; 542 523 ti,mbox-tx = <1 0 2>; ··· 591 486 }; 592 487 }; 593 488 594 - &mailbox0_cluster3 { 595 - status = "disabled"; 596 - }; 597 - 598 489 &mailbox0_cluster4 { 490 + status = "okay"; 491 + 599 492 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 600 493 ti,mbox-rx = <0 0 2>; 601 494 ti,mbox-tx = <1 0 2>; ··· 605 502 }; 606 503 }; 607 504 608 - &mailbox0_cluster5 { 609 - status = "disabled"; 610 - }; 611 - 612 505 &mailbox0_cluster6 { 506 + status = "okay"; 507 + 613 508 mbox_m4_0: mbox-m4-0 { 614 509 ti,mbox-rx = <0 0 2>; 615 510 ti,mbox-tx = <1 0 2>; 616 511 }; 617 512 }; 618 513 619 - &mailbox0_cluster7 { 620 - status = "disabled"; 621 - }; 622 - 623 514 &main_r5fss0_core0 { 624 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; 515 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>; 625 516 memory-region = <&main_r5fss0_core0_dma_memory_region>, 626 517 <&main_r5fss0_core0_memory_region>; 627 518 }; 628 519 629 520 &main_r5fss0_core1 { 630 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; 521 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>; 631 522 memory-region = <&main_r5fss0_core1_dma_memory_region>, 632 523 <&main_r5fss0_core1_memory_region>; 633 524 }; 634 525 635 526 &main_r5fss1_core0 { 636 - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; 527 + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>; 637 528 memory-region = <&main_r5fss1_core0_dma_memory_region>, 638 529 <&main_r5fss1_core0_memory_region>; 639 530 }; 640 531 641 532 &main_r5fss1_core1 { 642 - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; 533 + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>; 643 534 memory-region = <&main_r5fss1_core1_dma_memory_region>, 644 535 <&main_r5fss1_core1_memory_region>; 645 536 };
+37 -14
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
··· 15 15 #include <dt-bindings/gpio/gpio.h> 16 16 #include <dt-bindings/input/input.h> 17 17 #include <dt-bindings/leds/common.h> 18 + #include <dt-bindings/leds/leds-pca9532.h> 18 19 #include <dt-bindings/mux/ti-serdes.h> 19 20 #include <dt-bindings/phy/phy.h> 20 21 #include "k3-am642.dtsi" ··· 76 75 leds { 77 76 compatible = "gpio-leds"; 78 77 pinctrl-names = "default"; 79 - pinctrl-0 = <&leds_pins_default &user_leds_pins_default>; 78 + pinctrl-0 = <&leds_pins_default>, <&user_leds_pins_default>; 80 79 81 80 led-1 { 82 81 color = <LED_COLOR_ID_RED>; ··· 105 104 }; 106 105 107 106 &main_pmx0 { 108 - can_tc1_pins_default: can-tc1-pins-default { 107 + can_tc1_pins_default: can-tc1-default-pins { 109 108 pinctrl-single,pins = < 110 109 AM64X_IOPAD(0x0084, PIN_OUTPUT, 7) /* (P16) GPMC0_ADVn_ALE.GPIO0_32 */ 111 110 >; 112 111 }; 113 112 114 - can_tc2_pins_default: can-tc2-pins-default { 113 + can_tc2_pins_default: can-tc2-default-pins { 115 114 pinctrl-single,pins = < 116 115 AM64X_IOPAD(0x0090, PIN_OUTPUT, 7) /* (P17) GPMC0_BE0n_CLE.GPIO0_35 */ 117 116 >; 118 117 }; 119 118 120 - gpio_keys_pins_default: gpio-keys-pins-default { 119 + gpio_keys_pins_default: gpio-keys-default-pins { 121 120 pinctrl-single,pins = < 122 121 AM64X_IOPAD(0x0044, PIN_INPUT, 7) /* (T18) GPMC0_AD2.GPIO0_17 */ 123 122 AM64X_IOPAD(0x0054, PIN_INPUT, 7) /* (V20) GPMC0_AD6.GPIO0_21 */ 124 123 >; 125 124 }; 126 125 127 - main_i2c1_pins_default: main-i2c1-pins-default { 126 + main_i2c1_pins_default: main-i2c1-default-pins { 128 127 pinctrl-single,pins = < 129 128 AM64X_IOPAD(0x0268, PIN_INPUT, 0) /* (C18) I2C1_SCL */ 130 129 AM64X_IOPAD(0x026c, PIN_INPUT, 0) /* (B19) I2C1_SDA */ 131 130 >; 132 131 }; 133 132 134 - main_mcan0_pins_default: main-mcan0-pins-default { 133 + main_mcan0_pins_default: main-mcan0-default-pins { 135 134 pinctrl-single,pins = < 136 135 AM64X_IOPAD(0x0250, PIN_OUTPUT, 0) /* (A17) MCAN0_TX */ 137 136 AM64X_IOPAD(0x0254, PIN_INPUT, 0) /* (B17) MCAN0_RX */ 138 137 >; 139 138 }; 140 139 141 - main_mcan1_pins_default: main-mcan1-pins-default { 140 + main_mcan1_pins_default: main-mcan1-default-pins { 142 141 pinctrl-single,pins = < 143 142 AM64X_IOPAD(0x0258, PIN_OUTPUT, 0) /* (C17) MCAN1_TX */ 144 143 AM64X_IOPAD(0x025c, PIN_INPUT, 0) /* (D17) MCAN1_RX */ 145 144 >; 146 145 }; 147 146 148 - main_mmc1_pins_default: main-mmc1-pins-default { 147 + main_mmc1_pins_default: main-mmc1-default-pins { 149 148 pinctrl-single,pins = < 150 149 AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ 151 150 AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */ ··· 158 157 >; 159 158 }; 160 159 161 - main_uart0_pins_default: main-uart0-pins-default { 160 + main_uart0_pins_default: main-uart0-default-pins { 162 161 pinctrl-single,pins = < 163 162 AM64X_IOPAD(0x0230, PIN_INPUT, 0) /* (D15) UART0_RXD */ 164 163 AM64X_IOPAD(0x0234, PIN_OUTPUT, 0) /* (C16) UART0_TXD */ 165 164 >; 166 165 }; 167 166 168 - main_uart1_pins_default: main-uart1-pins-default { 167 + main_uart1_pins_default: main-uart1-default-pins { 169 168 pinctrl-single,pins = < 170 169 AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ 171 170 AM64X_IOPAD(0x024C, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ ··· 174 173 >; 175 174 }; 176 175 177 - main_usb0_pins_default: main-usb0-pins-default { 176 + main_usb0_pins_default: main-usb0-default-pins { 178 177 pinctrl-single,pins = < 179 178 AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 180 179 >; 181 180 }; 182 181 183 - pcie_usb_sel_pins_default: pcie-usb-sel-pins-default { 182 + pcie_usb_sel_pins_default: pcie-usb-sel-default-pins { 184 183 pinctrl-single,pins = < 185 184 AM64X_IOPAD(0x017c, PIN_OUTPUT, 7) /* (T1) PRG0_PRU0_GPO7.GPIO1_7 */ 186 185 >; 187 186 }; 188 187 189 - pcie0_pins_default: pcie0-pins-default { 188 + pcie0_pins_default: pcie0-default-pins { 190 189 pinctrl-single,pins = < 191 190 AM64X_IOPAD(0x0098, PIN_OUTPUT, 7) /* (W19) GPMC0_WAIT0.GPIO0_37 */ 192 191 >; 193 192 }; 194 193 195 - user_leds_pins_default: user-leds-pins-default { 194 + user_leds_pins_default: user-leds-default-pins { 196 195 pinctrl-single,pins = < 197 196 AM64X_IOPAD(0x003c, PIN_OUTPUT, 7) /* (T20) GPMC0_AD0.GPIO0_15 */ 198 197 AM64X_IOPAD(0x0040, PIN_OUTPUT, 7) /* (U21) GPMC0_AD1.GPIO0_16 */ ··· 210 209 compatible = "atmel,24c02"; 211 210 pagesize = <16>; 212 211 reg = <0x51>; 212 + }; 213 + 214 + led-controller@62 { 215 + compatible = "nxp,pca9533"; 216 + reg = <0x62>; 217 + 218 + led-3 { 219 + label = "red:user"; 220 + type = <PCA9532_TYPE_LED>; 221 + }; 222 + 223 + led-4 { 224 + label = "green:user"; 225 + type = <PCA9532_TYPE_LED>; 226 + }; 227 + 228 + led-5 { 229 + label = "blue:user"; 230 + type = <PCA9532_TYPE_LED>; 231 + }; 213 232 }; 214 233 }; 215 234 ··· 251 230 status = "okay"; 252 231 pinctrl-names = "default"; 253 232 pinctrl-0 = <&main_uart0_pins_default>; 233 + current-speed = <115200>; 254 234 }; 255 235 256 236 &main_uart1 { ··· 259 237 pinctrl-names = "default"; 260 238 pinctrl-0 = <&main_uart1_pins_default>; 261 239 uart-has-rtscts; 240 + current-speed = <115200>; 262 241 }; 263 242 264 243 &sdhci1 {
+121 -45
arch/arm64/boot/dts/ti/k3-am642-sk.dts
··· 17 17 model = "Texas Instruments AM642 SK"; 18 18 19 19 chosen { 20 - stdout-path = "serial2:115200n8"; 21 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 20 + stdout-path = &main_uart0; 21 + }; 22 + 23 + aliases { 24 + serial0 = &mcu_uart0; 25 + serial1 = &main_uart1; 26 + serial2 = &main_uart0; 27 + i2c0 = &main_i2c0; 28 + i2c1 = &main_i2c1; 29 + mmc0 = &sdhci0; 30 + mmc1 = &sdhci1; 31 + ethernet0 = &cpsw_port1; 32 + ethernet1 = &cpsw_port2; 22 33 }; 23 34 24 35 memory@80000000 { 25 36 device_type = "memory"; 26 37 /* 2G RAM */ 27 38 reg = <0x00000000 0x80000000 0x00000000 0x80000000>; 28 - 29 39 }; 30 40 31 41 reserved-memory { ··· 104 94 }; 105 95 }; 106 96 107 - vusb_main: fixed-regulator-vusb-main5v0 { 97 + vusb_main: regulator-0 { 108 98 /* USB MAIN INPUT 5V DC */ 109 99 compatible = "regulator-fixed"; 110 100 regulator-name = "vusb_main5v0"; ··· 114 104 regulator-boot-on; 115 105 }; 116 106 117 - vcc_3v3_sys: fixedregulator-vcc-3v3-sys { 107 + vcc_3v3_sys: regulator-1 { 118 108 /* output of LP8733xx */ 119 109 compatible = "regulator-fixed"; 120 110 regulator-name = "vcc_3v3_sys"; ··· 125 115 regulator-boot-on; 126 116 }; 127 117 128 - vdd_mmc1: fixed-regulator-sd { 118 + vdd_mmc1: regulator-2 { 129 119 /* TPS2051BD */ 130 120 compatible = "regulator-fixed"; 131 121 regulator-name = "vdd_mmc1"; ··· 137 127 gpio = <&exp1 3 GPIO_ACTIVE_HIGH>; 138 128 }; 139 129 140 - com8_ls_en: regulator-1 { 130 + com8_ls_en: regulator-3 { 141 131 compatible = "regulator-fixed"; 142 132 regulator-name = "com8_ls_en"; 143 133 regulator-min-microvolt = <3300000>; ··· 149 139 gpio = <&main_gpio0 62 GPIO_ACTIVE_LOW>; 150 140 }; 151 141 152 - wlan_en: regulator-2 { 142 + wlan_en: regulator-4 { 153 143 /* output of SN74AVC4T245RSVR */ 154 144 compatible = "regulator-fixed"; 155 145 regulator-name = "wlan_en"; ··· 232 222 }; 233 223 234 224 &main_pmx0 { 235 - main_mmc1_pins_default: main-mmc1-pins-default { 225 + main_mmc1_pins_default: main-mmc1-default-pins { 236 226 pinctrl-single,pins = < 237 - AM64X_IOPAD(0x0294, PIN_INPUT, 0) /* (J19) MMC1_CMD */ 227 + AM64X_IOPAD(0x029c, PIN_INPUT_PULLUP, 0) /* (C20) MMC1_SDWP */ 228 + AM64X_IOPAD(0x0298, PIN_INPUT_PULLUP, 0) /* (D19) MMC1_SDCD */ 229 + AM64X_IOPAD(0x0294, PIN_INPUT_PULLUP, 0) /* (J19) MMC1_CMD */ 238 230 AM64X_IOPAD(0x0290, PIN_INPUT, 0) /* (#N/A) MMC1_CLKLB */ 239 - AM64X_IOPAD(0x028c, PIN_INPUT, 0) /* (L20) MMC1_CLK */ 240 - AM64X_IOPAD(0x0288, PIN_INPUT, 0) /* (K21) MMC1_DAT0 */ 241 - AM64X_IOPAD(0x0284, PIN_INPUT, 0) /* (L21) MMC1_DAT1 */ 242 - AM64X_IOPAD(0x0280, PIN_INPUT, 0) /* (K19) MMC1_DAT2 */ 243 - AM64X_IOPAD(0x027c, PIN_INPUT, 0) /* (K18) MMC1_DAT3 */ 244 - AM64X_IOPAD(0x0298, PIN_INPUT, 0) /* (D19) MMC1_SDCD */ 231 + AM64X_IOPAD(0x028c, PIN_INPUT_PULLDOWN, 0) /* (L20) MMC1_CLK */ 232 + AM64X_IOPAD(0x0288, PIN_INPUT_PULLUP, 0) /* (K21) MMC1_DAT0 */ 233 + AM64X_IOPAD(0x0284, PIN_INPUT_PULLUP, 0) /* (L21) MMC1_DAT1 */ 234 + AM64X_IOPAD(0x0280, PIN_INPUT_PULLUP, 0) /* (K19) MMC1_DAT2 */ 235 + AM64X_IOPAD(0x027c, PIN_INPUT_PULLUP, 0) /* (K18) MMC1_DAT3 */ 245 236 >; 246 237 }; 247 238 248 - main_uart0_pins_default: main-uart0-pins-default { 239 + main_uart0_pins_default: main-uart0-default-pins { 249 240 pinctrl-single,pins = < 250 241 AM64X_IOPAD(0x0238, PIN_INPUT, 0) /* (B16) UART0_CTSn */ 251 242 AM64X_IOPAD(0x023c, PIN_OUTPUT, 0) /* (A16) UART0_RTSn */ ··· 255 244 >; 256 245 }; 257 246 258 - main_usb0_pins_default: main-usb0-pins-default { 247 + main_uart1_pins_default: main-uart1-default-pins { 248 + pinctrl-single,pins = < 249 + AM64X_IOPAD(0x0248, PIN_INPUT, 0) /* (D16) UART1_CTSn */ 250 + AM64X_IOPAD(0x024c, PIN_OUTPUT, 0) /* (E16) UART1_RTSn */ 251 + AM64X_IOPAD(0x0240, PIN_INPUT, 0) /* (E15) UART1_RXD */ 252 + AM64X_IOPAD(0x0244, PIN_OUTPUT, 0) /* (E14) UART1_TXD */ 253 + >; 254 + }; 255 + 256 + main_usb0_pins_default: main-usb0-default-pins { 259 257 pinctrl-single,pins = < 260 258 AM64X_IOPAD(0x02a8, PIN_OUTPUT, 0) /* (E19) USB0_DRVVBUS */ 261 259 >; 262 260 }; 263 261 264 - main_i2c1_pins_default: main-i2c1-pins-default { 262 + main_i2c0_pins_default: main-i2c0-default-pins { 263 + pinctrl-single,pins = < 264 + AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */ 265 + AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */ 266 + >; 267 + }; 268 + 269 + main_i2c1_pins_default: main-i2c1-default-pins { 265 270 pinctrl-single,pins = < 266 271 AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */ 267 272 AM64X_IOPAD(0x026c, PIN_INPUT_PULLUP, 0) /* (B19) I2C1_SDA */ 268 273 >; 269 274 }; 270 275 271 - mdio1_pins_default: mdio1-pins-default { 276 + mdio1_pins_default: mdio1-default-pins { 272 277 pinctrl-single,pins = < 273 278 AM64X_IOPAD(0x01fc, PIN_OUTPUT, 4) /* (R2) PRG0_PRU1_GPO19.MDIO0_MDC */ 274 279 AM64X_IOPAD(0x01f8, PIN_INPUT, 4) /* (P5) PRG0_PRU1_GPO18.MDIO0_MDIO */ 275 280 >; 276 281 }; 277 282 278 - rgmii1_pins_default: rgmii1-pins-default { 283 + rgmii1_pins_default: rgmii1-default-pins { 279 284 pinctrl-single,pins = < 280 285 AM64X_IOPAD(0x011c, PIN_INPUT, 4) /* (AA13) PRG1_PRU1_GPO5.RGMII1_RD0 */ 281 286 AM64X_IOPAD(0x0128, PIN_INPUT, 4) /* (U12) PRG1_PRU1_GPO8.RGMII1_RD1 */ ··· 308 281 >; 309 282 }; 310 283 311 - rgmii2_pins_default: rgmii2-pins-default { 284 + rgmii2_pins_default: rgmii2-default-pins { 312 285 pinctrl-single,pins = < 313 286 AM64X_IOPAD(0x0108, PIN_INPUT, 4) /* (W11) PRG1_PRU1_GPO0.RGMII2_RD0 */ 314 287 AM64X_IOPAD(0x010c, PIN_INPUT, 4) /* (V11) PRG1_PRU1_GPO1.RGMII2_RD1 */ ··· 325 298 >; 326 299 }; 327 300 328 - ospi0_pins_default: ospi0-pins-default { 301 + ospi0_pins_default: ospi0-default-pins { 329 302 pinctrl-single,pins = < 330 303 AM64X_IOPAD(0x0000, PIN_OUTPUT, 0) /* (N20) OSPI0_CLK */ 331 304 AM64X_IOPAD(0x002c, PIN_OUTPUT, 0) /* (L19) OSPI0_CSn0 */ ··· 341 314 >; 342 315 }; 343 316 344 - main_ecap0_pins_default: main-ecap0-pins-default { 317 + main_ecap0_pins_default: main-ecap0-default-pins { 345 318 pinctrl-single,pins = < 346 319 AM64X_IOPAD(0x0270, PIN_INPUT, 0) /* (D18) ECAP0_IN_APWM_OUT */ 347 320 >; 348 321 }; 349 - main_wlan_en_pins_default: main-wlan-en-pins-default { 322 + main_wlan_en_pins_default: main-wlan-en-default-pins { 350 323 pinctrl-single,pins = < 351 324 AM64X_IOPAD(0x00c4, PIN_OUTPUT_PULLUP, 7) /* (V8) GPIO0_48 */ 352 325 >; 353 326 }; 354 327 355 - main_com8_ls_en_pins_default: main-com8-ls-en-pins-default { 328 + main_com8_ls_en_pins_default: main-com8-ls-en-default-pins { 356 329 pinctrl-single,pins = < 357 330 AM64X_IOPAD(0x00fc, PIN_OUTPUT, 7) /* (U7) PRG1_PRU0_GPO17.GPIO0_62 */ 358 331 >; 359 332 }; 360 333 361 - main_wlan_pins_default: main-wlan-pins-default { 334 + main_wlan_pins_default: main-wlan-default-pins { 362 335 pinctrl-single,pins = < 363 336 AM64X_IOPAD(0x00bc, PIN_INPUT, 7) /* (U8) GPIO0_46 */ 364 337 >; ··· 369 342 status = "okay"; 370 343 pinctrl-names = "default"; 371 344 pinctrl-0 = <&main_uart0_pins_default>; 345 + current-speed = <115200>; 372 346 }; 373 347 374 348 &main_uart1 { 375 349 /* main_uart1 is reserved for firmware usage */ 376 350 status = "reserved"; 351 + pinctrl-names = "default"; 352 + pinctrl-0 = <&main_uart1_pins_default>; 353 + }; 354 + 355 + &main_i2c0 { 356 + status = "okay"; 357 + pinctrl-names = "default"; 358 + pinctrl-0 = <&main_i2c0_pins_default>; 359 + clock-frequency = <400000>; 360 + 361 + eeprom@51 { 362 + compatible = "atmel,24c512"; 363 + reg = <0x51>; 364 + }; 377 365 }; 378 366 379 367 &main_i2c1 { ··· 481 439 482 440 &cpsw3g { 483 441 pinctrl-names = "default"; 484 - pinctrl-0 = <&rgmii1_pins_default 485 - &rgmii2_pins_default>; 442 + pinctrl-0 = <&rgmii1_pins_default>, <&rgmii2_pins_default>; 486 443 }; 487 444 488 445 &cpsw_port1 { ··· 531 490 cdns,tchsh-ns = <60>; 532 491 cdns,tslch-ns = <60>; 533 492 cdns,read-delay = <4>; 493 + 494 + partitions { 495 + compatible = "fixed-partitions"; 496 + #address-cells = <1>; 497 + #size-cells = <1>; 498 + 499 + partition@0 { 500 + label = "ospi.tiboot3"; 501 + reg = <0x0 0x100000>; 502 + }; 503 + 504 + partition@100000 { 505 + label = "ospi.tispl"; 506 + reg = <0x100000 0x200000>; 507 + }; 508 + 509 + partition@300000 { 510 + label = "ospi.u-boot"; 511 + reg = <0x300000 0x400000>; 512 + }; 513 + 514 + partition@700000 { 515 + label = "ospi.env"; 516 + reg = <0x700000 0x40000>; 517 + }; 518 + 519 + partition@740000 { 520 + label = "ospi.env.backup"; 521 + reg = <0x740000 0x40000>; 522 + }; 523 + 524 + partition@800000 { 525 + label = "ospi.rootfs"; 526 + reg = <0x800000 0x37c0000>; 527 + }; 528 + 529 + partition@3fc0000 { 530 + label = "ospi.phypattern"; 531 + reg = <0x3fc0000 0x40000>; 532 + }; 533 + }; 534 534 }; 535 535 }; 536 536 537 537 &mailbox0_cluster2 { 538 + status = "okay"; 539 + 538 540 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 539 541 ti,mbox-rx = <0 0 2>; 540 542 ti,mbox-tx = <1 0 2>; ··· 589 505 }; 590 506 }; 591 507 592 - &mailbox0_cluster3 { 593 - status = "disabled"; 594 - }; 595 - 596 508 &mailbox0_cluster4 { 509 + status = "okay"; 510 + 597 511 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 598 512 ti,mbox-rx = <0 0 2>; 599 513 ti,mbox-tx = <1 0 2>; ··· 603 521 }; 604 522 }; 605 523 606 - &mailbox0_cluster5 { 607 - status = "disabled"; 608 - }; 609 - 610 524 &mailbox0_cluster6 { 525 + status = "okay"; 526 + 611 527 mbox_m4_0: mbox-m4-0 { 612 528 ti,mbox-rx = <0 0 2>; 613 529 ti,mbox-tx = <1 0 2>; 614 530 }; 615 531 }; 616 532 617 - &mailbox0_cluster7 { 618 - status = "disabled"; 619 - }; 620 - 621 533 &main_r5fss0_core0 { 622 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core0>; 534 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core0>; 623 535 memory-region = <&main_r5fss0_core0_dma_memory_region>, 624 536 <&main_r5fss0_core0_memory_region>; 625 537 }; 626 538 627 539 &main_r5fss0_core1 { 628 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss0_core1>; 540 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss0_core1>; 629 541 memory-region = <&main_r5fss0_core1_dma_memory_region>, 630 542 <&main_r5fss0_core1_memory_region>; 631 543 }; 632 544 633 545 &main_r5fss1_core0 { 634 - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core0>; 546 + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core0>; 635 547 memory-region = <&main_r5fss1_core0_dma_memory_region>, 636 548 <&main_r5fss1_core0_memory_region>; 637 549 }; 638 550 639 551 &main_r5fss1_core1 { 640 - mboxes = <&mailbox0_cluster4 &mbox_main_r5fss1_core1>; 552 + mboxes = <&mailbox0_cluster4>, <&mbox_main_r5fss1_core1>; 641 553 memory-region = <&main_r5fss1_core1_dma_memory_region>, 642 554 <&main_r5fss1_core1_memory_region>; 643 555 };
+33 -35
arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
··· 21 21 22 22 chosen { 23 23 stdout-path = "serial3:115200n8"; 24 - bootargs = "earlycon=ns16550a,mmio32,0x02810000"; 25 24 }; 26 25 27 26 reserved-memory { ··· 104 105 }; 105 106 106 107 &wkup_pmx0 { 107 - wkup_i2c0_pins_default: wkup-i2c0-pins-default { 108 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 108 109 pinctrl-single,pins = < 109 110 /* (AC7) WKUP_I2C0_SCL */ 110 111 AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) ··· 113 114 >; 114 115 }; 115 116 116 - mcu_i2c0_pins_default: mcu-i2c0-pins-default { 117 + mcu_i2c0_pins_default: mcu-i2c0-default-pins { 117 118 pinctrl-single,pins = < 118 119 /* (AD8) MCU_I2C0_SCL */ 119 120 AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT, 0) ··· 122 123 >; 123 124 }; 124 125 125 - arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-pins-default { 126 + arduino_i2c_aio_switch_pins_default: arduino-i2c-aio-switch-default-pins { 126 127 pinctrl-single,pins = < 127 128 /* (R2) WKUP_GPIO0_21 */ 128 129 AM65X_WKUP_IOPAD(0x0024, PIN_OUTPUT, 7) 129 130 >; 130 131 }; 131 132 132 - push_button_pins_default: push-button-pins-default { 133 + push_button_pins_default: push-button-default-pins { 133 134 pinctrl-single,pins = < 134 135 /* (T1) MCU_OSPI1_CLK.WKUP_GPIO0_25 */ 135 136 AM65X_WKUP_IOPAD(0x0034, PIN_INPUT, 7) 136 137 >; 137 138 }; 138 139 139 - arduino_uart_pins_default: arduino-uart-pins-default { 140 + arduino_uart_pins_default: arduino-uart-default-pins { 140 141 pinctrl-single,pins = < 141 142 /* (P4) MCU_UART0_RXD */ 142 143 AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4) ··· 145 146 >; 146 147 }; 147 148 148 - arduino_io_d2_to_d3_pins_default: arduino-io-d2-to-d3-pins-default { 149 + arduino_io_d2_to_d3_pins_default: arduino-io-d2-to-d3-default-pins { 149 150 pinctrl-single,pins = < 150 151 /* (P1) WKUP_GPIO0_31 */ 151 152 AM65X_WKUP_IOPAD(0x004C, PIN_OUTPUT, 7) ··· 154 155 >; 155 156 }; 156 157 157 - arduino_io_oe_pins_default: arduino-io-oe-pins-default { 158 + arduino_io_oe_pins_default: arduino-io-oe-default-pins { 158 159 pinctrl-single,pins = < 159 160 /* (N4) WKUP_GPIO0_34 */ 160 161 AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 7) ··· 169 170 >; 170 171 }; 171 172 172 - mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 173 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 173 174 pinctrl-single,pins = < 174 175 /* (V1) MCU_OSPI0_CLK */ 175 176 AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) ··· 184 185 >; 185 186 }; 186 187 187 - db9_com_mode_pins_default: db9-com-mode-pins-default { 188 + db9_com_mode_pins_default: db9-com-mode-default-pins { 188 189 pinctrl-single,pins = < 189 190 /* (AD3) WKUP_GPIO0_5, used as uart0 mode 0 */ 190 191 AM65X_WKUP_IOPAD(0x00c4, PIN_OUTPUT, 7) ··· 197 198 >; 198 199 }; 199 200 200 - leds_pins_default: leds-pins-default { 201 + leds_pins_default: leds-default-pins { 201 202 pinctrl-single,pins = < 202 203 /* (T2) WKUP_GPIO0_17, used as user led1 red */ 203 204 AM65X_WKUP_IOPAD(0x0014, PIN_OUTPUT, 7) ··· 210 211 >; 211 212 }; 212 213 213 - mcu_spi0_pins_default: mcu-spi0-pins-default { 214 + mcu_spi0_pins_default: mcu-spi0-default-pins { 214 215 pinctrl-single,pins = < 215 216 /* (Y1) MCU_SPI0_CLK */ 216 217 AM65X_WKUP_IOPAD(0x0090, PIN_INPUT, 0) ··· 223 224 >; 224 225 }; 225 226 226 - minipcie_pins_default: minipcie-pins-default { 227 + minipcie_pins_default: minipcie-default-pins { 227 228 pinctrl-single,pins = < 228 229 /* (P2) MCU_OSPI1_DQS.WKUP_GPIO0_27 */ 229 230 AM65X_WKUP_IOPAD(0x003C, PIN_OUTPUT, 7) ··· 232 233 }; 233 234 234 235 &main_pmx0 { 235 - main_uart1_pins_default: main-uart1-pins-default { 236 + main_uart1_pins_default: main-uart1-default-pins { 236 237 pinctrl-single,pins = < 237 238 AM65X_IOPAD(0x0174, PIN_INPUT, 6) /* (AE23) UART1_RXD */ 238 239 AM65X_IOPAD(0x014c, PIN_OUTPUT, 6) /* (AD23) UART1_TXD */ ··· 241 242 >; 242 243 }; 243 244 244 - main_i2c3_pins_default: main-i2c3-pins-default { 245 + main_i2c3_pins_default: main-i2c3-default-pins { 245 246 pinctrl-single,pins = < 246 247 AM65X_IOPAD(0x01c0, PIN_INPUT, 2) /* (AF13) I2C3_SCL */ 247 248 AM65X_IOPAD(0x01d4, PIN_INPUT, 2) /* (AG12) I2C3_SDA */ 248 249 >; 249 250 }; 250 251 251 - main_mmc1_pins_default: main-mmc1-pins-default { 252 + main_mmc1_pins_default: main-mmc1-default-pins { 252 253 pinctrl-single,pins = < 253 254 AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */ 254 255 AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */ ··· 261 262 >; 262 263 }; 263 264 264 - usb0_pins_default: usb0-pins-default { 265 + usb0_pins_default: usb0-default-pins { 265 266 pinctrl-single,pins = < 266 267 AM65X_IOPAD(0x02bc, PIN_OUTPUT, 0) /* (AD9) USB0_DRVVBUS */ 267 268 >; 268 269 }; 269 270 270 - usb1_pins_default: usb1-pins-default { 271 + usb1_pins_default: usb1-default-pins { 271 272 pinctrl-single,pins = < 272 273 AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ 273 274 >; 274 275 }; 275 276 276 - arduino_io_d4_to_d9_pins_default: arduino-io-d4-to-d9-pins-default { 277 + arduino_io_d4_to_d9_pins_default: arduino-io-d4-to-d9-default-pins { 277 278 pinctrl-single,pins = < 278 279 AM65X_IOPAD(0x0084, PIN_OUTPUT, 7) /* (AG18) GPIO0_33 */ 279 280 AM65X_IOPAD(0x008C, PIN_OUTPUT, 7) /* (AF17) GPIO0_35 */ ··· 284 285 >; 285 286 }; 286 287 287 - dss_vout1_pins_default: dss-vout1-pins-default { 288 + dss_vout1_pins_default: dss-vout1-default-pins { 288 289 pinctrl-single,pins = < 289 290 AM65X_IOPAD(0x0000, PIN_OUTPUT, 1) /* VOUT1_DATA0 */ 290 291 AM65X_IOPAD(0x0004, PIN_OUTPUT, 1) /* VOUT1_DATA1 */ ··· 317 318 >; 318 319 }; 319 320 320 - dp_pins_default: dp-pins-default { 321 + dp_pins_default: dp-default-pins { 321 322 pinctrl-single,pins = < 322 323 AM65X_IOPAD(0x0078, PIN_OUTPUT, 7) /* (AF18) DP rst_n */ 323 324 >; 324 325 }; 325 326 326 - main_i2c2_pins_default: main-i2c2-pins-default { 327 + main_i2c2_pins_default: main-i2c2-default-pins { 327 328 pinctrl-single,pins = < 328 329 AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) I2C2_SCL */ 329 330 AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) I2C2_SDA */ ··· 332 333 }; 333 334 334 335 &main_pmx1 { 335 - main_i2c0_pins_default: main-i2c0-pins-default { 336 + main_i2c0_pins_default: main-i2c0-default-pins { 336 337 pinctrl-single,pins = < 337 338 AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */ 338 339 AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */ 339 340 >; 340 341 }; 341 342 342 - main_i2c1_pins_default: main-i2c1-pins-default { 343 + main_i2c1_pins_default: main-i2c1-default-pins { 343 344 pinctrl-single,pins = < 344 345 AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */ 345 346 AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */ 346 347 >; 347 348 }; 348 349 349 - ecap0_pins_default: ecap0-pins-default { 350 + ecap0_pins_default: ecap0-default-pins { 350 351 pinctrl-single,pins = < 351 352 AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */ 352 353 >; ··· 384 385 385 386 &wkup_gpio0 { 386 387 pinctrl-names = "default"; 387 - pinctrl-0 = < 388 - &arduino_io_d2_to_d3_pins_default 389 - &arduino_i2c_aio_switch_pins_default 390 - &arduino_io_oe_pins_default 391 - &push_button_pins_default 392 - &db9_com_mode_pins_default 393 - >; 388 + pinctrl-0 = 389 + <&arduino_io_d2_to_d3_pins_default>, 390 + <&arduino_i2c_aio_switch_pins_default>, 391 + <&arduino_io_oe_pins_default>, 392 + <&push_button_pins_default>, 393 + <&db9_com_mode_pins_default>; 394 394 gpio-line-names = 395 395 /* 0..9 */ 396 396 "wkup_gpio0-base", "", "", "", "UART0-mode1", "UART0-mode0", ··· 481 483 pinctrl-0 = <&main_i2c0_pins_default>; 482 484 clock-frequency = <400000>; 483 485 484 - rtc: rtc8564@51 { 486 + rtc: rtc@51 { 485 487 compatible = "nxp,pcf8563"; 486 488 reg = <0x51>; 487 489 }; ··· 710 712 &mcu_r5fss0_core0 { 711 713 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 712 714 <&mcu_r5fss0_core0_memory_region>; 713 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 715 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 714 716 }; 715 717 716 718 &mcu_r5fss0_core1 { 717 719 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 718 720 <&mcu_r5fss0_core1_memory_region>; 719 - mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; 721 + mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; 720 722 };
+6 -22
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
··· 469 469 ti,otap-del-sel-ddr52 = <0x4>; 470 470 ti,otap-del-sel-hs200 = <0x7>; 471 471 ti,clkbuf-sel = <0x7>; 472 - ti,otap-del-sel = <0x2>; 473 472 ti,trm-icp = <0x8>; 474 473 dma-coherent; 475 474 }; ··· 479 480 #address-cells = <1>; 480 481 #size-cells = <1>; 481 482 ranges = <0x0 0x0 0x00100000 0x1c000>; 482 - 483 - pcie0_mode: pcie-mode@4060 { 484 - compatible = "syscon"; 485 - reg = <0x00004060 0x4>; 486 - }; 487 - 488 - pcie1_mode: pcie-mode@4070 { 489 - compatible = "syscon"; 490 - reg = <0x00004070 0x4>; 491 - }; 492 - 493 - pcie_devid: pcie-devid@210 { 494 - compatible = "syscon"; 495 - reg = <0x00000210 0x4>; 496 - }; 497 483 498 484 serdes0_clk: clock@4080 { 499 485 compatible = "syscon"; ··· 867 883 #size-cells = <2>; 868 884 ranges = <0x81000000 0 0 0x0 0x10020000 0 0x00010000>, 869 885 <0x82000000 0 0x10030000 0x0 0x10030000 0 0x07FD0000>; 870 - ti,syscon-pcie-id = <&pcie_devid>; 871 - ti,syscon-pcie-mode = <&pcie0_mode>; 886 + ti,syscon-pcie-id = <&scm_conf 0x210>; 887 + ti,syscon-pcie-mode = <&scm_conf 0x4060>; 872 888 bus-range = <0x0 0xff>; 873 889 num-viewport = <16>; 874 890 max-link-speed = <2>; ··· 884 900 reg = <0x0 0x5500000 0x0 0x1000>, <0x0 0x5501000 0x0 0x1000>, <0x0 0x10000000 0x0 0x8000000>, <0x0 0x5506000 0x0 0x1000>; 885 901 reg-names = "app", "dbics", "addr_space", "atu"; 886 902 power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; 887 - ti,syscon-pcie-mode = <&pcie0_mode>; 903 + ti,syscon-pcie-mode = <&scm_conf 0x4060>; 888 904 num-ib-windows = <16>; 889 905 num-ob-windows = <16>; 890 906 max-link-speed = <2>; ··· 902 918 #size-cells = <2>; 903 919 ranges = <0x81000000 0 0 0x0 0x18020000 0 0x00010000>, 904 920 <0x82000000 0 0x18030000 0x0 0x18030000 0 0x07FD0000>; 905 - ti,syscon-pcie-id = <&pcie_devid>; 906 - ti,syscon-pcie-mode = <&pcie1_mode>; 921 + ti,syscon-pcie-id = <&scm_conf 0x210>; 922 + ti,syscon-pcie-mode = <&scm_conf 0x4070>; 907 923 bus-range = <0x0 0xff>; 908 924 num-viewport = <16>; 909 925 max-link-speed = <2>; ··· 919 935 reg = <0x0 0x5600000 0x0 0x1000>, <0x0 0x5601000 0x0 0x1000>, <0x0 0x18000000 0x0 0x4000000>, <0x0 0x5606000 0x0 0x1000>; 920 936 reg-names = "app", "dbics", "addr_space", "atu"; 921 937 power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>; 922 - ti,syscon-pcie-mode = <&pcie1_mode>; 938 + ti,syscon-pcie-mode = <&scm_conf 0x4070>; 923 939 num-ib-windows = <16>; 924 940 num-ob-windows = <16>; 925 941 max-link-speed = <2>;
+17 -2
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
··· 227 227 }; 228 228 }; 229 229 230 - m_can0: mcan@40528000 { 230 + secure_proxy_mcu: mailbox@2a480000 { 231 + compatible = "ti,am654-secure-proxy"; 232 + #mbox-cells = <1>; 233 + reg-names = "target_data", "rt", "scfg"; 234 + reg = <0x0 0x2a480000 0x0 0x80000>, 235 + <0x0 0x2a380000 0x0 0x80000>, 236 + <0x0 0x2a400000 0x0 0x80000>; 237 + /* 238 + * Marked Disabled: 239 + * Node is incomplete as it is meant for bootloaders and 240 + * firmware on non-MPU processors 241 + */ 242 + status = "disabled"; 243 + }; 244 + 245 + m_can0: can@40528000 { 231 246 compatible = "bosch,m_can"; 232 247 reg = <0x0 0x40528000 0x0 0x400>, 233 248 <0x0 0x40500000 0x0 0x4400>; ··· 258 243 status = "disabled"; 259 244 }; 260 245 261 - m_can1: mcan@40568000 { 246 + m_can1: can@40568000 { 262 247 compatible = "bosch,m_can"; 263 248 reg = <0x0 0x40568000 0x0 0x400>, 264 249 <0x0 0x40540000 0x0 0x4400>;
-17
arch/arm64/boot/dts/ti/k3-am65.dtsi
··· 19 19 #address-cells = <2>; 20 20 #size-cells = <2>; 21 21 22 - aliases { 23 - serial0 = &wkup_uart0; 24 - serial1 = &mcu_uart0; 25 - serial2 = &main_uart0; 26 - serial3 = &main_uart1; 27 - serial4 = &main_uart2; 28 - i2c0 = &wkup_i2c0; 29 - i2c1 = &mcu_i2c0; 30 - i2c2 = &main_i2c0; 31 - i2c3 = &main_i2c1; 32 - i2c4 = &main_i2c2; 33 - i2c5 = &main_i2c3; 34 - ethernet0 = &cpsw_port1; 35 - mmc0 = &sdhci0; 36 - mmc1 = &sdhci1; 37 - }; 38 - 39 22 chosen { }; 40 23 41 24 firmware {
+1 -1
arch/arm64/boot/dts/ti/k3-am6528-iot2050-basic-common.dtsi
··· 35 35 }; 36 36 37 37 &main_pmx0 { 38 - main_uart0_pins_default: main-uart0-pins-default { 38 + main_uart0_pins_default: main-uart0-default-pins { 39 39 pinctrl-single,pins = < 40 40 AM65X_IOPAD(0x01e4, PIN_INPUT, 0) /* (AF11) UART0_RXD */ 41 41 AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0) /* (AE11) UART0_TXD */
+71
arch/arm64/boot/dts/ti/k3-am654-base-board-rocktech-rk101-panel.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /** 3 + * OLDI-LCD1EVM Rocktech integrated panel and touch DT overlay for AM654-EVM. 4 + * Panel Link: https://www.digimax.it/en/tft-lcd/20881-RK101II01D-CT 5 + * AM654 LCD EVM: https://www.ti.com/tool/TMDSLCD1EVM 6 + * 7 + * Copyright (C) 2023 Texas Instruments Incorporated - http://www.ti.com/ 8 + */ 9 + 10 + /dts-v1/; 11 + /plugin/; 12 + 13 + #include <dt-bindings/pwm/pwm.h> 14 + #include <dt-bindings/gpio/gpio.h> 15 + #include <dt-bindings/interrupt-controller/irq.h> 16 + 17 + &{/} { 18 + display0 { 19 + compatible = "rocktech,rk101ii01d-ct"; 20 + backlight = <&lcd_bl>; 21 + enable-gpios = <&pca9555 8 GPIO_ACTIVE_HIGH>; 22 + port { 23 + lcd_in0: endpoint { 24 + remote-endpoint = <&oldi_out0>; 25 + }; 26 + }; 27 + }; 28 + 29 + lcd_bl: backlight { 30 + compatible = "pwm-backlight"; 31 + pwms = <&ecap0 0 50000 PWM_POLARITY_INVERTED>; 32 + brightness-levels = 33 + <0 32 64 96 128 160 192 224 255>; 34 + default-brightness-level = <8>; 35 + }; 36 + }; 37 + 38 + &dss { 39 + status = "okay"; 40 + }; 41 + 42 + &dss_ports { 43 + #address-cells = <1>; 44 + #size-cells = <0>; 45 + 46 + port@0 { 47 + reg = <0>; 48 + 49 + oldi_out0: endpoint { 50 + remote-endpoint = <&lcd_in0>; 51 + }; 52 + }; 53 + }; 54 + 55 + &main_i2c1 { 56 + #address-cells = <1>; 57 + #size-cells = <0>; 58 + 59 + touchscreen@14 { 60 + compatible = "goodix,gt928"; 61 + reg = <0x14>; 62 + 63 + interrupt-parent = <&pca9554>; 64 + interrupts = <3 IRQ_TYPE_EDGE_FALLING>; 65 + touchscreen-size-x = <1280>; 66 + touchscreen-size-y = <800>; 67 + 68 + reset-gpios = <&pca9555 9 GPIO_ACTIVE_HIGH>; 69 + irq-gpios = <&pca9554 3 GPIO_ACTIVE_HIGH>; 70 + }; 71 + };
+150 -22
arch/arm64/boot/dts/ti/k3-am654-base-board.dts
··· 13 13 compatible = "ti,am654-evm", "ti,am654"; 14 14 model = "Texas Instruments AM654 Base Board"; 15 15 16 + aliases { 17 + serial0 = &wkup_uart0; 18 + serial1 = &mcu_uart0; 19 + serial2 = &main_uart0; 20 + i2c0 = &wkup_i2c0; 21 + i2c1 = &mcu_i2c0; 22 + i2c2 = &main_i2c0; 23 + i2c3 = &main_i2c1; 24 + i2c4 = &main_i2c2; 25 + ethernet0 = &cpsw_port1; 26 + mmc0 = &sdhci0; 27 + mmc1 = &sdhci1; 28 + }; 29 + 16 30 chosen { 17 31 stdout-path = "serial2:115200n8"; 18 - bootargs = "earlycon=ns16550a,mmio32,0x02800000"; 19 32 }; 20 33 21 34 memory@80000000 { ··· 99 86 }; 100 87 }; 101 88 102 - evm_12v0: fixedregulator-evm12v0 { 89 + evm_12v0: regulator-0 { 103 90 /* main supply */ 104 91 compatible = "regulator-fixed"; 105 92 regulator-name = "evm_12v0"; ··· 109 96 regulator-boot-on; 110 97 }; 111 98 112 - vcc3v3_io: fixedregulator-vcc3v3io { 99 + vcc3v3_io: regulator-1 { 113 100 /* Output of TPS54334 */ 114 101 compatible = "regulator-fixed"; 115 102 regulator-name = "vcc3v3_io"; ··· 120 107 vin-supply = <&evm_12v0>; 121 108 }; 122 109 123 - vdd_mmc1_sd: fixedregulator-sd { 110 + vdd_mmc1_sd: regulator-2 { 124 111 compatible = "regulator-fixed"; 125 112 regulator-name = "vdd_mmc1_sd"; 126 113 regulator-min-microvolt = <3300000>; ··· 130 117 vin-supply = <&vcc3v3_io>; 131 118 gpio = <&pca9554 4 GPIO_ACTIVE_HIGH>; 132 119 }; 120 + 121 + vtt_supply: regulator-3 { 122 + compatible = "regulator-fixed"; 123 + regulator-name = "vtt"; 124 + pinctrl-names = "default"; 125 + pinctrl-0 = <&ddr_vtt_pins_default>; 126 + regulator-min-microvolt = <3300000>; 127 + regulator-max-microvolt = <3300000>; 128 + enable-active-high; 129 + regulator-always-on; 130 + regulator-boot-on; 131 + vin-supply = <&vcc3v3_io>; 132 + gpio = <&wkup_gpio0 28 GPIO_ACTIVE_HIGH>; 133 + }; 133 134 }; 134 135 135 136 &wkup_pmx0 { 136 - wkup_i2c0_pins_default: wkup-i2c0-pins-default { 137 + wkup_uart0_pins_default: wkup-uart0-default-pins { 138 + pinctrl-single,pins = < 139 + AM65X_WKUP_IOPAD(0x00a0, PIN_INPUT, 0) /* (AB1) WKUP_UART0_RXD */ 140 + AM65X_WKUP_IOPAD(0x00a4, PIN_OUTPUT, 0) /* (AB5) WKUP_UART0_TXD */ 141 + AM65X_WKUP_IOPAD(0x00c8, PIN_INPUT, 1) /* (AC2) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 142 + AM65X_WKUP_IOPAD(0x00cc, PIN_OUTPUT, 1) /* (AC1) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 143 + >; 144 + }; 145 + 146 + ddr_vtt_pins_default: ddr-vtt-default-pins { 147 + pinctrl-single,pins = < 148 + AM65X_WKUP_IOPAD(0x0040, PIN_OUTPUT_PULLUP, 7) /* WKUP_GPIO0_28 */ 149 + >; 150 + }; 151 + 152 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 137 153 pinctrl-single,pins = < 138 154 AM65X_WKUP_IOPAD(0x00e0, PIN_INPUT, 0) /* (AC7) WKUP_I2C0_SCL */ 139 155 AM65X_WKUP_IOPAD(0x00e4, PIN_INPUT, 0) /* (AD6) WKUP_I2C0_SDA */ 140 156 >; 141 157 }; 142 158 143 - push_button_pins_default: push-button-pins-default { 159 + push_button_pins_default: push-button-default-pins { 144 160 pinctrl-single,pins = < 145 161 AM65X_WKUP_IOPAD(0x0030, PIN_INPUT, 7) /* (R5) WKUP_GPIO0_24 */ 146 162 AM65X_WKUP_IOPAD(0x003c, PIN_INPUT, 7) /* (P2) WKUP_GPIO0_27 */ 147 163 >; 148 164 }; 149 165 150 - mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 166 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 151 167 pinctrl-single,pins = < 152 168 AM65X_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* (V1) MCU_OSPI0_CLK */ 153 169 AM65X_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* (U2) MCU_OSPI0_DQS */ ··· 198 156 >; 199 157 }; 200 158 201 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 159 + mcu_uart0_pins_default: mcu-uart0-default-pins { 160 + pinctrl-single,pins = < 161 + AM65X_WKUP_IOPAD(0x0044, PIN_INPUT, 4) /* (P4) MCU_OSPI1_D1.MCU_UART0_RXD */ 162 + AM65X_WKUP_IOPAD(0x0048, PIN_OUTPUT, 4) /* (P5) MCU_OSPI1_D2.MCU_UART0_TXD */ 163 + AM65X_WKUP_IOPAD(0x004C, PIN_INPUT, 4) /* (P1) MCU_OSPI1_D3.MCU_UART0_CTSn */ 164 + AM65X_WKUP_IOPAD(0x0054, PIN_OUTPUT, 4) /* (N3) MCU_OSPI1_CSn1.MCU_UART0_RTSn */ 165 + >; 166 + }; 167 + 168 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 202 169 pinctrl-single,pins = < 203 170 AM65X_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* (N4) MCU_RGMII1_TX_CTL */ 204 171 AM65X_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* (N5) MCU_RGMII1_RX_CTL */ ··· 224 173 >; 225 174 }; 226 175 227 - mcu_mdio_pins_default: mcu-mdio1-pins-default { 176 + mcu_mdio_pins_default: mcu-mdio1-default-pins { 228 177 pinctrl-single,pins = < 229 178 AM65X_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ 230 179 AM65X_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ 231 180 >; 232 181 }; 182 + 183 + mcu_i2c0_pins_default: mcu-i2c0-default-pins { 184 + pinctrl-single,pins = < 185 + AM65X_WKUP_IOPAD(0x00e8, PIN_INPUT, 0) /* (AD8) MCU_I2C0_SCL */ 186 + AM65X_WKUP_IOPAD(0x00ec, PIN_INPUT, 0) /* (AD7) MCU_I2C0_SDA */ 187 + >; 188 + }; 233 189 }; 234 190 235 191 &main_pmx0 { 236 - main_uart0_pins_default: main-uart0-pins-default { 192 + main_uart0_pins_default: main-uart0-default-pins { 237 193 pinctrl-single,pins = < 238 194 AM65X_IOPAD(0x01e4, PIN_INPUT, 0) /* (AF11) UART0_RXD */ 239 195 AM65X_IOPAD(0x01e8, PIN_OUTPUT, 0) /* (AE11) UART0_TXD */ ··· 249 191 >; 250 192 }; 251 193 252 - main_i2c2_pins_default: main-i2c2-pins-default { 194 + main_i2c2_pins_default: main-i2c2-default-pins { 253 195 pinctrl-single,pins = < 254 196 AM65X_IOPAD(0x0074, PIN_INPUT, 5) /* (T27) GPMC0_CSn3.I2C2_SCL */ 255 197 AM65X_IOPAD(0x0070, PIN_INPUT, 5) /* (R25) GPMC0_CSn2.I2C2_SDA */ 256 198 >; 257 199 }; 258 200 259 - main_spi0_pins_default: main-spi0-pins-default { 201 + main_spi0_pins_default: main-spi0-default-pins { 260 202 pinctrl-single,pins = < 261 203 AM65X_IOPAD(0x01c4, PIN_INPUT, 0) /* (AH13) SPI0_CLK */ 262 204 AM65X_IOPAD(0x01c8, PIN_INPUT, 0) /* (AE13) SPI0_D0 */ ··· 265 207 >; 266 208 }; 267 209 268 - main_mmc0_pins_default: main-mmc0-pins-default { 210 + main_mmc0_pins_default: main-mmc0-default-pins { 269 211 pinctrl-single,pins = < 270 212 AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ 271 213 AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */ ··· 282 224 >; 283 225 }; 284 226 285 - main_mmc1_pins_default: main-mmc1-pins-default { 227 + main_mmc1_pins_default: main-mmc1-default-pins { 286 228 pinctrl-single,pins = < 287 229 AM65X_IOPAD(0x02d4, PIN_INPUT_PULLDOWN, 0) /* (C27) MMC1_CLK */ 288 230 AM65X_IOPAD(0x02d8, PIN_INPUT_PULLUP, 0) /* (C28) MMC1_CMD */ ··· 295 237 >; 296 238 }; 297 239 298 - usb1_pins_default: usb1-pins-default { 240 + usb1_pins_default: usb1-default-pins { 299 241 pinctrl-single,pins = < 300 242 AM65X_IOPAD(0x02c0, PIN_OUTPUT, 0) /* (AC8) USB1_DRVVBUS */ 301 243 >; ··· 303 245 }; 304 246 305 247 &main_pmx1 { 306 - main_i2c0_pins_default: main-i2c0-pins-default { 248 + main_i2c0_pins_default: main-i2c0-default-pins { 307 249 pinctrl-single,pins = < 308 250 AM65X_IOPAD(0x0000, PIN_INPUT, 0) /* (D20) I2C0_SCL */ 309 251 AM65X_IOPAD(0x0004, PIN_INPUT, 0) /* (C21) I2C0_SDA */ 310 252 >; 311 253 }; 312 254 313 - main_i2c1_pins_default: main-i2c1-pins-default { 255 + main_i2c1_pins_default: main-i2c1-default-pins { 314 256 pinctrl-single,pins = < 315 257 AM65X_IOPAD(0x0008, PIN_INPUT, 0) /* (B21) I2C1_SCL */ 316 258 AM65X_IOPAD(0x000c, PIN_INPUT, 0) /* (E21) I2C1_SDA */ 317 259 >; 318 260 }; 319 261 320 - ecap0_pins_default: ecap0-pins-default { 262 + ecap0_pins_default: ecap0-default-pins { 321 263 pinctrl-single,pins = < 322 264 AM65X_IOPAD(0x0010, PIN_INPUT, 0) /* (D21) ECAP0_IN_APWM_OUT */ 323 265 >; ··· 327 269 &wkup_uart0 { 328 270 /* Wakeup UART is used by System firmware */ 329 271 status = "reserved"; 272 + pinctrl-names = "default"; 273 + pinctrl-0 = <&wkup_uart0_pins_default>; 330 274 }; 331 275 332 276 &mcu_uart0 { 333 277 status = "okay"; 334 - /* Default pinmux */ 278 + pinctrl-names = "default"; 279 + pinctrl-0 = <&mcu_uart0_pins_default>; 335 280 }; 336 281 337 282 &main_uart0 { ··· 349 288 pinctrl-names = "default"; 350 289 pinctrl-0 = <&wkup_i2c0_pins_default>; 351 290 clock-frequency = <400000>; 291 + 292 + eeprom@50 { 293 + /* AT24CM01 */ 294 + compatible = "atmel,24c1024"; 295 + reg = <0x50>; 296 + }; 297 + 298 + vdd_mpu: regulator@60 { 299 + compatible = "ti,tps62363"; 300 + reg = <0x60>; 301 + regulator-name = "VDD_MPU"; 302 + regulator-min-microvolt = <500000>; 303 + regulator-max-microvolt = <1770000>; 304 + regulator-always-on; 305 + regulator-boot-on; 306 + ti,vsel0-state-high; 307 + ti,vsel1-state-high; 308 + ti,enable-vout-discharge; 309 + }; 352 310 353 311 pca9554: gpio@39 { 354 312 compatible = "nxp,pca9554"; ··· 385 305 386 306 &mcu_i2c0 { 387 307 status = "okay"; 388 - /* Default pinmux */ 308 + pinctrl-names = "default"; 309 + pinctrl-0 = <&mcu_i2c0_pins_default>; 310 + clock-frequency = <400000>; 389 311 }; 390 312 391 313 &main_i2c0 { ··· 520 438 &mcu_r5fss0_core0 { 521 439 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 522 440 <&mcu_r5fss0_core0_memory_region>; 523 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 441 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 524 442 }; 525 443 526 444 &mcu_r5fss0_core1 { 527 445 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 528 446 <&mcu_r5fss0_core1_memory_region>; 529 - mboxes = <&mailbox0_cluster1 &mbox_mcu_r5fss0_core1>; 447 + mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>; 530 448 }; 531 449 532 450 &ospi0 { ··· 544 462 cdns,tchsh-ns = <60>; 545 463 cdns,tslch-ns = <60>; 546 464 cdns,read-delay = <0>; 465 + 466 + partitions { 467 + compatible = "fixed-partitions"; 468 + #address-cells = <1>; 469 + #size-cells = <1>; 470 + 471 + partition@0 { 472 + label = "ospi.tiboot3"; 473 + reg = <0x0 0x80000>; 474 + }; 475 + 476 + partition@80000 { 477 + label = "ospi.tispl"; 478 + reg = <0x80000 0x200000>; 479 + }; 480 + 481 + partition@280000 { 482 + label = "ospi.u-boot"; 483 + reg = <0x280000 0x400000>; 484 + }; 485 + 486 + partition@680000 { 487 + label = "ospi.env"; 488 + reg = <0x680000 0x20000>; 489 + }; 490 + 491 + partition@6a0000 { 492 + label = "ospi.env.backup"; 493 + reg = <0x6a0000 0x20000>; 494 + }; 495 + 496 + partition@6c0000 { 497 + label = "ospi.sysfw"; 498 + reg = <0x6c0000 0x100000>; 499 + }; 500 + 501 + partition@800000 { 502 + label = "ospi.rootfs"; 503 + reg = <0x800000 0x37c0000>; 504 + }; 505 + 506 + partition@3fe0000 { 507 + label = "ospi.phypattern"; 508 + reg = <0x3fe0000 0x20000>; 509 + }; 510 + }; 547 511 }; 548 512 }; 549 513
+1
arch/arm64/boot/dts/ti/k3-am654.dtsi
··· 113 113 msmc_l3: l3-cache0 { 114 114 compatible = "cache"; 115 115 cache-level = <3>; 116 + cache-unified; 116 117 }; 117 118 118 119 thermal_zones: thermal-zones {
+1 -1
arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-common.dtsi
··· 22 22 }; 23 23 24 24 &main_pmx0 { 25 - main_mmc0_pins_default: main-mmc0-pins-default { 25 + main_mmc0_pins_default: main-mmc0-default-pins { 26 26 pinctrl-single,pins = < 27 27 AM65X_IOPAD(0x01a8, PIN_INPUT_PULLDOWN, 0) /* (B25) MMC0_CLK */ 28 28 AM65X_IOPAD(0x01ac, PIN_INPUT_PULLUP, 0) /* (B27) MMC0_CMD */
+11 -13
arch/arm64/boot/dts/ti/k3-am6548-iot2050-advanced-m2.dts
··· 27 27 }; 28 28 29 29 &main_pmx0 { 30 - main_m2_enable_pins_default: main-m2-enable-pins-default { 30 + main_m2_enable_pins_default: main-m2-enable-default-pins { 31 31 pinctrl-single,pins = < 32 32 AM65X_IOPAD(0x01c4, PIN_INPUT_PULLUP, 7) /* (AH13) GPIO1_17 */ 33 33 >; ··· 39 39 >; 40 40 }; 41 41 42 - main_pmx0_m2_config_pins_default: main-pmx0-m2-config-pins-default { 42 + main_pmx0_m2_config_pins_default: main-pmx0-m2-config-default-pins { 43 43 pinctrl-single,pins = < 44 44 AM65X_IOPAD(0x01c8, PIN_INPUT_PULLUP, 7) /* (AE13) GPIO1_18 */ 45 45 AM65X_IOPAD(0x01cc, PIN_INPUT_PULLUP, 7) /* (AD13) GPIO1_19 */ ··· 56 56 }; 57 57 58 58 &main_pmx1 { 59 - main_pmx1_m2_config_pins_default: main-pmx1-m2-config-pins-default { 59 + main_pmx1_m2_config_pins_default: main-pmx1-m2-config-default-pins { 60 60 pinctrl-single,pins = < 61 61 AM65X_IOPAD(0x0018, PIN_INPUT_PULLUP, 7) /* (B22) GPIO1_88 */ 62 62 AM65X_IOPAD(0x001c, PIN_INPUT_PULLUP, 7) /* (C23) GPIO1_89 */ ··· 66 66 67 67 &main_gpio0 { 68 68 pinctrl-names = "default"; 69 - pinctrl-0 = < 70 - &main_m2_pcie_mux_control 71 - &arduino_io_d4_to_d9_pins_default 72 - >; 69 + pinctrl-0 = 70 + <&main_m2_pcie_mux_control>, 71 + <&arduino_io_d4_to_d9_pins_default>; 73 72 }; 74 73 75 74 &main_gpio1 { 76 75 pinctrl-names = "default"; 77 - pinctrl-0 = < 78 - &main_m2_enable_pins_default 79 - &main_pmx0_m2_config_pins_default 80 - &main_pmx1_m2_config_pins_default 81 - &cp2102n_reset_pin_default 82 - >; 76 + pinctrl-0 = 77 + <&main_m2_enable_pins_default>, 78 + <&main_pmx0_m2_config_pins_default>, 79 + <&main_pmx1_m2_config_pins_default>, 80 + <&cp2102n_reset_pin_default>; 83 81 }; 84 82 85 83 /*
+136 -35
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts
··· 22 22 }; 23 23 24 24 aliases { 25 + serial0 = &wkup_uart0; 26 + serial1 = &mcu_uart0; 25 27 serial2 = &main_uart8; 26 28 mmc1 = &main_sdhci1; 27 29 can0 = &mcu_mcan0; ··· 124 122 }; 125 123 126 124 &main_pmx0 { 127 - main_uart8_pins_default: main-uart8-pins-default { 125 + main_uart8_pins_default: main-uart8-default-pins { 128 126 pinctrl-single,pins = < 129 127 J721S2_IOPAD(0x0d0, PIN_INPUT, 11) /* (AF26) SPI0_CS1.UART8_RXD */ 130 128 J721S2_IOPAD(0x0d4, PIN_OUTPUT, 11) /* (AH27) SPI0_CLK.UART8_TXD */ 131 129 >; 132 130 }; 133 131 134 - main_i2c0_pins_default: main-i2c0-pins-default { 132 + main_i2c0_pins_default: main-i2c0-default-pins { 135 133 pinctrl-single,pins = < 136 134 J721S2_IOPAD(0x0e0, PIN_INPUT, 0) /* (AH25) I2C0_SCL */ 137 135 J721S2_IOPAD(0x0e4, PIN_INPUT, 0) /* (AE24) I2C0_SDA */ 138 136 >; 139 137 }; 140 138 141 - main_mmc1_pins_default: main-mmc1-pins-default { 139 + main_mmc1_pins_default: main-mmc1-default-pins { 142 140 pinctrl-single,pins = < 143 141 J721S2_IOPAD(0x104, PIN_INPUT, 0) /* (P23) MMC1_CLK */ 144 142 J721S2_IOPAD(0x108, PIN_INPUT, 0) /* (N24) MMC1_CMD */ ··· 150 148 >; 151 149 }; 152 150 153 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 151 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 154 152 pinctrl-single,pins = < 155 153 J721S2_IOPAD(0x0c4, PIN_INPUT, 7) /* (AB26) ECAP0_IN_APWM_OUT.GPIO0_49 */ 156 154 >; 157 155 }; 158 156 159 - main_usbss0_pins_default: main-usbss0-pins-default { 157 + main_usbss0_pins_default: main-usbss0-default-pins { 160 158 pinctrl-single,pins = < 161 159 J721S2_IOPAD(0x0ec, PIN_OUTPUT, 6) /* (AG25) TIMER_IO1.USB0_DRVVBUS */ 162 160 >; 163 161 }; 164 162 165 - main_mcan6_pins_default: main-mcan6-pins-default { 163 + main_mcan6_pins_default: main-mcan6-default-pins { 166 164 pinctrl-single,pins = < 167 165 J721S2_IOPAD(0x098, PIN_INPUT, 0) /* (V25) MCASP0_AXR10.MCAN6_RX */ 168 166 J721S2_IOPAD(0x094, PIN_INPUT, 0) /* (AA25) MCASP0_AXR9.MCAN6_TX */ 169 167 >; 170 168 }; 171 169 172 - main_mcan7_pins_default: main-mcan7-pins-default { 170 + main_mcan7_pins_default: main-mcan7-default-pins { 173 171 pinctrl-single,pins = < 174 172 J721S2_IOPAD(0x0a0, PIN_INPUT, 0) /* (AB25) MCASP0_AXR12.MCAN7_RX */ 175 173 J721S2_IOPAD(0x09c, PIN_INPUT, 0) /* (T24) MCASP0_AXR11.MCAN7_TX */ 176 174 >; 177 175 }; 176 + 177 + main_i2c4_pins_default: main-i2c4-default-pins { 178 + pinctrl-single,pins = < 179 + J721S2_IOPAD(0x010, PIN_INPUT_PULLUP, 8) /* (AF28) MCAN13_RX.I2C4_SDA */ 180 + J721S2_IOPAD(0x014, PIN_INPUT_PULLUP, 8) /* (AD25) MCAN14_TX.I2C4_SCL */ 181 + >; 182 + }; 183 + 184 + rpi_header_gpio0_pins_default: rpi-header-gpio0-default-pins { 185 + pinctrl-single,pins = < 186 + J721S2_IOPAD(0x0a8, PIN_INPUT, 7) /* (U24) MCASP0_AXR14.GPIO0_42 */ 187 + J721S2_IOPAD(0x090, PIN_INPUT, 7) /* (W24) MCASP0_AXR8.GPIO0_36 */ 188 + J721S2_IOPAD(0x0bc, PIN_INPUT, 7) /* (V28) MCASP1_AFSX.GPIO0_47 */ 189 + J721S2_IOPAD(0x06c, PIN_INPUT, 7) /* (V26) MCAN1_TX.GPIO0_27 */ 190 + J721S2_IOPAD(0x004, PIN_INPUT, 7) /* (W25) MCAN12_TX.GPIO0_1 */ 191 + J721S2_IOPAD(0x008, PIN_INPUT, 7) /* (AC24) MCAN12_RX.GPIO0_2 */ 192 + J721S2_IOPAD(0x0b8, PIN_INPUT, 7) /* (AA24) MCASP1_ACLKX.GPIO0_46 */ 193 + J721S2_IOPAD(0x00c, PIN_INPUT, 7) /* (AE28) MCAN13_TX.GPIO0_3 */ 194 + J721S2_IOPAD(0x034, PIN_INPUT, 7) /* (AD24) PMIC_WAKE0.GPIO0_13 */ 195 + J721S2_IOPAD(0x0a4, PIN_INPUT, 7) /* (T23) MCASP0_AXR13.GPIO0_41 */ 196 + J721S2_IOPAD(0x0c0, PIN_INPUT, 7) /* (T28) MCASP1_AXR0.GPIO0_48 */ 197 + J721S2_IOPAD(0x0b4, PIN_INPUT, 7) /* (U25) MCASP1_AXR4.GPIO0_45 */ 198 + J721S2_IOPAD(0x0cc, PIN_INPUT, 7) /* (AE27) SPI0_CS0.GPIO0_51 */ 199 + J721S2_IOPAD(0x08c, PIN_INPUT, 7) /* (T25) MCASP0_AXR7.GPIO0_35 */ 200 + >; 201 + }; 178 202 }; 179 203 180 - &wkup_pmx0 { 181 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 204 + &wkup_pmx2 { 205 + wkup_uart0_pins_default: wkup-uart0-default-pins { 182 206 pinctrl-single,pins = < 183 - J721S2_WKUP_IOPAD(0x094, PIN_INPUT, 0) /* (B22) MCU_RGMII1_RD0 */ 184 - J721S2_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B21) MCU_RGMII1_RD1 */ 185 - J721S2_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C22) MCU_RGMII1_RD2 */ 186 - J721S2_WKUP_IOPAD(0x088, PIN_INPUT, 0) /* (D23) MCU_RGMII1_RD3 */ 187 - J721S2_WKUP_IOPAD(0x084, PIN_INPUT, 0) /* (D22) MCU_RGMII1_RXC */ 188 - J721S2_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (E23) MCU_RGMII1_RX_CTL */ 189 - J721S2_WKUP_IOPAD(0x07c, PIN_OUTPUT, 0) /* (F23) MCU_RGMII1_TD0 */ 190 - J721S2_WKUP_IOPAD(0x078, PIN_OUTPUT, 0) /* (G22) MCU_RGMII1_TD1 */ 191 - J721S2_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (E21) MCU_RGMII1_TD2 */ 192 - J721S2_WKUP_IOPAD(0x070, PIN_OUTPUT, 0) /* (E22) MCU_RGMII1_TD3 */ 193 - J721S2_WKUP_IOPAD(0x080, PIN_OUTPUT, 0) /* (F21) MCU_RGMII1_TXC */ 194 - J721S2_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (F22) MCU_RGMII1_TX_CTL */ 207 + J721S2_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (E25) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 208 + J721S2_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (F28) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 209 + J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (D28) WKUP_UART0_RXD */ 210 + J721S2_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (D27) WKUP_UART0_TXD */ 195 211 >; 196 212 }; 197 213 198 - mcu_mdio_pins_default: mcu-mdio-pins-default { 214 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 199 215 pinctrl-single,pins = < 200 - J721S2_WKUP_IOPAD(0x09c, PIN_OUTPUT, 0) /* (A21) MCU_MDIO0_MDC */ 201 - J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (A22) MCU_MDIO0_MDIO */ 216 + J721S2_WKUP_IOPAD(0x02C, PIN_INPUT, 0) /* (B22) MCU_RGMII1_RD0 */ 217 + J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B21) MCU_RGMII1_RD1 */ 218 + J721S2_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C22) MCU_RGMII1_RD2 */ 219 + J721S2_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D23) MCU_RGMII1_RD3 */ 220 + J721S2_WKUP_IOPAD(0x01C, PIN_INPUT, 0) /* (D22) MCU_RGMII1_RXC */ 221 + J721S2_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (E23) MCU_RGMII1_RX_CTL */ 222 + J721S2_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (F23) MCU_RGMII1_TD0 */ 223 + J721S2_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (G22) MCU_RGMII1_TD1 */ 224 + J721S2_WKUP_IOPAD(0x00C, PIN_OUTPUT, 0) /* (E21) MCU_RGMII1_TD2 */ 225 + J721S2_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E22) MCU_RGMII1_TD3 */ 226 + J721S2_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (F21) MCU_RGMII1_TXC */ 227 + J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (F22) MCU_RGMII1_TX_CTL */ 202 228 >; 203 229 }; 204 230 205 - mcu_mcan0_pins_default: mcu-mcan0-pins-default { 231 + mcu_mdio_pins_default: mcu-mdio-default-pins { 206 232 pinctrl-single,pins = < 207 - J721S2_WKUP_IOPAD(0x0bc, PIN_INPUT, 0) /* (E28) MCU_MCAN0_RX */ 208 - J721S2_WKUP_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (E27) MCU_MCAN0_TX */ 233 + J721S2_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A21) MCU_MDIO0_MDC */ 234 + J721S2_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (A22) MCU_MDIO0_MDIO */ 209 235 >; 210 236 }; 211 237 212 - mcu_mcan1_pins_default: mcu-mcan1-pins-default { 238 + mcu_mcan0_pins_default: mcu-mcan0-default-pins { 213 239 pinctrl-single,pins = < 214 - J721S2_WKUP_IOPAD(0x0d4, PIN_INPUT, 0) /* (F26) WKUP_GPIO0_5.MCU_MCAN1_RX */ 215 - J721S2_WKUP_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (C23) WKUP_GPIO0_4.MCU_MCAN1_TX*/ 240 + J721S2_WKUP_IOPAD(0x054, PIN_INPUT, 0) /* (E28) MCU_MCAN0_RX */ 241 + J721S2_WKUP_IOPAD(0x050, PIN_OUTPUT, 0) /* (E27) MCU_MCAN0_TX */ 216 242 >; 217 243 }; 218 244 219 - mcu_i2c1_pins_default: mcu-i2c1-pins-default { 245 + mcu_mcan1_pins_default: mcu-mcan1-default-pins { 220 246 pinctrl-single,pins = < 221 - J721S2_WKUP_IOPAD(0x0e0, PIN_INPUT, 0) /* (F24) WKUP_GPIO0_8.MCU_I2C1_SCL */ 222 - J721S2_WKUP_IOPAD(0x0e4, PIN_INPUT, 0) /* (H26) WKUP_GPIO0_9.MCU_I2C1_SDA */ 247 + J721S2_WKUP_IOPAD(0x06C, PIN_INPUT, 0) /* (F26) WKUP_GPIO0_5.MCU_MCAN1_RX */ 248 + J721S2_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (C23) WKUP_GPIO0_4.MCU_MCAN1_TX*/ 223 249 >; 224 250 }; 251 + 252 + mcu_i2c0_pins_default: mcu-i2c0-default-pins { 253 + pinctrl-single,pins = < 254 + J721S2_WKUP_IOPAD(0x0a0, PIN_INPUT, 0) /* (G24) MCU_I2C0_SCL */ 255 + J721S2_WKUP_IOPAD(0x0a4, PIN_INPUT, 0) /* (J25) MCU_I2C0_SDA */ 256 + >; 257 + }; 258 + 259 + mcu_i2c1_pins_default: mcu-i2c1-default-pins { 260 + pinctrl-single,pins = < 261 + J721S2_WKUP_IOPAD(0x078, PIN_INPUT, 0) /* (F24) WKUP_GPIO0_8.MCU_I2C1_SCL */ 262 + J721S2_WKUP_IOPAD(0x07c, PIN_INPUT, 0) /* (H26) WKUP_GPIO0_9.MCU_I2C1_SDA */ 263 + >; 264 + }; 265 + 266 + mcu_uart0_pins_default: mcu-uart0-default-pins { 267 + pinctrl-single,pins = < 268 + J721S2_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C24) WKUP_GPIO0_13.MCU_UART0_RXD */ 269 + J721S2_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (C25) WKUP_GPIO0_12.MCU_UART0_TXD */ 270 + >; 271 + }; 272 + 273 + mcu_rpi_header_gpio0_pins0_default: mcu-rpi-header-gpio0-pins0-default { 274 + pinctrl-single,pins = < 275 + J721S2_WKUP_IOPAD(0x118, PIN_INPUT, 7) /* (G25) WKUP_GPIO0_66 */ 276 + J721S2_WKUP_IOPAD(0x05C, PIN_INPUT, 7) /* (E24) MCU_SPI1_D0.WKUP_GPIO0_1 */ 277 + J721S2_WKUP_IOPAD(0x060, PIN_INPUT, 7) /* (C28) MCU_SPI1_D1.WKUP_GPIO0_2 */ 278 + J721S2_WKUP_IOPAD(0x058, PIN_INPUT, 7) /* (D26) MCU_SPI1_CLK.WKUP_GPIO0_0 */ 279 + J721S2_WKUP_IOPAD(0x094, PIN_INPUT, 7) /* (D25) MCU_SPI1_CS2.WKUP_GPIO0_15*/ 280 + J721S2_WKUP_IOPAD(0x0B8, PIN_INPUT, 7) /* (G27) WKUP_GPIO0_56 */ 281 + J721S2_WKUP_IOPAD(0x114, PIN_INPUT, 7) /* (J26) WKUP_GPIO0_57 */ 282 + J721S2_WKUP_IOPAD(0x11C, PIN_INPUT, 7) /* (J27) WKUP_GPIO0_67 */ 283 + J721S2_WKUP_IOPAD(0x064, PIN_INPUT, 7) /* (C27) MCU_SPI1_CS0.WKUP_GPIO0_3 */ 284 + >; 285 + }; 286 + }; 287 + 288 + &wkup_pmx3 { 289 + mcu_rpi_header_gpio0_pins1_default: mcu-rpi-header-gpio0-pins1-default { 290 + pinctrl-single,pins = < 291 + J721S2_WKUP_IOPAD(0x000, PIN_INPUT, 7) /* (K26) WKUP_GPIO0_49 */ 292 + >; 293 + }; 294 + }; 295 + 296 + &main_gpio0 { 297 + pinctrl-names = "default"; 298 + pinctrl-0 = <&rpi_header_gpio0_pins_default>; 225 299 }; 226 300 227 301 &main_gpio2 { ··· 313 235 }; 314 236 315 237 &wkup_gpio0 { 316 - status = "disabled"; 238 + pinctrl-names = "default"; 239 + pinctrl-0 = <&mcu_rpi_header_gpio0_pins0_default>, <&mcu_rpi_header_gpio0_pins1_default>; 317 240 }; 318 241 319 242 &wkup_gpio1 { ··· 323 244 324 245 &wkup_uart0 { 325 246 status = "reserved"; 247 + pinctrl-names = "default"; 248 + pinctrl-0 = <&wkup_uart0_pins_default>; 249 + }; 250 + 251 + &mcu_uart0 { 252 + status = "okay"; 253 + pinctrl-names = "default"; 254 + pinctrl-0 = <&mcu_uart0_pins_default>; 326 255 }; 327 256 328 257 &main_uart8 { ··· 358 271 }; 359 272 }; 360 273 274 + &main_i2c4 { 275 + status = "okay"; 276 + pinctrl-names = "default"; 277 + pinctrl-0 = <&main_i2c4_pins_default>; 278 + clock-frequency = <400000>; 279 + }; 280 + 281 + &mcu_i2c0 { 282 + status = "okay"; 283 + pinctrl-names = "default"; 284 + pinctrl-0 = <&mcu_i2c0_pins_default>; 285 + clock-frequency = <400000>; 286 + }; 287 + 361 288 &main_sdhci0 { 362 289 /* Unused */ 363 290 status = "disabled"; ··· 388 287 389 288 &mcu_cpsw { 390 289 pinctrl-names = "default"; 391 - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 290 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 392 291 }; 393 292 394 293 &davinci_mdio {
+22
arch/arm64/boot/dts/ti/k3-am68-sk-som.dtsi
··· 27 27 }; 28 28 }; 29 29 }; 30 + 31 + &wkup_pmx2 { 32 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 33 + pinctrl-single,pins = < 34 + J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ 35 + J721S2_WKUP_IOPAD(0x09c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ 36 + >; 37 + }; 38 + }; 39 + 40 + &wkup_i2c0 { 41 + status = "okay"; 42 + pinctrl-names = "default"; 43 + pinctrl-0 = <&wkup_i2c0_pins_default>; 44 + clock-frequency = <400000>; 45 + 46 + eeprom@51 { 47 + /* AT24C512C-MAHM-T */ 48 + compatible = "atmel,24c512"; 49 + reg = <0x51>; 50 + }; 51 + };
+177 -5
arch/arm64/boot/dts/ti/k3-am69-sk.dts
··· 21 21 }; 22 22 23 23 aliases { 24 + serial0 = &wkup_uart0; 25 + serial1 = &mcu_uart0; 24 26 serial2 = &main_uart8; 27 + mmc0 = &main_sdhci0; 25 28 mmc1 = &main_sdhci1; 26 - i2c0 = &main_i2c0; 29 + i2c0 = &wkup_i2c0; 30 + i2c3 = &main_i2c0; 31 + ethernet0 = &mcu_cpsw_port1; 27 32 }; 28 33 29 34 memory@80000000 { ··· 110 105 }; 111 106 112 107 &main_pmx0 { 113 - main_uart8_pins_default: main-uart8-pins-default { 108 + main_uart8_pins_default: main-uart8-default-pins { 114 109 pinctrl-single,pins = < 115 110 J784S4_IOPAD(0x0d0, PIN_INPUT, 11) /* (AP38) SPI0_CS1.UART8_RXD */ 116 111 J784S4_IOPAD(0x0d4, PIN_OUTPUT, 11) /* (AN38) SPI0_CLK.UART8_TXD */ 117 112 >; 118 113 }; 119 114 120 - main_i2c0_pins_default: main-i2c0-pins-default { 115 + main_i2c0_pins_default: main-i2c0-default-pins { 121 116 pinctrl-single,pins = < 122 117 J784S4_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AN36) I2C0_SCL */ 123 118 J784S4_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AP37) I2C0_SDA */ 124 119 >; 125 120 }; 126 121 127 - main_mmc1_pins_default: main-mmc1-pins-default { 122 + main_mmc1_pins_default: main-mmc1-default-pins { 128 123 pinctrl-single,pins = < 129 124 J784S4_IOPAD(0x104, PIN_INPUT, 0) /* (AB38) MMC1_CLK */ 130 125 J784S4_IOPAD(0x108, PIN_INPUT, 0) /* (AB36) MMC1_CMD */ ··· 137 132 >; 138 133 }; 139 134 140 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 135 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 141 136 pinctrl-single,pins = < 142 137 J784S4_IOPAD(0x0C4, PIN_INPUT, 7) /* (AD36) ECAP0_IN_APWM_OUT.GPIO0_49 */ 143 138 >; 144 139 }; 140 + 141 + rpi_header_gpio0_pins_default: rpi-header-gpio0-default-pins { 142 + pinctrl-single,pins = < 143 + J784S4_IOPAD(0x0BC, PIN_INPUT, 7) /* (AD33) MCASP1_AFSX.GPIO0_47 */ 144 + J784S4_IOPAD(0x06C, PIN_INPUT, 7) /* (AJ37) MCASP4_AFSX.GPIO0_27 */ 145 + J784S4_IOPAD(0x0B4, PIN_INPUT, 7) /* (AL34) MCASP1_AXR4.GPIO0_45 */ 146 + J784S4_IOPAD(0x0C0, PIN_INPUT, 7) /* (AD38) MCASP1_AXR0.GPIO0_48 */ 147 + J784S4_IOPAD(0x00C, PIN_INPUT, 7) /* (AF33) MCAN13_TX.GPIO0_3 */ 148 + J784S4_IOPAD(0x0B8, PIN_INPUT, 7) /* (AC34) MCASP1_ACLKX.GPIO0_46 */ 149 + J784S4_IOPAD(0x090, PIN_INPUT, 7) /* (AC35) MCASP0_AXR8.GPIO0_36 */ 150 + J784S4_IOPAD(0x0A8, PIN_INPUT, 7) /* (AF34) MCASP0_AXR14.GPIO0_42 */ 151 + J784S4_IOPAD(0x0A4, PIN_INPUT, 7) /* (AJ36) MCASP0_AXR13.GPIO0_41 */ 152 + J784S4_IOPAD(0x034, PIN_INPUT, 7) /* (AJ34) PMIC_WAKE0n.GPIO0_13 */ 153 + J784S4_IOPAD(0x0CC, PIN_INPUT, 7) /* (AM37) SPI0_CS0.GPIO0_51 */ 154 + J784S4_IOPAD(0x08C, PIN_INPUT, 7) /* (AE35) MCASP0_AXR7.GPIO0_35 */ 155 + J784S4_IOPAD(0x008, PIN_INPUT, 7) /* (AJ33) MCAN12_RX.GPIO0_2 */ 156 + J784S4_IOPAD(0x004, PIN_INPUT, 7) /* (AG36) MCAN12_TX.GPIO0_1 */ 157 + >; 158 + }; 159 + }; 160 + 161 + &wkup_pmx2 { 162 + wkup_uart0_pins_default: wkup-uart0-default-pins { 163 + pinctrl-single,pins = < 164 + J721S2_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (L37) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 165 + J721S2_WKUP_IOPAD(0x074, PIN_INPUT, 0) /* (L36) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 166 + J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 167 + J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (K34) WKUP_UART0_TXD */ 168 + >; 169 + }; 170 + 171 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 172 + pinctrl-single,pins = < 173 + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 174 + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 175 + >; 176 + }; 177 + 178 + mcu_uart0_pins_default: mcu-uart0-default-pins { 179 + pinctrl-single,pins = < 180 + J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (K38) WKUP_GPIO0_13.MCU_UART0_RXD */ 181 + J784S4_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (J37) WKUP_GPIO0_12.MCU_UART0_TXD */ 182 + >; 183 + }; 184 + 185 + mcu_i2c0_pins_default: mcu-i2c0-default-pins { 186 + pinctrl-single,pins = < 187 + J784S4_WKUP_IOPAD(0x0a0, PIN_INPUT_PULLUP, 0) /* (M35) MCU_I2C0_SCL */ 188 + J784S4_WKUP_IOPAD(0x0a4, PIN_INPUT_PULLUP, 0) /* (G34) MCU_I2C0_SDA */ 189 + >; 190 + }; 191 + 192 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 193 + pinctrl-single,pins = < 194 + J784S4_WKUP_IOPAD(0x02c, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ 195 + J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ 196 + J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ 197 + J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ 198 + J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ 199 + J784S4_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ 200 + J784S4_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ 201 + J784S4_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ 202 + J784S4_WKUP_IOPAD(0x00c, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ 203 + J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ 204 + J784S4_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ 205 + J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ 206 + >; 207 + }; 208 + 209 + mcu_mdio_pins_default: mcu-mdio-default-pins { 210 + pinctrl-single,pins = < 211 + J784S4_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ 212 + J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ 213 + >; 214 + }; 215 + 216 + mcu_rpi_hdr1_gpio0_pins_default: mcu-rpi-hdr1-gpio0-default-pins { 217 + pinctrl-single,pins = < 218 + J784S4_WKUP_IOPAD(0x118, PIN_INPUT, 7) /* (N34) WKUP_GPIO0_66 */ 219 + J784S4_WKUP_IOPAD(0x05c, PIN_INPUT, 7) /* (J34) WKUP_GPIO0_1 */ 220 + J784S4_WKUP_IOPAD(0x060, PIN_INPUT, 7) /* (J35) WKUP_GPIO0_2 */ 221 + J784S4_WKUP_IOPAD(0x058, PIN_INPUT, 7) /* (H38) WKUP_GPIO0_0 */ 222 + J784S4_WKUP_IOPAD(0x0b8, PIN_INPUT, 7) /* (M37) WKUP_GPIO0_56 */ 223 + J784S4_WKUP_IOPAD(0x114, PIN_INPUT, 7) /* (M36) WKUP_GPIO0_57 */ 224 + J784S4_WKUP_IOPAD(0x094, PIN_INPUT, 7) /* (K37) WKUP_GPIO0_15 */ 225 + J784S4_WKUP_IOPAD(0x064, PIN_INPUT, 7) /* (J36) WKUP_GPIO0_3 */ 226 + J784S4_WKUP_IOPAD(0x11c, PIN_INPUT, 7) /* (M34) WKUP_GPIO0_67 */ 227 + >; 228 + }; 229 + }; 230 + 231 + &wkup_pmx3 { 232 + mcu_rpi_hdr2_gpio0_pins_default: mcu-rpi-hdr2-gpio0-default-pins { 233 + pinctrl-single,pins = < 234 + J784S4_WKUP_IOPAD(0x0, PIN_INPUT, 7) /* (M33) WKUP_GPIO0_49 */ 235 + >; 236 + }; 237 + }; 238 + 239 + &wkup_uart0 { 240 + /* Firmware usage */ 241 + status = "reserved"; 242 + pinctrl-names = "default"; 243 + pinctrl-0 = <&wkup_uart0_pins_default>; 244 + }; 245 + 246 + &wkup_i2c0 { 247 + status = "okay"; 248 + pinctrl-names = "default"; 249 + pinctrl-0 = <&wkup_i2c0_pins_default>; 250 + clock-frequency = <400000>; 251 + 252 + eeprom@51 { 253 + /* AT24C512C-MAHM-T */ 254 + compatible = "atmel,24c512"; 255 + reg = <0x51>; 256 + }; 257 + }; 258 + 259 + &wkup_gpio0 { 260 + status = "okay"; 261 + pinctrl-names = "default"; 262 + pinctrl-0 = <&mcu_rpi_hdr1_gpio0_pins_default>, <&mcu_rpi_hdr2_gpio0_pins_default>; 263 + }; 264 + 265 + &mcu_uart0 { 266 + status = "okay"; 267 + pinctrl-names = "default"; 268 + pinctrl-0 = <&mcu_uart0_pins_default>; 269 + }; 270 + 271 + &mcu_i2c0 { 272 + status = "okay"; 273 + pinctrl-names = "default"; 274 + pinctrl-0 = <&mcu_i2c0_pins_default>; 275 + clock-frequency = <400000>; 145 276 }; 146 277 147 278 &main_uart8 { ··· 306 165 }; 307 166 }; 308 167 168 + &main_sdhci0 { 169 + /* eMMC */ 170 + status = "okay"; 171 + non-removable; 172 + ti,driver-strength-ohm = <50>; 173 + disable-wp; 174 + }; 175 + 309 176 &main_sdhci1 { 310 177 /* SD card */ 311 178 status = "okay"; ··· 326 177 327 178 &main_gpio0 { 328 179 status = "okay"; 180 + pinctrl-names = "default"; 181 + pinctrl-0 = <&rpi_header_gpio0_pins_default>; 182 + }; 183 + 184 + &mcu_cpsw { 185 + status = "okay"; 186 + pinctrl-names = "default"; 187 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 188 + }; 189 + 190 + &davinci_mdio { 191 + mcu_phy0: ethernet-phy@0 { 192 + reg = <0>; 193 + ti,rx-internal-delay = <DP83867_RGMIIDCTL_2_00_NS>; 194 + ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 195 + ti,min-output-impedance; 196 + }; 197 + }; 198 + 199 + &mcu_cpsw_port1 { 200 + status = "okay"; 201 + phy-mode = "rgmii-rxid"; 202 + phy-handle = <&mcu_phy0>; 329 203 };
+96 -27
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
··· 15 15 compatible = "ti,j7200-evm", "ti,j7200"; 16 16 model = "Texas Instruments J7200 EVM"; 17 17 18 + aliases { 19 + serial0 = &wkup_uart0; 20 + serial1 = &mcu_uart0; 21 + serial2 = &main_uart0; 22 + serial3 = &main_uart1; 23 + serial5 = &main_uart3; 24 + mmc0 = &main_sdhci0; 25 + mmc1 = &main_sdhci1; 26 + }; 27 + 18 28 chosen { 19 29 stdout-path = "serial2:115200n8"; 20 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 21 30 }; 22 31 23 32 evm_12v0: fixedregulator-evm12v0 { ··· 89 80 }; 90 81 }; 91 82 92 - &wkup_pmx2 { 93 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 83 + &wkup_pmx0 { 84 + mcu_uart0_pins_default: mcu-uart0-default-pins { 94 85 pinctrl-single,pins = < 95 - J721E_WKUP_IOPAD(0x0068, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */ 96 - J721E_WKUP_IOPAD(0x006c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */ 97 - J721E_WKUP_IOPAD(0x0070, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */ 98 - J721E_WKUP_IOPAD(0x0074, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */ 99 - J721E_WKUP_IOPAD(0x0078, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */ 100 - J721E_WKUP_IOPAD(0x007c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */ 101 - J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */ 102 - J721E_WKUP_IOPAD(0x008c, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */ 103 - J721E_WKUP_IOPAD(0x0090, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */ 104 - J721E_WKUP_IOPAD(0x0094, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */ 105 - J721E_WKUP_IOPAD(0x0080, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */ 106 - J721E_WKUP_IOPAD(0x0084, PIN_INPUT, 0) /* MCU_RGMII1_RXC */ 86 + J721E_WKUP_IOPAD(0xf4, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */ 87 + J721E_WKUP_IOPAD(0xf0, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */ 88 + J721E_WKUP_IOPAD(0xf8, PIN_INPUT, 0) /* (E20) MCU_UART0_CTSn */ 89 + J721E_WKUP_IOPAD(0xfc, PIN_OUTPUT, 0) /* (E21) MCU_UART0_RTSn */ 107 90 >; 108 91 }; 109 92 110 - mcu_mdio_pins_default: mcu-mdio1-pins-default { 93 + wkup_uart0_pins_default: wkup-uart0-default-pins { 111 94 pinctrl-single,pins = < 112 - J721E_WKUP_IOPAD(0x009c, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ 113 - J721E_WKUP_IOPAD(0x0098, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ 95 + J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */ 96 + J721E_WKUP_IOPAD(0xb4, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */ 97 + >; 98 + }; 99 + }; 100 + 101 + &wkup_pmx2 { 102 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 103 + pinctrl-single,pins = < 104 + J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */ 105 + J721E_WKUP_IOPAD(0x0004, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */ 106 + J721E_WKUP_IOPAD(0x0008, PIN_OUTPUT, 0) /* MCU_RGMII1_TD3 */ 107 + J721E_WKUP_IOPAD(0x000c, PIN_OUTPUT, 0) /* MCU_RGMII1_TD2 */ 108 + J721E_WKUP_IOPAD(0x0010, PIN_OUTPUT, 0) /* MCU_RGMII1_TD1 */ 109 + J721E_WKUP_IOPAD(0x0014, PIN_OUTPUT, 0) /* MCU_RGMII1_TD0 */ 110 + J721E_WKUP_IOPAD(0x0020, PIN_INPUT, 0) /* MCU_RGMII1_RD3 */ 111 + J721E_WKUP_IOPAD(0x0024, PIN_INPUT, 0) /* MCU_RGMII1_RD2 */ 112 + J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_RGMII1_RD1 */ 113 + J721E_WKUP_IOPAD(0x002c, PIN_INPUT, 0) /* MCU_RGMII1_RD0 */ 114 + J721E_WKUP_IOPAD(0x0018, PIN_OUTPUT, 0) /* MCU_RGMII1_TXC */ 115 + J721E_WKUP_IOPAD(0x001c, PIN_INPUT, 0) /* MCU_RGMII1_RXC */ 116 + >; 117 + }; 118 + 119 + wkup_gpio_pins_default: wkup-gpio-default-pins { 120 + pinctrl-single,pins = < 121 + J721E_WKUP_IOPAD(0x70, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_6 */ 122 + >; 123 + }; 124 + 125 + mcu_mdio_pins_default: mcu-mdio1-default-pins { 126 + pinctrl-single,pins = < 127 + J721E_WKUP_IOPAD(0x0034, PIN_OUTPUT, 0) /* (L1) MCU_MDIO0_MDC */ 128 + J721E_WKUP_IOPAD(0x0030, PIN_INPUT, 0) /* (L4) MCU_MDIO0_MDIO */ 114 129 >; 115 130 }; 116 131 }; 117 132 118 133 &main_pmx0 { 119 - main_i2c0_pins_default: main-i2c0-pins-default { 134 + main_uart0_pins_default: main-uart0-default-pins { 120 135 pinctrl-single,pins = < 121 - J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */ 122 - J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */ 136 + J721E_IOPAD(0xb0, PIN_INPUT, 0) /* (T16) UART0_RXD */ 137 + J721E_IOPAD(0xb4, PIN_OUTPUT, 0) /* (T17) UART0_TXD */ 138 + J721E_IOPAD(0xc0, PIN_INPUT, 2) /* (W3) SPI0_CS0.UART0_CTSn */ 139 + J721E_IOPAD(0xc4, PIN_OUTPUT, 2) /* (U5) SPI0_CS1.UART0_RTSn */ 123 140 >; 124 141 }; 125 142 126 - main_i2c1_pins_default: main-i2c1-pins-default { 143 + main_uart1_pins_default: main-uart1-default-pins { 144 + pinctrl-single,pins = < 145 + J721E_IOPAD(0xb8, PIN_INPUT, 0) /* (T18) UART1_RXD */ 146 + J721E_IOPAD(0xbc, PIN_INPUT, 0) /* (T20) UART1_TXD */ 147 + >; 148 + }; 149 + 150 + main_uart3_pins_default: main-uart3-default-pins { 151 + pinctrl-single,pins = < 152 + J721E_IOPAD(0x60, PIN_INPUT, 11) /* (T15) MCAN8_TX.UART3_CTSn */ 153 + J721E_IOPAD(0x30, PIN_INPUT, 11) /* (Y18) MCAN2_TX.UART3_RXD */ 154 + >; 155 + }; 156 + 157 + main_i2c1_pins_default: main-i2c1-default-pins { 127 158 pinctrl-single,pins = < 128 159 J721E_IOPAD(0xdc, PIN_INPUT_PULLUP, 3) /* (U3) ECAP0_IN_APWM_OUT.I2C1_SCL */ 129 160 J721E_IOPAD(0xe0, PIN_INPUT_PULLUP, 3) /* (T3) EXT_REFCLK1.I2C1_SDA */ 130 161 >; 131 162 }; 132 163 133 - main_mmc1_pins_default: main-mmc1-pins-default { 164 + main_mmc1_pins_default: main-mmc1-default-pins { 134 165 pinctrl-single,pins = < 135 166 J721E_IOPAD(0x104, PIN_INPUT, 0) /* (M20) MMC1_CMD */ 136 167 J721E_IOPAD(0x100, PIN_INPUT, 0) /* (P21) MMC1_CLK */ ··· 183 134 >; 184 135 }; 185 136 186 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 137 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 187 138 pinctrl-single,pins = < 188 139 J721E_IOPAD(0xd0, PIN_OUTPUT, 7) /* (T5) SPI0_D1.GPIO0_55 */ 189 140 >; ··· 191 142 }; 192 143 193 144 &main_pmx1 { 194 - main_usbss0_pins_default: main-usbss0-pins-default { 145 + main_usbss0_pins_default: main-usbss0-default-pins { 195 146 pinctrl-single,pins = < 196 147 J721E_IOPAD(0x04, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */ 197 148 >; ··· 201 152 &wkup_uart0 { 202 153 /* Wakeup UART is used by System firmware */ 203 154 status = "reserved"; 155 + pinctrl-names = "default"; 156 + pinctrl-0 = <&wkup_uart0_pins_default>; 204 157 }; 205 158 206 159 &mcu_uart0 { 207 160 status = "okay"; 208 - /* Default pinmux */ 161 + pinctrl-names = "default"; 162 + pinctrl-0 = <&mcu_uart0_pins_default>; 163 + clock-frequency = <96000000>; 209 164 }; 210 165 211 166 &main_uart0 { 212 167 status = "okay"; 213 168 /* Shared with ATF on this platform */ 214 169 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; 170 + pinctrl-names = "default"; 171 + pinctrl-0 = <&main_uart0_pins_default>; 215 172 }; 216 173 217 174 &main_uart1 { 218 175 status = "okay"; 219 176 /* Default pinmux */ 177 + pinctrl-names = "default"; 178 + pinctrl-0 = <&main_uart1_pins_default>; 220 179 }; 221 180 222 181 &main_uart2 { 223 182 /* MAIN UART 2 is used by R5F firmware */ 224 183 status = "reserved"; 184 + }; 185 + 186 + &main_uart3 { 187 + /* Shared with MCAN Interface */ 188 + status = "okay"; 189 + pinctrl-names = "default"; 190 + pinctrl-0 = <&main_uart3_pins_default>; 225 191 }; 226 192 227 193 &main_gpio2 { ··· 251 187 status = "disabled"; 252 188 }; 253 189 190 + &wkup_gpio0 { 191 + pinctrl-names = "default"; 192 + pinctrl-0 = <&wkup_gpio_pins_default>; 193 + }; 194 + 254 195 &wkup_gpio1 { 255 196 status = "disabled"; 256 197 }; 257 198 258 199 &mcu_cpsw { 259 200 pinctrl-names = "default"; 260 - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 201 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 261 202 }; 262 203 263 204 &davinci_mdio {
+1 -1
arch/arm64/boot/dts/ti/k3-j7200-evm-quad-port-eth-exp.dtso
··· 92 92 }; 93 93 94 94 &main_pmx0 { 95 - mdio0_pins_default: mdio0-pins-default { 95 + mdio0_pins_default: mdio0-default-pins { 96 96 pinctrl-single,pins = < 97 97 J721E_IOPAD(0x00a8, PIN_OUTPUT, 5) /* (W19) UART8_TXD.MDIO0_MDC */ 98 98 J721E_IOPAD(0x00a4, PIN_INPUT, 5) /* (W14) UART8_RXD.MDIO0_MDIO */
+264
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
··· 392 392 }; 393 393 }; 394 394 395 + /* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */ 396 + main_timerio_input: pinctrl@104200 { 397 + compatible = "pinctrl-single"; 398 + reg = <0x0 0x104200 0x0 0x50>; 399 + #pinctrl-cells = <1>; 400 + pinctrl-single,register-width = <32>; 401 + pinctrl-single,function-mask = <0x000001ff>; 402 + }; 403 + 404 + /* TIMERIO pad output CTCTRLMMR_TIMERIO*_CTRL registers */ 405 + main_timerio_output: pinctrl@104280 { 406 + compatible = "pinctrl-single"; 407 + reg = <0x0 0x104280 0x0 0x20>; 408 + #pinctrl-cells = <1>; 409 + pinctrl-single,register-width = <32>; 410 + pinctrl-single,function-mask = <0x0000001f>; 411 + }; 412 + 395 413 main_pmx0: pinctrl@11c000 { 396 414 compatible = "pinctrl-single"; 397 415 /* Proxy 0 addressing */ ··· 989 971 assigned-clock-parents = <&k3_clks 253 5>; 990 972 }; 991 973 974 + main_timer0: timer@2400000 { 975 + compatible = "ti,am654-timer"; 976 + reg = <0x00 0x2400000 0x00 0x400>; 977 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 978 + clocks = <&k3_clks 49 1>; 979 + clock-names = "fck"; 980 + assigned-clocks = <&k3_clks 49 1>; 981 + assigned-clock-parents = <&k3_clks 49 2>; 982 + power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>; 983 + ti,timer-pwm; 984 + }; 985 + 986 + main_timer1: timer@2410000 { 987 + compatible = "ti,am654-timer"; 988 + reg = <0x00 0x2410000 0x00 0x400>; 989 + interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; 990 + clocks = <&k3_clks 50 1>; 991 + clock-names = "fck"; 992 + assigned-clocks = <&k3_clks 50 1>, <&k3_clks 313 0>; 993 + assigned-clock-parents = <&k3_clks 50 2>, <&k3_clks 313 1>; 994 + power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>; 995 + ti,timer-pwm; 996 + }; 997 + 998 + main_timer2: timer@2420000 { 999 + compatible = "ti,am654-timer"; 1000 + reg = <0x00 0x2420000 0x00 0x400>; 1001 + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 1002 + clocks = <&k3_clks 51 1>; 1003 + clock-names = "fck"; 1004 + assigned-clocks = <&k3_clks 51 1>; 1005 + assigned-clock-parents = <&k3_clks 51 2>; 1006 + power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>; 1007 + ti,timer-pwm; 1008 + }; 1009 + 1010 + main_timer3: timer@2430000 { 1011 + compatible = "ti,am654-timer"; 1012 + reg = <0x00 0x2430000 0x00 0x400>; 1013 + interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 1014 + clocks = <&k3_clks 52 1>; 1015 + clock-names = "fck"; 1016 + assigned-clocks = <&k3_clks 52 1>, <&k3_clks 314 0>; 1017 + assigned-clock-parents = <&k3_clks 52 2>, <&k3_clks 314 1>; 1018 + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>; 1019 + ti,timer-pwm; 1020 + }; 1021 + 1022 + main_timer4: timer@2440000 { 1023 + compatible = "ti,am654-timer"; 1024 + reg = <0x00 0x2440000 0x00 0x400>; 1025 + interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; 1026 + clocks = <&k3_clks 53 1>; 1027 + clock-names = "fck"; 1028 + assigned-clocks = <&k3_clks 53 1>; 1029 + assigned-clock-parents = <&k3_clks 53 2>; 1030 + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>; 1031 + ti,timer-pwm; 1032 + }; 1033 + 1034 + main_timer5: timer@2450000 { 1035 + compatible = "ti,am654-timer"; 1036 + reg = <0x00 0x2450000 0x00 0x400>; 1037 + interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 1038 + clocks = <&k3_clks 54 1>; 1039 + clock-names = "fck"; 1040 + assigned-clocks = <&k3_clks 54 1>, <&k3_clks 315 0>; 1041 + assigned-clock-parents = <&k3_clks 54 2>, <&k3_clks 315 1>; 1042 + power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>; 1043 + ti,timer-pwm; 1044 + }; 1045 + 1046 + main_timer6: timer@2460000 { 1047 + compatible = "ti,am654-timer"; 1048 + reg = <0x00 0x2460000 0x00 0x400>; 1049 + interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>; 1050 + clocks = <&k3_clks 55 1>; 1051 + clock-names = "fck"; 1052 + assigned-clocks = <&k3_clks 55 1>; 1053 + assigned-clock-parents = <&k3_clks 55 2>; 1054 + power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>; 1055 + ti,timer-pwm; 1056 + }; 1057 + 1058 + main_timer7: timer@2470000 { 1059 + compatible = "ti,am654-timer"; 1060 + reg = <0x00 0x2470000 0x00 0x400>; 1061 + interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>; 1062 + clocks = <&k3_clks 57 1>; 1063 + clock-names = "fck"; 1064 + assigned-clocks = <&k3_clks 57 1>, <&k3_clks 316 0>; 1065 + assigned-clock-parents = <&k3_clks 57 2>, <&k3_clks 316 1>; 1066 + power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>; 1067 + ti,timer-pwm; 1068 + }; 1069 + 1070 + main_timer8: timer@2480000 { 1071 + compatible = "ti,am654-timer"; 1072 + reg = <0x00 0x2480000 0x00 0x400>; 1073 + interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; 1074 + clocks = <&k3_clks 58 1>; 1075 + clock-names = "fck"; 1076 + assigned-clocks = <&k3_clks 58 1>; 1077 + assigned-clock-parents = <&k3_clks 58 2>; 1078 + power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>; 1079 + ti,timer-pwm; 1080 + }; 1081 + 1082 + main_timer9: timer@2490000 { 1083 + compatible = "ti,am654-timer"; 1084 + reg = <0x00 0x2490000 0x00 0x400>; 1085 + interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; 1086 + clocks = <&k3_clks 59 1>; 1087 + clock-names = "fck"; 1088 + assigned-clocks = <&k3_clks 59 1>, <&k3_clks 317 0>; 1089 + assigned-clock-parents = <&k3_clks 59 2>, <&k3_clks 317 1>; 1090 + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; 1091 + ti,timer-pwm; 1092 + }; 1093 + 1094 + main_timer10: timer@24a0000 { 1095 + compatible = "ti,am654-timer"; 1096 + reg = <0x00 0x24a0000 0x00 0x400>; 1097 + interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>; 1098 + clocks = <&k3_clks 60 1>; 1099 + clock-names = "fck"; 1100 + assigned-clocks = <&k3_clks 60 1>; 1101 + assigned-clock-parents = <&k3_clks 60 2>; 1102 + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; 1103 + ti,timer-pwm; 1104 + }; 1105 + 1106 + main_timer11: timer@24b0000 { 1107 + compatible = "ti,am654-timer"; 1108 + reg = <0x00 0x24b0000 0x00 0x400>; 1109 + interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>; 1110 + clocks = <&k3_clks 62 1>; 1111 + clock-names = "fck"; 1112 + assigned-clocks = <&k3_clks 62 1>, <&k3_clks 318 0>; 1113 + assigned-clock-parents = <&k3_clks 62 2>, <&k3_clks 318 1>; 1114 + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; 1115 + ti,timer-pwm; 1116 + }; 1117 + 1118 + main_timer12: timer@24c0000 { 1119 + compatible = "ti,am654-timer"; 1120 + reg = <0x00 0x24c0000 0x00 0x400>; 1121 + interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>; 1122 + clocks = <&k3_clks 63 1>; 1123 + clock-names = "fck"; 1124 + assigned-clocks = <&k3_clks 63 1>; 1125 + assigned-clock-parents = <&k3_clks 63 2>; 1126 + power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>; 1127 + ti,timer-pwm; 1128 + }; 1129 + 1130 + main_timer13: timer@24d0000 { 1131 + compatible = "ti,am654-timer"; 1132 + reg = <0x00 0x24d0000 0x00 0x400>; 1133 + interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>; 1134 + clocks = <&k3_clks 64 1>; 1135 + clock-names = "fck"; 1136 + assigned-clocks = <&k3_clks 64 1>, <&k3_clks 319 0>; 1137 + assigned-clock-parents = <&k3_clks 64 2>, <&k3_clks 319 1>; 1138 + power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>; 1139 + ti,timer-pwm; 1140 + }; 1141 + 1142 + main_timer14: timer@24e0000 { 1143 + compatible = "ti,am654-timer"; 1144 + reg = <0x00 0x24e0000 0x00 0x400>; 1145 + interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 1146 + clocks = <&k3_clks 65 1>; 1147 + clock-names = "fck"; 1148 + assigned-clocks = <&k3_clks 65 1>; 1149 + assigned-clock-parents = <&k3_clks 65 2>; 1150 + power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>; 1151 + ti,timer-pwm; 1152 + }; 1153 + 1154 + main_timer15: timer@24f0000 { 1155 + compatible = "ti,am654-timer"; 1156 + reg = <0x00 0x24f0000 0x00 0x400>; 1157 + interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 1158 + clocks = <&k3_clks 66 1>; 1159 + clock-names = "fck"; 1160 + assigned-clocks = <&k3_clks 66 1>, <&k3_clks 320 0>; 1161 + assigned-clock-parents = <&k3_clks 66 2>, <&k3_clks 320 1>; 1162 + power-domains = <&k3_pds 66 TI_SCI_PD_EXCLUSIVE>; 1163 + ti,timer-pwm; 1164 + }; 1165 + 1166 + main_timer16: timer@2500000 { 1167 + compatible = "ti,am654-timer"; 1168 + reg = <0x00 0x2500000 0x00 0x400>; 1169 + interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>; 1170 + clocks = <&k3_clks 67 1>; 1171 + clock-names = "fck"; 1172 + assigned-clocks = <&k3_clks 67 1>; 1173 + assigned-clock-parents = <&k3_clks 67 2>; 1174 + power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>; 1175 + ti,timer-pwm; 1176 + }; 1177 + 1178 + main_timer17: timer@2510000 { 1179 + compatible = "ti,am654-timer"; 1180 + reg = <0x00 0x2510000 0x00 0x400>; 1181 + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; 1182 + clocks = <&k3_clks 68 1>; 1183 + clock-names = "fck"; 1184 + assigned-clocks = <&k3_clks 68 1>, <&k3_clks 321 0>; 1185 + assigned-clock-parents = <&k3_clks 68 2>, <&k3_clks 321 1>; 1186 + power-domains = <&k3_pds 68 TI_SCI_PD_EXCLUSIVE>; 1187 + ti,timer-pwm; 1188 + }; 1189 + 1190 + main_timer18: timer@2520000 { 1191 + compatible = "ti,am654-timer"; 1192 + reg = <0x00 0x2520000 0x00 0x400>; 1193 + interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>; 1194 + clocks = <&k3_clks 69 1>; 1195 + clock-names = "fck"; 1196 + assigned-clocks = <&k3_clks 69 1>; 1197 + assigned-clock-parents = <&k3_clks 69 2>; 1198 + power-domains = <&k3_pds 69 TI_SCI_PD_EXCLUSIVE>; 1199 + ti,timer-pwm; 1200 + }; 1201 + 1202 + main_timer19: timer@2530000 { 1203 + compatible = "ti,am654-timer"; 1204 + reg = <0x00 0x2530000 0x00 0x400>; 1205 + interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; 1206 + clocks = <&k3_clks 70 1>; 1207 + clock-names = "fck"; 1208 + assigned-clocks = <&k3_clks 70 1>, <&k3_clks 322 0>; 1209 + assigned-clock-parents = <&k3_clks 70 2>, <&k3_clks 322 1>; 1210 + power-domains = <&k3_pds 70 TI_SCI_PD_EXCLUSIVE>; 1211 + ti,timer-pwm; 1212 + }; 1213 + 992 1214 main_r5fss0: r5fss@5c00000 { 993 1215 compatible = "ti,j7200-r5fss"; 994 1216 ti,cluster-mode = <1>; ··· 1267 1009 ti,btcm-enable = <1>; 1268 1010 ti,loczrama = <1>; 1269 1011 }; 1012 + }; 1013 + 1014 + main_esm: esm@700000 { 1015 + compatible = "ti,j721e-esm"; 1016 + reg = <0x0 0x700000 0x0 0x1000>; 1017 + ti,esm-pins = <656>, <657>; 1270 1018 }; 1271 1019 };
+176 -3
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
··· 34 34 }; 35 35 }; 36 36 37 + mcu_timer0: timer@40400000 { 38 + status = "reserved"; 39 + compatible = "ti,am654-timer"; 40 + reg = <0x00 0x40400000 0x00 0x400>; 41 + interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>; 42 + clocks = <&k3_clks 35 1>; 43 + clock-names = "fck"; 44 + assigned-clocks = <&k3_clks 35 1>; 45 + assigned-clock-parents = <&k3_clks 35 2>; 46 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 47 + ti,timer-pwm; 48 + }; 49 + 50 + mcu_timer1: timer@40410000 { 51 + status = "reserved"; 52 + compatible = "ti,am654-timer"; 53 + reg = <0x00 0x40410000 0x00 0x400>; 54 + interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>; 55 + clocks = <&k3_clks 71 1>; 56 + clock-names = "fck"; 57 + assigned-clocks = <&k3_clks 71 1>, <&k3_clks 308 0>; 58 + assigned-clock-parents = <&k3_clks 71 2>, <&k3_clks 308 1>; 59 + power-domains = <&k3_pds 71 TI_SCI_PD_EXCLUSIVE>; 60 + ti,timer-pwm; 61 + }; 62 + 63 + mcu_timer2: timer@40420000 { 64 + status = "reserved"; 65 + compatible = "ti,am654-timer"; 66 + reg = <0x00 0x40420000 0x00 0x400>; 67 + interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>; 68 + clocks = <&k3_clks 72 1>; 69 + clock-names = "fck"; 70 + assigned-clocks = <&k3_clks 72 1>; 71 + assigned-clock-parents = <&k3_clks 72 2>; 72 + power-domains = <&k3_pds 72 TI_SCI_PD_EXCLUSIVE>; 73 + ti,timer-pwm; 74 + }; 75 + 76 + mcu_timer3: timer@40430000 { 77 + status = "reserved"; 78 + compatible = "ti,am654-timer"; 79 + reg = <0x00 0x40430000 0x00 0x400>; 80 + interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>; 81 + clocks = <&k3_clks 73 1>; 82 + clock-names = "fck"; 83 + assigned-clocks = <&k3_clks 73 1>, <&k3_clks 309 0>; 84 + assigned-clock-parents = <&k3_clks 73 2>, <&k3_clks 309 1>; 85 + power-domains = <&k3_pds 73 TI_SCI_PD_EXCLUSIVE>; 86 + ti,timer-pwm; 87 + }; 88 + 89 + mcu_timer4: timer@40440000 { 90 + status = "reserved"; 91 + compatible = "ti,am654-timer"; 92 + reg = <0x00 0x40440000 0x00 0x400>; 93 + interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>; 94 + clocks = <&k3_clks 74 1>; 95 + clock-names = "fck"; 96 + assigned-clocks = <&k3_clks 74 1>; 97 + assigned-clock-parents = <&k3_clks 74 2>; 98 + power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>; 99 + ti,timer-pwm; 100 + }; 101 + 102 + mcu_timer5: timer@40450000 { 103 + status = "reserved"; 104 + compatible = "ti,am654-timer"; 105 + reg = <0x00 0x40450000 0x00 0x400>; 106 + interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>; 107 + clocks = <&k3_clks 75 1>; 108 + clock-names = "fck"; 109 + assigned-clocks = <&k3_clks 75 1>, <&k3_clks 310 0>; 110 + assigned-clock-parents = <&k3_clks 75 2>, <&k3_clks 310 1>; 111 + power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>; 112 + ti,timer-pwm; 113 + }; 114 + 115 + mcu_timer6: timer@40460000 { 116 + status = "reserved"; 117 + compatible = "ti,am654-timer"; 118 + reg = <0x00 0x40460000 0x00 0x400>; 119 + interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>; 120 + clocks = <&k3_clks 76 1>; 121 + clock-names = "fck"; 122 + assigned-clocks = <&k3_clks 76 1>; 123 + assigned-clock-parents = <&k3_clks 76 2>; 124 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 125 + ti,timer-pwm; 126 + }; 127 + 128 + mcu_timer7: timer@40470000 { 129 + status = "reserved"; 130 + compatible = "ti,am654-timer"; 131 + reg = <0x00 0x40470000 0x00 0x400>; 132 + interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>; 133 + clocks = <&k3_clks 77 1>; 134 + clock-names = "fck"; 135 + assigned-clocks = <&k3_clks 77 1>, <&k3_clks 311 0>; 136 + assigned-clock-parents = <&k3_clks 77 2>, <&k3_clks 311 1>; 137 + power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>; 138 + ti,timer-pwm; 139 + }; 140 + 141 + mcu_timer8: timer@40480000 { 142 + status = "reserved"; 143 + compatible = "ti,am654-timer"; 144 + reg = <0x00 0x40480000 0x00 0x400>; 145 + interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>; 146 + clocks = <&k3_clks 78 1>; 147 + clock-names = "fck"; 148 + assigned-clocks = <&k3_clks 78 1>; 149 + assigned-clock-parents = <&k3_clks 78 2>; 150 + power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>; 151 + ti,timer-pwm; 152 + }; 153 + 154 + mcu_timer9: timer@40490000 { 155 + status = "reserved"; 156 + compatible = "ti,am654-timer"; 157 + reg = <0x00 0x40490000 0x00 0x400>; 158 + interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>; 159 + clocks = <&k3_clks 79 1>; 160 + clock-names = "fck"; 161 + assigned-clocks = <&k3_clks 79 1>, <&k3_clks 312 0>; 162 + assigned-clock-parents = <&k3_clks 79 2>, <&k3_clks 312 1>; 163 + power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>; 164 + ti,timer-pwm; 165 + }; 166 + 37 167 mcu_conf: syscon@40f00000 { 38 168 compatible = "syscon", "simple-mfd"; 39 169 reg = <0x00 0x40f00000 0x00 0x20000>; ··· 183 53 reg = <0x00 0x43000014 0x00 0x4>; 184 54 }; 185 55 56 + /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ 57 + mcu_timerio_input: pinctrl@40f04200 { 58 + compatible = "pinctrl-single"; 59 + reg = <0x0 0x40f04200 0x0 0x28>; 60 + #pinctrl-cells = <1>; 61 + pinctrl-single,register-width = <32>; 62 + pinctrl-single,function-mask = <0x0000000F>; 63 + status = "reserved"; 64 + }; 65 + 66 + /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ 67 + mcu_timerio_output: pinctrl@40f04280 { 68 + compatible = "pinctrl-single"; 69 + reg = <0x0 0x40f04280 0x0 0x28>; 70 + #pinctrl-cells = <1>; 71 + pinctrl-single,register-width = <32>; 72 + pinctrl-single,function-mask = <0x0000000F>; 73 + status = "reserved"; 74 + }; 75 + 186 76 wkup_pmx0: pinctrl@4301c000 { 187 77 compatible = "pinctrl-single"; 188 78 /* Proxy 0 addressing */ ··· 212 62 pinctrl-single,function-mask = <0xffffffff>; 213 63 }; 214 64 215 - wkup_pmx1: pinctrl@0x4301c038 { 65 + wkup_pmx1: pinctrl@4301c038 { 216 66 compatible = "pinctrl-single"; 217 67 /* Proxy 0 addressing */ 218 68 reg = <0x00 0x4301c038 0x00 0x8>; ··· 221 71 pinctrl-single,function-mask = <0xffffffff>; 222 72 }; 223 73 224 - wkup_pmx2: pinctrl@0x4301c068 { 74 + wkup_pmx2: pinctrl@4301c068 { 225 75 compatible = "pinctrl-single"; 226 76 /* Proxy 0 addressing */ 227 77 reg = <0x00 0x4301c068 0x00 0xec>; ··· 230 80 pinctrl-single,function-mask = <0xffffffff>; 231 81 }; 232 82 233 - wkup_pmx3: pinctrl@0x4301c174 { 83 + wkup_pmx3: pinctrl@4301c174 { 234 84 compatible = "pinctrl-single"; 235 85 /* Proxy 0 addressing */ 236 86 reg = <0x00 0x4301c174 0x00 0x20>; ··· 357 207 <0x0b>; /* RX_HCHAN */ 358 208 ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ 359 209 }; 210 + }; 211 + 212 + secure_proxy_mcu: mailbox@2a480000 { 213 + compatible = "ti,am654-secure-proxy"; 214 + #mbox-cells = <1>; 215 + reg-names = "target_data", "rt", "scfg"; 216 + reg = <0x0 0x2a480000 0x0 0x80000>, 217 + <0x0 0x2a380000 0x0 0x80000>, 218 + <0x0 0x2a400000 0x0 0x80000>; 219 + /* 220 + * Marked Disabled: 221 + * Node is incomplete as it is meant for bootloaders and 222 + * firmware on non-MPU processors 223 + */ 224 + status = "disabled"; 360 225 }; 361 226 362 227 mcu_cpsw: ethernet@46000000 { ··· 623 458 interrupts = <GIC_SPI 945 IRQ_TYPE_LEVEL_HIGH>; 624 459 status = "disabled"; /* Used by OP-TEE */ 625 460 }; 461 + }; 462 + 463 + wkup_vtm0: temperature-sensor@42040000 { 464 + compatible = "ti,j7200-vtm"; 465 + reg = <0x00 0x42040000 0x00 0x350>, 466 + <0x00 0x42050000 0x00 0x350>; 467 + power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; 468 + #thermal-sensor-cells = <1>; 626 469 }; 627 470 };
+100 -7
arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi
··· 83 83 }; 84 84 85 85 &wkup_pmx0 { 86 - mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-pins-default { 86 + mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins { 87 87 pinctrl-single,pins = < 88 88 J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* (B6) MCU_OSPI0_CLK.MCU_HYPERBUS0_CK */ 89 89 J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* (C8) MCU_OSPI0_LBCLKO.MCU_HYPERBUS0_CKn */ ··· 101 101 >; 102 102 }; 103 103 104 - mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 104 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 105 105 pinctrl-single,pins = < 106 106 J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */ 107 107 J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */ ··· 118 118 }; 119 119 }; 120 120 121 + &wkup_pmx2 { 122 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 123 + pinctrl-single,pins = < 124 + J721E_WKUP_IOPAD(0x98, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */ 125 + J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */ 126 + >; 127 + }; 128 + }; 129 + 121 130 &main_pmx0 { 122 - main_i2c0_pins_default: main-i2c0-pins-default { 131 + main_i2c0_pins_default: main-i2c0-default-pins { 123 132 pinctrl-single,pins = < 124 133 J721E_IOPAD(0xd4, PIN_INPUT_PULLUP, 0) /* (V3) I2C0_SCL */ 125 134 J721E_IOPAD(0xd8, PIN_INPUT_PULLUP, 0) /* (W2) I2C0_SDA */ ··· 149 140 flash@0,0 { 150 141 compatible = "cypress,hyperflash", "cfi-flash"; 151 142 reg = <0x00 0x00 0x4000000>; 143 + 144 + partitions { 145 + compatible = "fixed-partitions"; 146 + #address-cells = <1>; 147 + #size-cells = <1>; 148 + 149 + partition@0 { 150 + label = "hbmc.tiboot3"; 151 + reg = <0x0 0x100000>; 152 + }; 153 + 154 + partition@100000 { 155 + label = "hbmc.tispl"; 156 + reg = <0x100000 0x200000>; 157 + }; 158 + 159 + partition@300000 { 160 + label = "hbmc.u-boot"; 161 + reg = <0x300000 0x400000>; 162 + }; 163 + 164 + partition@700000 { 165 + label = "hbmc.env"; 166 + reg = <0x700000 0x40000>; 167 + }; 168 + 169 + partition@800000 { 170 + label = "hbmc.rootfs"; 171 + reg = <0x800000 0x3800000>; 172 + }; 173 + }; 152 174 }; 153 175 }; 154 176 ··· 214 174 }; 215 175 216 176 &mcu_r5fss0_core0 { 217 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 177 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 218 178 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 219 179 <&mcu_r5fss0_core0_memory_region>; 220 180 }; 221 181 222 182 &mcu_r5fss0_core1 { 223 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 183 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; 224 184 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 225 185 <&mcu_r5fss0_core1_memory_region>; 226 186 }; 227 187 228 188 &main_r5fss0_core0 { 229 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 189 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; 230 190 memory-region = <&main_r5fss0_core0_dma_memory_region>, 231 191 <&main_r5fss0_core0_memory_region>; 232 192 }; 233 193 234 194 &main_r5fss0_core1 { 235 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 195 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; 236 196 memory-region = <&main_r5fss0_core1_dma_memory_region>, 237 197 <&main_r5fss0_core1_memory_region>; 238 198 }; ··· 254 214 }; 255 215 }; 256 216 217 + &wkup_i2c0 { 218 + status = "okay"; 219 + pinctrl-names = "default"; 220 + pinctrl-0 = <&wkup_i2c0_pins_default>; 221 + clock-frequency = <400000>; 222 + 223 + eeprom@50 { 224 + compatible = "atmel,24c256"; 225 + reg = <0x50>; 226 + }; 227 + }; 228 + 257 229 &ospi0 { 258 230 pinctrl-names = "default"; 259 231 pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; ··· 281 229 cdns,tchsh-ns = <60>; 282 230 cdns,tslch-ns = <60>; 283 231 cdns,read-delay = <4>; 232 + 233 + partitions { 234 + compatible = "fixed-partitions"; 235 + #address-cells = <1>; 236 + #size-cells = <1>; 237 + 238 + partition@0 { 239 + label = "ospi.tiboot3"; 240 + reg = <0x0 0x100000>; 241 + }; 242 + 243 + partition@100000 { 244 + label = "ospi.tispl"; 245 + reg = <0x100000 0x200000>; 246 + }; 247 + 248 + partition@300000 { 249 + label = "ospi.u-boot"; 250 + reg = <0x300000 0x400000>; 251 + }; 252 + 253 + partition@700000 { 254 + label = "ospi.env"; 255 + reg = <0x700000 0x40000>; 256 + }; 257 + 258 + partition@740000 { 259 + label = "ospi.env.backup"; 260 + reg = <0x740000 0x40000>; 261 + }; 262 + 263 + partition@800000 { 264 + label = "ospi.rootfs"; 265 + reg = <0x800000 0x37c0000>; 266 + }; 267 + 268 + partition@3fc0000 { 269 + label = "ospi.phypattern"; 270 + reg = <0x3fc0000 0x40000>; 271 + }; 272 + }; 284 273 }; 285 274 };
+47
arch/arm64/boot/dts/ti/k3-j7200-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + thermal_zones: thermal-zones { 6 + mcu_thermal: mcu-thermal { 7 + polling-delay-passive = <250>; /* milliseconds */ 8 + polling-delay = <500>; /* milliseconds */ 9 + thermal-sensors = <&wkup_vtm0 0>; 10 + 11 + trips { 12 + wkup_crit: wkup-crit { 13 + temperature = <125000>; /* milliCelsius */ 14 + hysteresis = <2000>; /* milliCelsius */ 15 + type = "critical"; 16 + }; 17 + }; 18 + }; 19 + 20 + mpu_thermal: mpu-thermal { 21 + polling-delay-passive = <250>; /* milliseconds */ 22 + polling-delay = <500>; /* milliseconds */ 23 + thermal-sensors = <&wkup_vtm0 1>; 24 + 25 + trips { 26 + mpu_crit: mpu-crit { 27 + temperature = <125000>; /* milliCelsius */ 28 + hysteresis = <2000>; /* milliCelsius */ 29 + type = "critical"; 30 + }; 31 + }; 32 + }; 33 + 34 + main_thermal: main-thermal { 35 + polling-delay-passive = <250>; /* milliseconds */ 36 + polling-delay = <500>; /* milliseconds */ 37 + thermal-sensors = <&wkup_vtm0 2>; 38 + 39 + trips { 40 + c7x_crit: c7x-crit { 41 + temperature = <125000>; /* milliCelsius */ 42 + hysteresis = <2000>; /* milliCelsius */ 43 + type = "critical"; 44 + }; 45 + }; 46 + }; 47 + };
+4 -17
arch/arm64/boot/dts/ti/k3-j7200.dtsi
··· 18 18 #address-cells = <2>; 19 19 #size-cells = <2>; 20 20 21 - aliases { 22 - serial0 = &wkup_uart0; 23 - serial1 = &mcu_uart0; 24 - serial2 = &main_uart0; 25 - serial3 = &main_uart1; 26 - serial4 = &main_uart2; 27 - serial5 = &main_uart3; 28 - serial6 = &main_uart4; 29 - serial7 = &main_uart5; 30 - serial8 = &main_uart6; 31 - serial9 = &main_uart7; 32 - serial10 = &main_uart8; 33 - serial11 = &main_uart9; 34 - mmc0 = &main_sdhci0; 35 - mmc1 = &main_sdhci1; 36 - }; 37 - 38 21 chosen { }; 39 22 40 23 cpus { ··· 78 95 msmc_l3: l3-cache0 { 79 96 compatible = "cache"; 80 97 cache-level = <3>; 98 + cache-unified; 81 99 }; 82 100 83 101 firmware { ··· 112 128 #size-cells = <2>; 113 129 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ 114 130 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ 131 + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ 115 132 <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */ 116 133 <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */ 117 134 <0x00 0x30000000 0x00 0x30000000 0x00 0x0c400000>, /* MAIN NAVSS */ ··· 155 170 <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; /* FSS OSPI1 data region 3 */ 156 171 }; 157 172 }; 173 + 174 + #include "k3-j7200-thermal.dtsi" 158 175 }; 159 176 160 177 /* Now include the peripherals for each bus segments */
+66 -91
arch/arm64/boot/dts/ti/k3-j721e-beagleboneai64.dts
··· 20 20 model = "BeagleBoard.org BeagleBone AI-64"; 21 21 22 22 aliases { 23 + serial0 = &wkup_uart0; 23 24 serial2 = &main_uart0; 24 25 mmc0 = &main_sdhci0; 25 26 mmc1 = &main_sdhci1; ··· 305 304 }; 306 305 307 306 &main_pmx0 { 308 - led_pins_default: led-pins-default { 307 + led_pins_default: led-default-pins { 309 308 pinctrl-single,pins = < 310 309 J721E_IOPAD(0x184, PIN_INPUT, 7) /* (T23) RGMII5_RD0.GPIO0_96 */ 311 310 J721E_IOPAD(0x180, PIN_INPUT, 7) /* (R23) RGMII5_RD1.GPIO0_95 */ ··· 315 314 >; 316 315 }; 317 316 318 - main_mmc1_pins_default: main-mmc1-pins-default { 317 + main_mmc1_pins_default: main-mmc1-default-pins { 319 318 pinctrl-single,pins = < 320 319 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ 321 320 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ ··· 328 327 >; 329 328 }; 330 329 331 - main_uart0_pins_default: main-uart0-pins-default { 330 + main_uart0_pins_default: main-uart0-default-pins { 332 331 pinctrl-single,pins = < 333 332 J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */ 334 333 J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */ 335 334 >; 336 335 }; 337 336 338 - sd_pwr_en_pins_default: sd-pwr-en-pins-default { 337 + sd_pwr_en_pins_default: sd-pwr-en-default-pins { 339 338 pinctrl-single,pins = < 340 339 J721E_IOPAD(0x14c, PIN_INPUT, 7) /* (AA29) PRG0_PRU1_GPO19.GPIO0_82 */ 341 340 >; 342 341 }; 343 342 344 - vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-pins-default { 343 + vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins { 345 344 pinctrl-single,pins = < 346 345 J721E_IOPAD(0x1d8, PIN_INPUT, 7) /* (W4) SPI1_CS1.GPIO0_117 */ 347 346 >; 348 347 }; 349 348 350 - main_usbss0_pins_default: main-usbss0-pins-default { 349 + main_usbss0_pins_default: main-usbss0-default-pins { 351 350 pinctrl-single,pins = < 352 351 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 - USBC_DIR */ 353 352 >; 354 353 }; 355 354 356 - main_usbss1_pins_default: main-usbss1-pins-default { 355 + main_usbss1_pins_default: main-usbss1-default-pins { 357 356 pinctrl-single,pins = < 358 357 J721E_IOPAD(0x290, INPUT_DISABLE, 1) /* (U6) USB0_DRVVBUS.USB1_DRVVBUS */ 359 358 >; 360 359 }; 361 360 362 - dp0_3v3_en_pins_default:dp0-3v3-en-pins-default { 361 + dp0_3v3_en_pins_default:dp0-3v3-en-default-pins { 363 362 pinctrl-single,pins = < 364 363 J721E_IOPAD(0xc8, PIN_INPUT, 7) /* (AE26) PRG0_PRU0_GPO6.GPIO0_49 */ 365 364 >; 366 365 }; 367 366 368 - dp0_pins_default: dp0-pins-default { 367 + dp0_pins_default: dp0-default-pins { 369 368 pinctrl-single,pins = < 370 369 J721E_IOPAD(0x1c4, PIN_INPUT, 5) /* (Y4) SPI0_CS1.DP0_HPD */ 371 370 >; 372 371 }; 373 372 374 - main_i2c0_pins_default: main-i2c0-pins-default { 373 + main_i2c0_pins_default: main-i2c0-default-pins { 375 374 pinctrl-single,pins = < 376 375 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ 377 376 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ 378 377 >; 379 378 }; 380 379 381 - main_i2c1_pins_default: main-i2c1-pins-default { 380 + main_i2c1_pins_default: main-i2c1-default-pins { 382 381 pinctrl-single,pins = < 383 382 J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */ 384 383 J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */ 385 384 >; 386 385 }; 387 386 388 - main_i2c2_pins_default: main-i2c2-pins-default { 387 + main_i2c2_pins_default: main-i2c2-default-pins { 389 388 pinctrl-single,pins = < 390 389 J721E_IOPAD(0x208, PIN_INPUT_PULLUP, 4) /* (W5) MCAN0_RX.I2C2_SCL */ 391 390 J721E_IOPAD(0x20c, PIN_INPUT_PULLUP, 4) /* (W6) MCAN0_TX.I2C2_SDA */ ··· 394 393 >; 395 394 }; 396 395 397 - main_i2c3_pins_default: main-i2c3-pins-default { 396 + main_i2c3_pins_default: main-i2c3-default-pins { 398 397 pinctrl-single,pins = < 399 398 J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */ 400 399 J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */ 401 400 >; 402 401 }; 403 402 404 - main_i2c4_pins_default: main-i2c4-pins-default { 403 + main_i2c4_pins_default: main-i2c4-default-pins { 405 404 pinctrl-single,pins = < 406 405 J721E_IOPAD(0x1e0, PIN_INPUT_PULLUP, 2) /* (Y5) SPI1_D0.I2C4_SCL */ 407 406 J721E_IOPAD(0x1dc, PIN_INPUT_PULLUP, 2) /* (Y1) SPI1_CLK.I2C4_SDA */ ··· 410 409 >; 411 410 }; 412 411 413 - main_i2c5_pins_default: main-i2c5-pins-default { 412 + main_i2c5_pins_default: main-i2c5-default-pins { 414 413 pinctrl-single,pins = < 415 414 J721E_IOPAD(0x150, PIN_INPUT_PULLUP, 2) /* (Y26) PRG0_MDIO0_MDIO.I2C5_SCL */ 416 415 J721E_IOPAD(0x154, PIN_INPUT_PULLUP, 2) /* (AA27) PRG0_MDIO0_MDC.I2C5_SDA */ 417 416 >; 418 417 }; 419 418 420 - main_i2c6_pins_default: main-i2c6-pins-default { 419 + main_i2c6_pins_default: main-i2c6-default-pins { 421 420 pinctrl-single,pins = < 422 421 J721E_IOPAD(0x1d0, PIN_INPUT_PULLUP, 2) /* (AA3) SPI0_D1.I2C6_SCL */ 423 422 J721E_IOPAD(0x1e4, PIN_INPUT_PULLUP, 2) /* (Y2) SPI1_D1.I2C6_SDA */ ··· 426 425 >; 427 426 }; 428 427 429 - csi0_gpio_pins_default: csi0-gpio-pins-default { 428 + csi0_gpio_pins_default: csi0-gpio-default-pins { 430 429 pinctrl-single,pins = < 431 430 J721E_IOPAD(0x19c, PIN_INPUT_PULLDOWN, 7) /* (W27) RGMII6_TD0.GPIO0_102 */ 432 431 J721E_IOPAD(0x1a0, PIN_INPUT_PULLDOWN, 7) /* (W29) RGMII6_TXC.GPIO0_103 */ 433 432 >; 434 433 }; 435 434 436 - csi1_gpio_pins_default: csi1-gpio-pins-default { 435 + csi1_gpio_pins_default: csi1-gpio-default-pins { 437 436 pinctrl-single,pins = < 438 437 J721E_IOPAD(0x198, PIN_INPUT_PULLDOWN, 7) /* (V25) RGMII6_TD1.GPIO0_101 */ 439 438 J721E_IOPAD(0x1b0, PIN_INPUT_PULLDOWN, 7) /* (W24) RGMII6_RD1.GPIO0_107 */ 440 439 >; 441 440 }; 442 441 443 - pcie1_rst_pins_default: pcie1-rst-pins-default { 442 + pcie1_rst_pins_default: pcie1-rst-default-pins { 444 443 pinctrl-single,pins = < 445 444 J721E_IOPAD(0x5c, PIN_INPUT, 7) /* (AG23) PRG1_PRU1_GPO1.GPIO0_22 */ 446 445 >; ··· 448 447 }; 449 448 450 449 &wkup_pmx0 { 451 - eeprom_wp_pins_default: eeprom-wp-pins-default { 450 + eeprom_wp_pins_default: eeprom-wp-default-pins { 452 451 pinctrl-single,pins = < 453 452 J721E_WKUP_IOPAD(0xc4, PIN_OUTPUT_PULLUP, 7) /* (G24) WKUP_GPIO0_5 */ 454 453 >; 455 454 }; 456 455 457 - mcu_adc0_pins_default: mcu-adc0-pins-default { 456 + mcu_adc0_pins_default: mcu-adc0-default-pins { 458 457 pinctrl-single,pins = < 459 458 J721E_WKUP_IOPAD(0x130, PIN_INPUT, 0) /* (K25) MCU_ADC0_AIN0 */ 460 459 J721E_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (K26) MCU_ADC0_AIN1 */ ··· 466 465 >; 467 466 }; 468 467 469 - mcu_adc1_pins_default: mcu-adc1-pins-default { 468 + mcu_adc1_pins_default: mcu-adc1-default-pins { 470 469 pinctrl-single,pins = < 471 470 J721E_WKUP_IOPAD(0x150, PIN_INPUT, 0) /* (N23) MCU_ADC1_AIN0 */ 472 471 >; 473 472 }; 474 473 475 - mikro_bus_pins_default: mikro-bus-pins-default { 474 + mikro_bus_pins_default: mikro-bus-default-pins { 476 475 pinctrl-single,pins = < 477 476 J721E_WKUP_IOPAD(0x108, PIN_INPUT, 7) /* SDAPULLEN (E26) PMIC_POWER_EN0.WKUP_GPIO0_66 */ 478 477 J721E_WKUP_IOPAD(0xd4, PIN_INPUT, 7) /* SDA (G26) WKUP_GPIO0_9.MCU_I2C1_SDA */ ··· 495 494 >; 496 495 }; 497 496 498 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 497 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 499 498 pinctrl-single,pins = < 500 499 J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */ 501 500 J721E_WKUP_IOPAD(0x80, PIN_INPUT, 0) /* (A24) MCU_RGMII1_RD1 */ ··· 512 511 >; 513 512 }; 514 513 515 - mcu_mdio_pins_default: mcu-mdio1-pins-default { 514 + mcu_mdio_pins_default: mcu-mdio1-default-pins { 516 515 pinctrl-single,pins = < 517 516 J721E_WKUP_IOPAD(0x8c, PIN_OUTPUT, 0) /* (F23) MCU_MDIO0_MDC */ 518 517 J721E_WKUP_IOPAD(0x88, PIN_INPUT, 0) /* (E23) MCU_MDIO0_MDIO */ 519 518 >; 520 519 }; 521 520 522 - sw_pwr_pins_default: sw-pwr-pins-default { 521 + sw_pwr_pins_default: sw-pwr-default-pins { 523 522 pinctrl-single,pins = < 524 523 J721E_WKUP_IOPAD(0xc0, PIN_INPUT, 7) /* (G25) WKUP_GPIO0_4 */ 525 524 >; 526 525 }; 527 526 528 - wkup_i2c0_pins_default: wkup-i2c0-pins-default { 527 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 529 528 pinctrl-single,pins = < 530 529 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */ 531 530 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */ 532 531 >; 533 532 }; 534 533 535 - mcu_usbss1_pins_default: mcu-usbss1-pins-default { 534 + wkup_uart0_pins_default: wkup-uart0-default-pins { 535 + pinctrl-single,pins = < 536 + J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */ 537 + J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */ 538 + >; 539 + }; 540 + 541 + mcu_usbss1_pins_default: mcu-usbss1-default-pins { 536 542 pinctrl-single,pins = < 537 543 J721E_WKUP_IOPAD(0x3c, PIN_OUTPUT_PULLUP, 5) /* (A23) MCU_OSPI1_LBCLKO.WKUP_GPIO0_30 */ 538 544 >; ··· 549 541 &wkup_uart0 { 550 542 /* Wakeup UART is used by TIFS firmware. */ 551 543 status = "reserved"; 544 + pinctrl-names = "default"; 545 + pinctrl-0 = <&wkup_uart0_pins_default>; 552 546 }; 553 547 554 548 &main_uart0 { ··· 603 593 &main_i2c1 { 604 594 status = "okay"; 605 595 pinctrl-names = "default"; 606 - pinctrl-0 = <&main_i2c1_pins_default &csi1_gpio_pins_default>; 596 + pinctrl-0 = <&main_i2c1_pins_default>; 607 597 clock-frequency = <400000>; 608 598 }; 609 599 ··· 633 623 &main_i2c5 { 634 624 status = "okay"; 635 625 pinctrl-names = "default"; 636 - pinctrl-0 = <&main_i2c5_pins_default &csi0_gpio_pins_default>; 626 + pinctrl-0 = <&main_i2c5_pins_default>; 637 627 clock-frequency = <400000>; 638 628 }; 639 629 ··· 649 639 &wkup_i2c0 { 650 640 status = "okay"; 651 641 pinctrl-names = "default"; 652 - pinctrl-0 = <&wkup_i2c0_pins_default &eeprom_wp_pins_default>; 642 + pinctrl-0 = <&wkup_i2c0_pins_default>; 653 643 clock-frequency = <400000>; 654 644 655 645 eeprom@50 { 656 646 compatible = "atmel,24c04"; 657 647 reg = <0x50>; 648 + pinctrl-names = "default"; 649 + pinctrl-0 = <&eeprom_wp_pins_default>; 658 650 }; 659 651 }; 660 652 ··· 692 680 693 681 &wkup_gpio0 { 694 682 pinctrl-names = "default"; 695 - pinctrl-0 = <&mcu_adc0_pins_default &mcu_adc1_pins_default &mikro_bus_pins_default>; 683 + pinctrl-0 = <&mcu_adc0_pins_default>, <&mcu_adc1_pins_default>, 684 + <&mikro_bus_pins_default>; 696 685 }; 697 686 698 687 &wkup_gpio1 { 699 688 /* Unused */ 700 689 status = "disabled"; 690 + }; 691 + 692 + &main_gpio0 { 693 + pinctrl-names = "default"; 694 + pinctrl-0 = <&csi1_gpio_pins_default>, <&csi0_gpio_pins_default>; 701 695 }; 702 696 703 697 &usb_serdes_mux { ··· 777 759 778 760 &usbss1 { 779 761 pinctrl-names = "default"; 780 - pinctrl-0 = <&main_usbss1_pins_default &mcu_usbss1_pins_default>; 762 + pinctrl-0 = <&main_usbss1_pins_default>, <&mcu_usbss1_pins_default>; 781 763 ti,vbus-divider; 782 764 }; 783 765 ··· 890 872 }; 891 873 }; 892 874 893 - &pcie0_rc { 894 - /* Unused */ 895 - status = "disabled"; 896 - }; 897 - 898 875 &pcie1_rc { 876 + status = "okay"; 899 877 pinctrl-names = "default"; 900 878 pinctrl-0 = <&pcie1_rst_pins_default>; 901 879 phys = <&serdes1_pcie_link>; ··· 901 887 reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_HIGH>; 902 888 }; 903 889 904 - &pcie2_rc { 905 - /* Unused */ 906 - status = "disabled"; 907 - }; 908 - 909 - &pcie0_ep { 910 - status = "disabled"; 911 - phys = <&serdes0_pcie_link>; 912 - phy-names = "pcie-phy"; 913 - num-lanes = <1>; 914 - }; 915 - 916 - &pcie1_ep { 917 - status = "disabled"; 918 - phys = <&serdes1_pcie_link>; 919 - phy-names = "pcie-phy"; 920 - num-lanes = <2>; 921 - }; 922 - 923 - &pcie2_ep { 924 - /* Unused */ 925 - status = "disabled"; 926 - }; 927 - 928 - &pcie3_rc { 929 - /* Unused */ 930 - status = "disabled"; 931 - }; 932 - 933 - &pcie3_ep { 934 - /* Unused */ 935 - status = "disabled"; 936 - }; 937 - 938 - &icssg0_mdio { 939 - /* Unused */ 940 - status = "disabled"; 941 - }; 942 - 943 - &icssg1_mdio { 944 - /* Unused */ 945 - status = "disabled"; 946 - }; 947 - 948 890 &ufs_wrapper { 949 891 status = "disabled"; 950 892 }; 951 893 952 894 &mailbox0_cluster0 { 895 + status = "okay"; 953 896 interrupts = <436>; 954 897 955 898 mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { ··· 921 950 }; 922 951 923 952 &mailbox0_cluster1 { 953 + status = "okay"; 924 954 interrupts = <432>; 925 955 926 956 mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { ··· 936 964 }; 937 965 938 966 &mailbox0_cluster2 { 967 + status = "okay"; 939 968 interrupts = <428>; 940 969 941 970 mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { ··· 951 978 }; 952 979 953 980 &mailbox0_cluster3 { 981 + status = "okay"; 954 982 interrupts = <424>; 955 983 956 984 mbox_c66_0: mbox-c66-0 { ··· 966 992 }; 967 993 968 994 &mailbox0_cluster4 { 995 + status = "okay"; 969 996 interrupts = <420>; 970 997 971 998 mbox_c71_0: mbox-c71-0 { ··· 976 1001 }; 977 1002 978 1003 &mcu_r5fss0_core0 { 979 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 1004 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 980 1005 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 981 1006 <&mcu_r5fss0_core0_memory_region>; 982 1007 }; 983 1008 984 1009 &mcu_r5fss0_core1 { 985 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 1010 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; 986 1011 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 987 1012 <&mcu_r5fss0_core1_memory_region>; 988 1013 }; 989 1014 990 1015 &main_r5fss0_core0 { 991 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 1016 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; 992 1017 memory-region = <&main_r5fss0_core0_dma_memory_region>, 993 1018 <&main_r5fss0_core0_memory_region>; 994 1019 }; 995 1020 996 1021 &main_r5fss0_core1 { 997 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 1022 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; 998 1023 memory-region = <&main_r5fss0_core1_dma_memory_region>, 999 1024 <&main_r5fss0_core1_memory_region>; 1000 1025 }; 1001 1026 1002 1027 &main_r5fss1_core0 { 1003 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; 1028 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; 1004 1029 memory-region = <&main_r5fss1_core0_dma_memory_region>, 1005 1030 <&main_r5fss1_core0_memory_region>; 1006 1031 }; 1007 1032 1008 1033 &main_r5fss1_core1 { 1009 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; 1034 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; 1010 1035 memory-region = <&main_r5fss1_core1_dma_memory_region>, 1011 1036 <&main_r5fss1_core1_memory_region>; 1012 1037 }; 1013 1038 1014 1039 &c66_0 { 1015 - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; 1040 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; 1016 1041 memory-region = <&c66_0_dma_memory_region>, 1017 1042 <&c66_0_memory_region>; 1018 1043 }; 1019 1044 1020 1045 &c66_1 { 1021 - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; 1046 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; 1022 1047 memory-region = <&c66_1_dma_memory_region>, 1023 1048 <&c66_1_memory_region>; 1024 1049 }; 1025 1050 1026 1051 &c71_0 { 1027 - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; 1052 + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; 1028 1053 memory-region = <&c71_0_dma_memory_region>, 1029 1054 <&c71_0_memory_region>; 1030 1055 };
+158 -68
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 3 * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com/ 4 + * 5 + * Product Link: https://www.ti.com/tool/J721EXCPXEVM 4 6 */ 5 7 6 8 /dts-v1/; ··· 17 15 compatible = "ti,j721e-evm", "ti,j721e"; 18 16 model = "Texas Instruments J721e EVM"; 19 17 18 + aliases { 19 + serial0 = &wkup_uart0; 20 + serial1 = &mcu_uart0; 21 + serial2 = &main_uart0; 22 + serial3 = &main_uart1; 23 + serial4 = &main_uart2; 24 + serial6 = &main_uart4; 25 + ethernet0 = &cpsw_port1; 26 + mmc0 = &main_sdhci0; 27 + mmc1 = &main_sdhci1; 28 + }; 29 + 20 30 chosen { 21 31 stdout-path = "serial2:115200n8"; 22 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 23 32 }; 24 33 25 34 gpio_keys: gpio-keys { 26 35 compatible = "gpio-keys"; 27 36 autorepeat; 28 37 pinctrl-names = "default"; 29 - pinctrl-0 = <&sw10_button_pins_default &sw11_button_pins_default>; 38 + pinctrl-0 = <&sw10_button_pins_default>, <&sw11_button_pins_default>; 30 39 31 40 sw10: switch-10 { 32 41 label = "GPIO Key USER1"; ··· 186 173 }; 187 174 188 175 &main_pmx0 { 189 - sw10_button_pins_default: sw10-button-pins-default { 176 + main_uart0_pins_default: main-uart0-default-pins { 177 + pinctrl-single,pins = < 178 + J721E_IOPAD(0x1d4, PIN_INPUT, 1) /* (Y3) SPI1_CS0.UART0_CTSn */ 179 + J721E_IOPAD(0x1c0, PIN_OUTPUT, 1) /* (AA2) SPI0_CS0.UART0_RTSn */ 180 + J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */ 181 + J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */ 182 + >; 183 + }; 184 + 185 + main_uart1_pins_default: main-uart1-default-pins { 186 + pinctrl-single,pins = < 187 + J721E_IOPAD(0x1f8, PIN_INPUT, 0) /* (AA4) UART1_RXD */ 188 + J721E_IOPAD(0x1fc, PIN_OUTPUT, 0) /* (AB4) UART1_TXD */ 189 + >; 190 + }; 191 + 192 + main_uart2_pins_default: main-uart2-default-pins { 193 + pinctrl-single,pins = < 194 + J721E_IOPAD(0x1dc, PIN_INPUT, 3) /* (Y1) SPI1_CLK.UART2_RXD */ 195 + J721E_IOPAD(0x1e0, PIN_OUTPUT, 3) /* (Y5) SPI1_D0.UART2_TXD */ 196 + >; 197 + }; 198 + 199 + main_uart4_pins_default: main-uart4-default-pins { 200 + pinctrl-single,pins = < 201 + J721E_IOPAD(0x190, PIN_INPUT, 1) /* (W23) RGMII6_TD3.UART4_RXD */ 202 + J721E_IOPAD(0x194, PIN_OUTPUT, 1) /* (W28) RGMII6_TD2.UART4_TXD */ 203 + >; 204 + }; 205 + 206 + sw10_button_pins_default: sw10-button-default-pins { 190 207 pinctrl-single,pins = < 191 208 J721E_IOPAD(0x0, PIN_INPUT, 7) /* (AC18) EXTINTn.GPIO0_0 */ 192 209 >; 193 210 }; 194 211 195 - main_mmc1_pins_default: main-mmc1-pins-default { 212 + main_mmc1_pins_default: main-mmc1-default-pins { 196 213 pinctrl-single,pins = < 197 214 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ 198 215 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ ··· 236 193 >; 237 194 }; 238 195 239 - vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-pins-default { 196 + vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins { 240 197 pinctrl-single,pins = < 241 198 J721E_IOPAD(0x1d8, PIN_INPUT, 7) /* (W4) SPI1_CS1.GPIO0_117 */ 242 199 >; 243 200 }; 244 201 245 - main_usbss0_pins_default: main-usbss0-pins-default { 202 + main_usbss0_pins_default: main-usbss0-default-pins { 246 203 pinctrl-single,pins = < 247 204 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */ 248 205 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */ 249 206 >; 250 207 }; 251 208 252 - main_usbss1_pins_default: main-usbss1-pins-default { 209 + main_usbss1_pins_default: main-usbss1-default-pins { 253 210 pinctrl-single,pins = < 254 211 J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */ 255 212 >; 256 213 }; 257 214 258 - dp0_pins_default: dp0-pins-default { 215 + dp0_pins_default: dp0-default-pins { 259 216 pinctrl-single,pins = < 260 217 J721E_IOPAD(0x1c4, PIN_INPUT, 5) /* SPI0_CS1.DP0_HPD */ 261 218 >; 262 219 }; 263 220 264 - main_i2c1_exp4_pins_default: main-i2c1-exp4-pins-default { 221 + main_i2c1_exp4_pins_default: main-i2c1-exp4-default-pins { 265 222 pinctrl-single,pins = < 266 223 J721E_IOPAD(0x230, PIN_INPUT, 7) /* (U2) ECAP0_IN_APWM_OUT.GPIO1_11 */ 267 224 >; 268 225 }; 269 226 270 - main_i2c0_pins_default: main-i2c0-pins-default { 227 + main_i2c0_pins_default: main-i2c0-default-pins { 271 228 pinctrl-single,pins = < 272 229 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ 273 230 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ 274 231 >; 275 232 }; 276 233 277 - main_i2c1_pins_default: main-i2c1-pins-default { 234 + main_i2c1_pins_default: main-i2c1-default-pins { 278 235 pinctrl-single,pins = < 279 236 J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */ 280 237 J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */ 281 238 >; 282 239 }; 283 240 284 - main_i2c3_pins_default: main-i2c3-pins-default { 241 + main_i2c3_pins_default: main-i2c3-default-pins { 285 242 pinctrl-single,pins = < 286 243 J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */ 287 244 J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */ 288 245 >; 289 246 }; 290 247 291 - main_i2c6_pins_default: main-i2c6-pins-default { 248 + main_i2c6_pins_default: main-i2c6-default-pins { 292 249 pinctrl-single,pins = < 293 250 J721E_IOPAD(0x1d0, PIN_INPUT_PULLUP, 2) /* (AA3) SPI0_D1.I2C6_SCL */ 294 251 J721E_IOPAD(0x1e4, PIN_INPUT_PULLUP, 2) /* (Y2) SPI1_D1.I2C6_SDA */ 295 252 >; 296 253 }; 297 254 298 - mcasp10_pins_default: mcasp10-pins-default { 255 + mcasp10_pins_default: mcasp10-default-pins { 299 256 pinctrl-single,pins = < 300 257 J721E_IOPAD(0x158, PIN_OUTPUT_PULLDOWN, 12) /* (U23) RGMII5_TX_CTL.MCASP10_ACLKX */ 301 258 J721E_IOPAD(0x15c, PIN_OUTPUT_PULLDOWN, 12) /* (U26) RGMII5_RX_CTL.MCASP10_AFSX */ ··· 309 266 >; 310 267 }; 311 268 312 - audi_ext_refclk2_pins_default: audi-ext-refclk2-pins-default { 269 + audi_ext_refclk2_pins_default: audi-ext-refclk2-default-pins { 313 270 pinctrl-single,pins = < 314 271 J721E_IOPAD(0x1a4, PIN_OUTPUT, 3) /* (W26) RGMII6_RXC.AUDIO_EXT_REFCLK2 */ 315 272 >; 316 273 }; 317 274 318 - main_mcan0_pins_default: main-mcan0-pins-default { 275 + main_mcan0_pins_default: main-mcan0-default-pins { 319 276 pinctrl-single,pins = < 320 277 J721E_IOPAD(0x208, PIN_INPUT, 0) /* (W5) MCAN0_RX */ 321 278 J721E_IOPAD(0x20c, PIN_OUTPUT, 0) /* (W6) MCAN0_TX */ 322 279 >; 323 280 }; 324 281 325 - main_mcan2_pins_default: main-mcan2-pins-default { 282 + main_mcan2_pins_default: main-mcan2-default-pins { 326 283 pinctrl-single,pins = < 327 284 J721E_IOPAD(0x01f0, PIN_INPUT, 3) /* (AC2) MCAN2_RX.GPIO0_123 */ 328 285 J721E_IOPAD(0x01f4, PIN_OUTPUT, 3) /* (AB1) MCAN2_TX.GPIO0_124 */ 329 286 >; 330 287 }; 331 288 332 - main_mcan2_gpio_pins_default: main-mcan2-gpio-pins-default { 289 + main_mcan2_gpio_pins_default: main-mcan2-gpio-default-pins { 333 290 pinctrl-single,pins = < 334 291 J721E_IOPAD(0x200, PIN_INPUT, 7) /* (AC4) UART1_CTSn.GPIO0_127 */ 335 292 >; ··· 337 294 }; 338 295 339 296 &wkup_pmx0 { 340 - sw11_button_pins_default: sw11-button-pins-default { 297 + wkup_uart0_pins_default: wkup-uart0-default-pins { 298 + pinctrl-single,pins = < 299 + J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */ 300 + J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */ 301 + >; 302 + }; 303 + 304 + mcu_uart0_pins_default: mcu-uart0-default-pins { 305 + pinctrl-single,pins = < 306 + J721E_WKUP_IOPAD(0xe8, PIN_INPUT, 0) /* (H29) WKUP_GPIO0_14.MCU_UART0_CTSn */ 307 + J721E_WKUP_IOPAD(0xec, PIN_OUTPUT, 0) /* (J27) WKUP_GPIO0_15.MCU_UART0_RTSn */ 308 + J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */ 309 + J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */ 310 + >; 311 + }; 312 + 313 + sw11_button_pins_default: sw11-button-default-pins { 341 314 pinctrl-single,pins = < 342 315 J721E_WKUP_IOPAD(0xcc, PIN_INPUT, 7) /* (G28) WKUP_GPIO0_7 */ 343 316 >; 344 317 }; 345 318 346 - mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-pins-default { 319 + mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-default-pins { 347 320 pinctrl-single,pins = < 348 321 J721E_WKUP_IOPAD(0x34, PIN_OUTPUT, 0) /* (F22) MCU_OSPI1_CLK */ 349 322 J721E_WKUP_IOPAD(0x50, PIN_OUTPUT, 0) /* (C22) MCU_OSPI1_CSn0 */ ··· 372 313 >; 373 314 }; 374 315 375 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 316 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 376 317 pinctrl-single,pins = < 377 318 J721E_WKUP_IOPAD(0x0058, PIN_OUTPUT, 0) /* MCU_RGMII1_TX_CTL */ 378 319 J721E_WKUP_IOPAD(0x005c, PIN_INPUT, 0) /* MCU_RGMII1_RX_CTL */ ··· 389 330 >; 390 331 }; 391 332 392 - mcu_mdio_pins_default: mcu-mdio1-pins-default { 333 + mcu_mdio_pins_default: mcu-mdio1-default-pins { 393 334 pinctrl-single,pins = < 394 335 J721E_WKUP_IOPAD(0x008c, PIN_OUTPUT, 0) /* MCU_MDIO0_MDC */ 395 336 J721E_WKUP_IOPAD(0x0088, PIN_INPUT, 0) /* MCU_MDIO0_MDIO */ 396 337 >; 397 338 }; 398 339 399 - mcu_mcan0_pins_default: mcu-mcan0-pins-default { 340 + mcu_mcan0_pins_default: mcu-mcan0-default-pins { 400 341 pinctrl-single,pins = < 401 342 J721E_WKUP_IOPAD(0xac, PIN_INPUT, 0) /* (C29) MCU_MCAN0_RX */ 402 343 J721E_WKUP_IOPAD(0xa8, PIN_OUTPUT, 0) /* (D29) MCU_MCAN0_TX */ 403 344 >; 404 345 }; 405 346 406 - mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-pins-default { 347 + mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-default-pins { 407 348 pinctrl-single,pins = < 408 349 J721E_WKUP_IOPAD(0xb0, PIN_INPUT, 7) /* (F26) WKUP_GPIO0_0 */ 409 350 J721E_WKUP_IOPAD(0x98, PIN_INPUT, 7) /* (E28) MCU_SPI0_D1.WKUP_GPIO0_54 */ 410 351 >; 411 352 }; 412 353 413 - mcu_mcan1_pins_default: mcu-mcan1-pins-default { 354 + mcu_mcan1_pins_default: mcu-mcan1-default-pins { 414 355 pinctrl-single,pins = < 415 356 J721E_WKUP_IOPAD(0xc4, PIN_INPUT, 0) /* (G24) WKUP_GPIO0_5.MCU_MCAN1_RX */ 416 357 J721E_WKUP_IOPAD(0xc0, PIN_OUTPUT, 0) /* (G25) WKUP_GPIO0_4.MCU_MCAN1_TX */ 417 358 >; 418 359 }; 419 360 420 - mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-pins-default { 361 + mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-default-pins { 421 362 pinctrl-single,pins = < 422 363 J721E_WKUP_IOPAD(0xb8, PIN_INPUT, 7) /* (F28) WKUP_GPIO0_2 */ 364 + >; 365 + }; 366 + 367 + wkup_gpio_pins_default: wkup-gpio-default-pins { 368 + pinctrl-single,pins = < 369 + J721E_WKUP_IOPAD(0xd0, PIN_INPUT, 7) /* (C14) WKUP_GPIO0_8 */ 423 370 >; 424 371 }; 425 372 }; ··· 433 368 &wkup_uart0 { 434 369 /* Wakeup UART is used by System firmware */ 435 370 status = "reserved"; 371 + pinctrl-names = "default"; 372 + pinctrl-0 = <&wkup_uart0_pins_default>; 436 373 }; 437 374 438 375 &mcu_uart0 { 439 376 status = "okay"; 440 - /* Default pinmux */ 377 + pinctrl-names = "default"; 378 + pinctrl-0 = <&mcu_uart0_pins_default>; 441 379 }; 442 380 443 381 &main_uart0 { 444 382 status = "okay"; 383 + pinctrl-names = "default"; 384 + pinctrl-0 = <&main_uart0_pins_default>; 445 385 /* Shared with ATF on this platform */ 446 386 power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>; 447 387 }; 448 388 449 389 &main_uart1 { 450 390 status = "okay"; 451 - /* Default pinmux */ 391 + pinctrl-names = "default"; 392 + pinctrl-0 = <&main_uart1_pins_default>; 452 393 }; 453 394 454 395 &main_uart2 { 455 396 status = "okay"; 456 - /* Default pinmux */ 397 + pinctrl-names = "default"; 398 + pinctrl-0 = <&main_uart2_pins_default>; 457 399 }; 458 400 459 401 &main_uart4 { 460 402 status = "okay"; 461 - /* Default pinmux */ 403 + pinctrl-names = "default"; 404 + pinctrl-0 = <&main_uart4_pins_default>; 462 405 }; 463 406 464 407 &main_gpio2 { ··· 491 418 492 419 &main_gpio7 { 493 420 status = "disabled"; 421 + }; 422 + 423 + &wkup_gpio0 { 424 + pinctrl-names = "default"; 425 + pinctrl-0 = <&wkup_gpio_pins_default>; 494 426 }; 495 427 496 428 &wkup_gpio1 { ··· 591 513 cdns,tchsh-ns = <60>; 592 514 cdns,tslch-ns = <60>; 593 515 cdns,read-delay = <2>; 516 + 517 + partitions { 518 + compatible = "fixed-partitions"; 519 + #address-cells = <1>; 520 + #size-cells = <1>; 521 + 522 + partition@0 { 523 + label = "qspi.tiboot3"; 524 + reg = <0x0 0x80000>; 525 + }; 526 + 527 + partition@80000 { 528 + label = "qspi.tispl"; 529 + reg = <0x80000 0x200000>; 530 + }; 531 + 532 + partition@280000 { 533 + label = "qspi.u-boot"; 534 + reg = <0x280000 0x400000>; 535 + }; 536 + 537 + partition@680000 { 538 + label = "qspi.env"; 539 + reg = <0x680000 0x20000>; 540 + }; 541 + 542 + partition@6a0000 { 543 + label = "qspi.env.backup"; 544 + reg = <0x6a0000 0x20000>; 545 + }; 546 + 547 + partition@6c0000 { 548 + label = "qspi.sysfw"; 549 + reg = <0x6c0000 0x100000>; 550 + }; 551 + 552 + partition@800000 { 553 + label = "qspi.rootfs"; 554 + reg = <0x800000 0x37c0000>; 555 + }; 556 + 557 + partition@3fe0000 { 558 + label = "qspi.phypattern"; 559 + reg = <0x3fe0000 0x20000>; 560 + }; 561 + }; 594 562 }; 595 563 }; 596 564 ··· 770 646 771 647 &mcu_cpsw { 772 648 pinctrl-names = "default"; 773 - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 649 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 774 650 }; 775 651 776 652 &davinci_mdio { ··· 944 820 }; 945 821 946 822 &pcie0_rc { 823 + status = "okay"; 947 824 reset-gpios = <&exp1 6 GPIO_ACTIVE_HIGH>; 948 825 phys = <&serdes0_pcie_link>; 949 826 phy-names = "pcie-phy"; ··· 952 827 }; 953 828 954 829 &pcie1_rc { 830 + status = "okay"; 955 831 reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; 956 832 phys = <&serdes1_pcie_link>; 957 833 phy-names = "pcie-phy"; ··· 960 834 }; 961 835 962 836 &pcie2_rc { 837 + status = "okay"; 963 838 reset-gpios = <&exp2 20 GPIO_ACTIVE_HIGH>; 964 839 phys = <&serdes2_pcie_link>; 965 840 phy-names = "pcie-phy"; 966 841 num-lanes = <2>; 967 - }; 968 - 969 - &pcie0_ep { 970 - phys = <&serdes0_pcie_link>; 971 - phy-names = "pcie-phy"; 972 - num-lanes = <1>; 973 - status = "disabled"; 974 - }; 975 - 976 - &pcie1_ep { 977 - phys = <&serdes1_pcie_link>; 978 - phy-names = "pcie-phy"; 979 - num-lanes = <2>; 980 - status = "disabled"; 981 - }; 982 - 983 - &pcie2_ep { 984 - phys = <&serdes2_pcie_link>; 985 - phy-names = "pcie-phy"; 986 - num-lanes = <2>; 987 - status = "disabled"; 988 - }; 989 - 990 - &pcie3_rc { 991 - status = "disabled"; 992 - }; 993 - 994 - &pcie3_ep { 995 - status = "disabled"; 996 - }; 997 - 998 - &icssg0_mdio { 999 - status = "disabled"; 1000 - }; 1001 - 1002 - &icssg1_mdio { 1003 - status = "disabled"; 1004 842 }; 1005 843 1006 844 &mcu_mcan0 {
+1 -1
arch/arm64/boot/dts/ti/k3-j721e-evm-quad-port-eth-exp.dtso
··· 94 94 }; 95 95 96 96 &main_pmx0 { 97 - mdio0_pins_default: mdio0-pins-default { 97 + mdio0_pins_default: mdio0-default-pins { 98 98 pinctrl-single,pins = < 99 99 J721E_IOPAD(0x1bc, PIN_OUTPUT, 0) /* (V24) MDIO0_MDC */ 100 100 J721E_IOPAD(0x1b8, PIN_INPUT, 0) /* (V26) MDIO0_MDIO */
+276 -86
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
··· 548 548 pinctrl-single,function-mask = <0xffffffff>; 549 549 }; 550 550 551 + /* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */ 552 + main_timerio_input: pinctrl@104200 { 553 + compatible = "pinctrl-single"; 554 + reg = <0x00 0x104200 0x00 0x50>; 555 + #pinctrl-cells = <1>; 556 + pinctrl-single,register-width = <32>; 557 + pinctrl-single,function-mask = <0x00000007>; 558 + }; 559 + 560 + /* TIMERIO pad output CTCTRLMMR_TIMERIO*_CTRL registers */ 561 + main_timerio_output: pinctrl@104280 { 562 + compatible = "pinctrl-single"; 563 + reg = <0x00 0x104280 0x00 0x20>; 564 + #pinctrl-cells = <1>; 565 + pinctrl-single,register-width = <32>; 566 + pinctrl-single,function-mask = <0x0000001f>; 567 + }; 568 + 551 569 serdes_wiz0: wiz@5000000 { 552 570 compatible = "ti,j721e-wiz-16g"; 553 571 #address-cells = <1>; ··· 832 814 ranges = <0x01000000 0x0 0x10001000 0x0 0x10001000 0x0 0x0010000>, 833 815 <0x02000000 0x0 0x10011000 0x0 0x10011000 0x0 0x7fef000>; 834 816 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; 835 - }; 836 - 837 - pcie0_ep: pcie-ep@2900000 { 838 - compatible = "ti,j721e-pcie-ep"; 839 - reg = <0x00 0x02900000 0x00 0x1000>, 840 - <0x00 0x02907000 0x00 0x400>, 841 - <0x00 0x0d000000 0x00 0x00800000>, 842 - <0x00 0x10000000 0x00 0x08000000>; 843 - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 844 - interrupt-names = "link_state"; 845 - interrupts = <GIC_SPI 318 IRQ_TYPE_EDGE_RISING>; 846 - ti,syscon-pcie-ctrl = <&scm_conf 0x4070>; 847 - max-link-speed = <3>; 848 - num-lanes = <2>; 849 - power-domains = <&k3_pds 239 TI_SCI_PD_EXCLUSIVE>; 850 - clocks = <&k3_clks 239 1>; 851 - clock-names = "fck"; 852 - max-functions = /bits/ 8 <6>; 853 - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 854 - dma-coherent; 817 + status = "disabled"; 855 818 }; 856 819 857 820 pcie1_rc: pcie@2910000 { ··· 861 862 ranges = <0x01000000 0x0 0x18001000 0x0 0x18001000 0x0 0x0010000>, 862 863 <0x02000000 0x0 0x18011000 0x0 0x18011000 0x0 0x7fef000>; 863 864 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; 864 - }; 865 - 866 - pcie1_ep: pcie-ep@2910000 { 867 - compatible = "ti,j721e-pcie-ep"; 868 - reg = <0x00 0x02910000 0x00 0x1000>, 869 - <0x00 0x02917000 0x00 0x400>, 870 - <0x00 0x0d800000 0x00 0x00800000>, 871 - <0x00 0x18000000 0x00 0x08000000>; 872 - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 873 - interrupt-names = "link_state"; 874 - interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; 875 - ti,syscon-pcie-ctrl = <&scm_conf 0x4074>; 876 - max-link-speed = <3>; 877 - num-lanes = <2>; 878 - power-domains = <&k3_pds 240 TI_SCI_PD_EXCLUSIVE>; 879 - clocks = <&k3_clks 240 1>; 880 - clock-names = "fck"; 881 - max-functions = /bits/ 8 <6>; 882 - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 883 - dma-coherent; 865 + status = "disabled"; 884 866 }; 885 867 886 868 pcie2_rc: pcie@2920000 { ··· 890 910 ranges = <0x01000000 0x0 0x00001000 0x44 0x00001000 0x0 0x0010000>, 891 911 <0x02000000 0x0 0x00011000 0x44 0x00011000 0x0 0x7fef000>; 892 912 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; 893 - }; 894 - 895 - pcie2_ep: pcie-ep@2920000 { 896 - compatible = "ti,j721e-pcie-ep"; 897 - reg = <0x00 0x02920000 0x00 0x1000>, 898 - <0x00 0x02927000 0x00 0x400>, 899 - <0x00 0x0e000000 0x00 0x00800000>, 900 - <0x44 0x00000000 0x00 0x08000000>; 901 - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 902 - interrupt-names = "link_state"; 903 - interrupts = <GIC_SPI 342 IRQ_TYPE_EDGE_RISING>; 904 - ti,syscon-pcie-ctrl = <&scm_conf 0x4078>; 905 - max-link-speed = <3>; 906 - num-lanes = <2>; 907 - power-domains = <&k3_pds 241 TI_SCI_PD_EXCLUSIVE>; 908 - clocks = <&k3_clks 241 1>; 909 - clock-names = "fck"; 910 - max-functions = /bits/ 8 <6>; 911 - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 912 - dma-coherent; 913 + status = "disabled"; 913 914 }; 914 915 915 916 pcie3_rc: pcie@2930000 { ··· 919 958 ranges = <0x01000000 0x0 0x00001000 0x44 0x10001000 0x0 0x0010000>, 920 959 <0x02000000 0x0 0x00011000 0x44 0x10011000 0x0 0x7fef000>; 921 960 dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; 922 - }; 923 - 924 - pcie3_ep: pcie-ep@2930000 { 925 - compatible = "ti,j721e-pcie-ep"; 926 - reg = <0x00 0x02930000 0x00 0x1000>, 927 - <0x00 0x02937000 0x00 0x400>, 928 - <0x00 0x0e800000 0x00 0x00800000>, 929 - <0x44 0x10000000 0x00 0x08000000>; 930 - reg-names = "intd_cfg", "user_cfg", "reg", "mem"; 931 - interrupt-names = "link_state"; 932 - interrupts = <GIC_SPI 354 IRQ_TYPE_EDGE_RISING>; 933 - ti,syscon-pcie-ctrl = <&scm_conf 0x407c>; 934 - max-link-speed = <3>; 935 - num-lanes = <2>; 936 - power-domains = <&k3_pds 242 TI_SCI_PD_EXCLUSIVE>; 937 - clocks = <&k3_clks 242 1>; 938 - clock-names = "fck"; 939 - max-functions = /bits/ 8 <6>; 940 - max-virtual-functions = /bits/ 8 <4 4 4 4 0 0>; 941 - dma-coherent; 942 - #address-cells = <2>; 943 - #size-cells = <2>; 961 + status = "disabled"; 944 962 }; 945 963 946 964 serdes_wiz4: wiz@5050000 { ··· 961 1021 #address-cells = <1>; 962 1022 #size-cells = <0>; 963 1023 }; 1024 + }; 1025 + 1026 + main_timer0: timer@2400000 { 1027 + compatible = "ti,am654-timer"; 1028 + reg = <0x00 0x2400000 0x00 0x400>; 1029 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 1030 + clocks = <&k3_clks 49 1>; 1031 + clock-names = "fck"; 1032 + assigned-clocks = <&k3_clks 49 1>; 1033 + assigned-clock-parents = <&k3_clks 49 2>; 1034 + power-domains = <&k3_pds 49 TI_SCI_PD_EXCLUSIVE>; 1035 + ti,timer-pwm; 1036 + }; 1037 + 1038 + main_timer1: timer@2410000 { 1039 + compatible = "ti,am654-timer"; 1040 + reg = <0x00 0x2410000 0x00 0x400>; 1041 + interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; 1042 + clocks = <&k3_clks 50 1>; 1043 + clock-names = "fck"; 1044 + assigned-clocks = <&k3_clks 50 1>, <&k3_clks 327 0>; 1045 + assigned-clock-parents = <&k3_clks 50 2>, <&k3_clks 327 1>; 1046 + power-domains = <&k3_pds 50 TI_SCI_PD_EXCLUSIVE>; 1047 + ti,timer-pwm; 1048 + }; 1049 + 1050 + main_timer2: timer@2420000 { 1051 + compatible = "ti,am654-timer"; 1052 + reg = <0x00 0x2420000 0x00 0x400>; 1053 + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 1054 + clocks = <&k3_clks 51 1>; 1055 + clock-names = "fck"; 1056 + assigned-clocks = <&k3_clks 51 1>; 1057 + assigned-clock-parents = <&k3_clks 51 2>; 1058 + power-domains = <&k3_pds 51 TI_SCI_PD_EXCLUSIVE>; 1059 + ti,timer-pwm; 1060 + }; 1061 + 1062 + main_timer3: timer@2430000 { 1063 + compatible = "ti,am654-timer"; 1064 + reg = <0x00 0x2430000 0x00 0x400>; 1065 + interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 1066 + clocks = <&k3_clks 52 1>; 1067 + clock-names = "fck"; 1068 + assigned-clocks = <&k3_clks 52 1>, <&k3_clks 328 0>; 1069 + assigned-clock-parents = <&k3_clks 52 2>, <&k3_clks 328 1>; 1070 + power-domains = <&k3_pds 52 TI_SCI_PD_EXCLUSIVE>; 1071 + ti,timer-pwm; 1072 + }; 1073 + 1074 + main_timer4: timer@2440000 { 1075 + compatible = "ti,am654-timer"; 1076 + reg = <0x00 0x2440000 0x00 0x400>; 1077 + interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; 1078 + clocks = <&k3_clks 53 1>; 1079 + clock-names = "fck"; 1080 + assigned-clocks = <&k3_clks 53 1>; 1081 + assigned-clock-parents = <&k3_clks 53 2>; 1082 + power-domains = <&k3_pds 53 TI_SCI_PD_EXCLUSIVE>; 1083 + ti,timer-pwm; 1084 + }; 1085 + 1086 + main_timer5: timer@2450000 { 1087 + compatible = "ti,am654-timer"; 1088 + reg = <0x00 0x2450000 0x00 0x400>; 1089 + interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 1090 + clocks = <&k3_clks 54 1>; 1091 + clock-names = "fck"; 1092 + assigned-clocks = <&k3_clks 54 1>, <&k3_clks 329 0>; 1093 + assigned-clock-parents = <&k3_clks 54 2>, <&k3_clks 329 1>; 1094 + power-domains = <&k3_pds 54 TI_SCI_PD_EXCLUSIVE>; 1095 + ti,timer-pwm; 1096 + }; 1097 + 1098 + main_timer6: timer@2460000 { 1099 + compatible = "ti,am654-timer"; 1100 + reg = <0x00 0x2460000 0x00 0x400>; 1101 + interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>; 1102 + clocks = <&k3_clks 55 1>; 1103 + clock-names = "fck"; 1104 + assigned-clocks = <&k3_clks 55 1>; 1105 + assigned-clock-parents = <&k3_clks 55 2>; 1106 + power-domains = <&k3_pds 55 TI_SCI_PD_EXCLUSIVE>; 1107 + ti,timer-pwm; 1108 + }; 1109 + 1110 + main_timer7: timer@2470000 { 1111 + compatible = "ti,am654-timer"; 1112 + reg = <0x00 0x2470000 0x00 0x400>; 1113 + interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>; 1114 + clocks = <&k3_clks 57 1>; 1115 + clock-names = "fck"; 1116 + assigned-clocks = <&k3_clks 57 1>, <&k3_clks 330 0>; 1117 + assigned-clock-parents = <&k3_clks 57 2>, <&k3_clks 330 1>; 1118 + power-domains = <&k3_pds 57 TI_SCI_PD_EXCLUSIVE>; 1119 + ti,timer-pwm; 1120 + }; 1121 + 1122 + main_timer8: timer@2480000 { 1123 + compatible = "ti,am654-timer"; 1124 + reg = <0x00 0x2480000 0x00 0x400>; 1125 + interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; 1126 + clocks = <&k3_clks 58 1>; 1127 + clock-names = "fck"; 1128 + assigned-clocks = <&k3_clks 58 1>; 1129 + assigned-clock-parents = <&k3_clks 58 2>; 1130 + power-domains = <&k3_pds 58 TI_SCI_PD_EXCLUSIVE>; 1131 + ti,timer-pwm; 1132 + }; 1133 + 1134 + main_timer9: timer@2490000 { 1135 + compatible = "ti,am654-timer"; 1136 + reg = <0x00 0x2490000 0x00 0x400>; 1137 + interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; 1138 + clocks = <&k3_clks 59 1>; 1139 + clock-names = "fck"; 1140 + assigned-clocks = <&k3_clks 59 1>, <&k3_clks 331 0>; 1141 + assigned-clock-parents = <&k3_clks 59 2>, <&k3_clks 331 1>; 1142 + power-domains = <&k3_pds 59 TI_SCI_PD_EXCLUSIVE>; 1143 + ti,timer-pwm; 1144 + }; 1145 + 1146 + main_timer10: timer@24a0000 { 1147 + compatible = "ti,am654-timer"; 1148 + reg = <0x00 0x24a0000 0x00 0x400>; 1149 + interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>; 1150 + clocks = <&k3_clks 60 1>; 1151 + clock-names = "fck"; 1152 + assigned-clocks = <&k3_clks 60 1>; 1153 + assigned-clock-parents = <&k3_clks 60 2>; 1154 + power-domains = <&k3_pds 60 TI_SCI_PD_EXCLUSIVE>; 1155 + ti,timer-pwm; 1156 + }; 1157 + 1158 + main_timer11: timer@24b0000 { 1159 + compatible = "ti,am654-timer"; 1160 + reg = <0x00 0x24b0000 0x00 0x400>; 1161 + interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>; 1162 + clocks = <&k3_clks 62 1>; 1163 + clock-names = "fck"; 1164 + assigned-clocks = <&k3_clks 62 1>, <&k3_clks 332 0>; 1165 + assigned-clock-parents = <&k3_clks 62 2>, <&k3_clks 332 1>; 1166 + power-domains = <&k3_pds 62 TI_SCI_PD_EXCLUSIVE>; 1167 + ti,timer-pwm; 1168 + }; 1169 + 1170 + main_timer12: timer@24c0000 { 1171 + compatible = "ti,am654-timer"; 1172 + reg = <0x00 0x24c0000 0x00 0x400>; 1173 + interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>; 1174 + clocks = <&k3_clks 63 1>; 1175 + clock-names = "fck"; 1176 + assigned-clocks = <&k3_clks 63 1>; 1177 + assigned-clock-parents = <&k3_clks 63 2>; 1178 + power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>; 1179 + ti,timer-pwm; 1180 + }; 1181 + 1182 + main_timer13: timer@24d0000 { 1183 + compatible = "ti,am654-timer"; 1184 + reg = <0x00 0x24d0000 0x00 0x400>; 1185 + interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>; 1186 + clocks = <&k3_clks 64 1>; 1187 + clock-names = "fck"; 1188 + assigned-clocks = <&k3_clks 64 1>, <&k3_clks 333 0>; 1189 + assigned-clock-parents = <&k3_clks 64 2>, <&k3_clks 333 1>; 1190 + power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>; 1191 + ti,timer-pwm; 1192 + }; 1193 + 1194 + main_timer14: timer@24e0000 { 1195 + compatible = "ti,am654-timer"; 1196 + reg = <0x00 0x24e0000 0x00 0x400>; 1197 + interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 1198 + clocks = <&k3_clks 65 1>; 1199 + clock-names = "fck"; 1200 + assigned-clocks = <&k3_clks 65 1>; 1201 + assigned-clock-parents = <&k3_clks 65 2>; 1202 + power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>; 1203 + ti,timer-pwm; 1204 + }; 1205 + 1206 + main_timer15: timer@24f0000 { 1207 + compatible = "ti,am654-timer"; 1208 + reg = <0x00 0x24f0000 0x00 0x400>; 1209 + interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 1210 + clocks = <&k3_clks 66 1>; 1211 + clock-names = "fck"; 1212 + assigned-clocks = <&k3_clks 66 1>, <&k3_clks 334 0>; 1213 + assigned-clock-parents = <&k3_clks 66 2>, <&k3_clks 334 1>; 1214 + power-domains = <&k3_pds 66 TI_SCI_PD_EXCLUSIVE>; 1215 + ti,timer-pwm; 1216 + }; 1217 + 1218 + main_timer16: timer@2500000 { 1219 + compatible = "ti,am654-timer"; 1220 + reg = <0x00 0x2500000 0x00 0x400>; 1221 + interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>; 1222 + clocks = <&k3_clks 67 1>; 1223 + clock-names = "fck"; 1224 + assigned-clocks = <&k3_clks 67 1>; 1225 + assigned-clock-parents = <&k3_clks 67 2>; 1226 + power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>; 1227 + ti,timer-pwm; 1228 + }; 1229 + 1230 + main_timer17: timer@2510000 { 1231 + compatible = "ti,am654-timer"; 1232 + reg = <0x00 0x2510000 0x00 0x400>; 1233 + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; 1234 + clocks = <&k3_clks 68 1>; 1235 + clock-names = "fck"; 1236 + assigned-clocks = <&k3_clks 68 1>, <&k3_clks 335 0>; 1237 + assigned-clock-parents = <&k3_clks 68 2>, <&k3_clks 335 1>; 1238 + power-domains = <&k3_pds 68 TI_SCI_PD_EXCLUSIVE>; 1239 + ti,timer-pwm; 1240 + }; 1241 + 1242 + main_timer18: timer@2520000 { 1243 + compatible = "ti,am654-timer"; 1244 + reg = <0x00 0x2520000 0x00 0x400>; 1245 + interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>; 1246 + clocks = <&k3_clks 69 1>; 1247 + clock-names = "fck"; 1248 + assigned-clocks = <&k3_clks 69 1>; 1249 + assigned-clock-parents = <&k3_clks 69 2>; 1250 + power-domains = <&k3_pds 69 TI_SCI_PD_EXCLUSIVE>; 1251 + ti,timer-pwm; 1252 + }; 1253 + 1254 + main_timer19: timer@2530000 { 1255 + compatible = "ti,am654-timer"; 1256 + reg = <0x00 0x2530000 0x00 0x400>; 1257 + interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; 1258 + clocks = <&k3_clks 70 1>; 1259 + clock-names = "fck"; 1260 + assigned-clocks = <&k3_clks 70 1>, <&k3_clks 336 0>; 1261 + assigned-clock-parents = <&k3_clks 70 2>, <&k3_clks 336 1>; 1262 + power-domains = <&k3_pds 70 TI_SCI_PD_EXCLUSIVE>; 1263 + ti,timer-pwm; 964 1264 }; 965 1265 966 1266 main_uart0: serial@2800000 { ··· 1467 1287 bus-width = <8>; 1468 1288 mmc-hs200-1_8v; 1469 1289 mmc-ddr-1_8v; 1470 - ti,otap-del-sel-legacy = <0xf>; 1471 - ti,otap-del-sel-mmc-hs = <0xf>; 1290 + ti,otap-del-sel-legacy = <0x0>; 1291 + ti,otap-del-sel-mmc-hs = <0x0>; 1472 1292 ti,otap-del-sel-ddr52 = <0x5>; 1473 1293 ti,otap-del-sel-hs200 = <0x6>; 1474 1294 ti,otap-del-sel-hs400 = <0x0>; ··· 1489 1309 assigned-clocks = <&k3_clks 92 0>; 1490 1310 assigned-clock-parents = <&k3_clks 92 1>; 1491 1311 ti,otap-del-sel-legacy = <0x0>; 1492 - ti,otap-del-sel-sd-hs = <0xf>; 1312 + ti,otap-del-sel-sd-hs = <0x0>; 1493 1313 ti,otap-del-sel-sdr12 = <0xf>; 1494 1314 ti,otap-del-sel-sdr25 = <0xf>; 1495 1315 ti,otap-del-sel-sdr50 = <0xc>; 1496 1316 ti,otap-del-sel-ddr50 = <0xc>; 1317 + ti,otap-del-sel-sdr104 = <0x5>; 1497 1318 ti,itap-del-sel-legacy = <0x0>; 1498 1319 ti,itap-del-sel-sd-hs = <0x0>; 1499 1320 ti,itap-del-sel-sdr12 = <0x0>; ··· 1516 1335 assigned-clocks = <&k3_clks 93 0>; 1517 1336 assigned-clock-parents = <&k3_clks 93 1>; 1518 1337 ti,otap-del-sel-legacy = <0x0>; 1519 - ti,otap-del-sel-sd-hs = <0xf>; 1338 + ti,otap-del-sel-sd-hs = <0x0>; 1520 1339 ti,otap-del-sel-sdr12 = <0xf>; 1521 1340 ti,otap-del-sel-sdr25 = <0xf>; 1522 1341 ti,otap-del-sel-sdr50 = <0xc>; 1523 1342 ti,otap-del-sel-ddr50 = <0xc>; 1343 + ti,otap-del-sel-sdr104 = <0x5>; 1524 1344 ti,itap-del-sel-legacy = <0x0>; 1525 1345 ti,itap-del-sel-sd-hs = <0x0>; 1526 1346 ti,itap-del-sel-sdr12 = <0x0>; ··· 2273 2091 #address-cells = <1>; 2274 2092 #size-cells = <0>; 2275 2093 bus_freq = <1000000>; 2094 + status = "disabled"; 2276 2095 }; 2277 2096 }; 2278 2097 ··· 2415 2232 #address-cells = <1>; 2416 2233 #size-cells = <0>; 2417 2234 bus_freq = <1000000>; 2235 + status = "disabled"; 2418 2236 }; 2419 2237 }; 2420 2238 ··· 2715 2531 power-domains = <&k3_pds 273 TI_SCI_PD_EXCLUSIVE>; 2716 2532 clocks = <&k3_clks 273 1>; 2717 2533 status = "disabled"; 2534 + }; 2535 + 2536 + main_esm: esm@700000 { 2537 + compatible = "ti,j721e-esm"; 2538 + reg = <0x0 0x700000 0x0 0x1000>; 2539 + ti,esm-pins = <344>, <345>; 2718 2540 }; 2719 2541 };
+206
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
··· 62 62 pinctrl-single,function-mask = <0xffffffff>; 63 63 }; 64 64 65 + /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ 66 + mcu_timerio_input: pinctrl@40f04200 { 67 + compatible = "pinctrl-single"; 68 + reg = <0x00 0x40f04200 0x00 0x28>; 69 + #pinctrl-cells = <1>; 70 + pinctrl-single,register-width = <32>; 71 + pinctrl-single,function-mask = <0x0000000f>; 72 + /* Non-MPU Firmware usage */ 73 + status = "reserved"; 74 + }; 75 + 76 + /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ 77 + mcu_timerio_output: pinctrl@40f04280 { 78 + compatible = "pinctrl-single"; 79 + reg = <0x00 0x40f04280 0x00 0x28>; 80 + #pinctrl-cells = <1>; 81 + pinctrl-single,register-width = <32>; 82 + pinctrl-single,function-mask = <0x0000000f>; 83 + /* Non-MPU Firmware usage */ 84 + status = "reserved"; 85 + }; 86 + 65 87 mcu_ram: sram@41c00000 { 66 88 compatible = "mmio-sram"; 67 89 reg = <0x00 0x41c00000 0x00 0x100000>; ··· 92 70 #size-cells = <1>; 93 71 }; 94 72 73 + mcu_timer0: timer@40400000 { 74 + compatible = "ti,am654-timer"; 75 + reg = <0x00 0x40400000 0x00 0x400>; 76 + interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>; 77 + clocks = <&k3_clks 35 1>; 78 + clock-names = "fck"; 79 + assigned-clocks = <&k3_clks 35 1>; 80 + assigned-clock-parents = <&k3_clks 35 2>; 81 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 82 + ti,timer-pwm; 83 + /* Non-MPU Firmware usage */ 84 + status = "reserved"; 85 + }; 86 + 87 + mcu_timer1: timer@40410000 { 88 + compatible = "ti,am654-timer"; 89 + reg = <0x00 0x40410000 0x00 0x400>; 90 + interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>; 91 + clocks = <&k3_clks 71 1>; 92 + clock-names = "fck"; 93 + assigned-clocks = <&k3_clks 71 1>, <&k3_clks 322 0>; 94 + assigned-clock-parents = <&k3_clks 71 2>, <&k3_clks 322 1>; 95 + power-domains = <&k3_pds 71 TI_SCI_PD_EXCLUSIVE>; 96 + ti,timer-pwm; 97 + /* Non-MPU Firmware usage */ 98 + status = "reserved"; 99 + }; 100 + 101 + mcu_timer2: timer@40420000 { 102 + compatible = "ti,am654-timer"; 103 + reg = <0x00 0x40420000 0x00 0x400>; 104 + interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>; 105 + clocks = <&k3_clks 72 1>; 106 + clock-names = "fck"; 107 + assigned-clocks = <&k3_clks 72 1>; 108 + assigned-clock-parents = <&k3_clks 72 2>; 109 + power-domains = <&k3_pds 72 TI_SCI_PD_EXCLUSIVE>; 110 + ti,timer-pwm; 111 + /* Non-MPU Firmware usage */ 112 + status = "reserved"; 113 + }; 114 + 115 + mcu_timer3: timer@40430000 { 116 + compatible = "ti,am654-timer"; 117 + reg = <0x00 0x40430000 0x00 0x400>; 118 + interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>; 119 + clocks = <&k3_clks 73 1>; 120 + clock-names = "fck"; 121 + assigned-clocks = <&k3_clks 73 1>, <&k3_clks 323 0>; 122 + assigned-clock-parents = <&k3_clks 73 2>, <&k3_clks 323 1>; 123 + power-domains = <&k3_pds 73 TI_SCI_PD_EXCLUSIVE>; 124 + ti,timer-pwm; 125 + /* Non-MPU Firmware usage */ 126 + status = "reserved"; 127 + }; 128 + 129 + mcu_timer4: timer@40440000 { 130 + compatible = "ti,am654-timer"; 131 + reg = <0x00 0x40440000 0x00 0x400>; 132 + interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>; 133 + clocks = <&k3_clks 74 1>; 134 + clock-names = "fck"; 135 + assigned-clocks = <&k3_clks 74 1>; 136 + assigned-clock-parents = <&k3_clks 74 2>; 137 + power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>; 138 + ti,timer-pwm; 139 + /* Non-MPU Firmware usage */ 140 + status = "reserved"; 141 + }; 142 + 143 + mcu_timer5: timer@40450000 { 144 + compatible = "ti,am654-timer"; 145 + reg = <0x00 0x40450000 0x00 0x400>; 146 + interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>; 147 + clocks = <&k3_clks 75 1>; 148 + clock-names = "fck"; 149 + assigned-clocks = <&k3_clks 75 1>, <&k3_clks 324 0>; 150 + assigned-clock-parents = <&k3_clks 75 2>, <&k3_clks 324 1>; 151 + power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>; 152 + ti,timer-pwm; 153 + /* Non-MPU Firmware usage */ 154 + status = "reserved"; 155 + }; 156 + 157 + mcu_timer6: timer@40460000 { 158 + compatible = "ti,am654-timer"; 159 + reg = <0x00 0x40460000 0x00 0x400>; 160 + interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>; 161 + clocks = <&k3_clks 76 1>; 162 + clock-names = "fck"; 163 + assigned-clocks = <&k3_clks 76 1>; 164 + assigned-clock-parents = <&k3_clks 76 2>; 165 + power-domains = <&k3_pds 76 TI_SCI_PD_EXCLUSIVE>; 166 + ti,timer-pwm; 167 + /* Non-MPU Firmware usage */ 168 + status = "reserved"; 169 + }; 170 + 171 + mcu_timer7: timer@40470000 { 172 + compatible = "ti,am654-timer"; 173 + reg = <0x00 0x40470000 0x00 0x400>; 174 + interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>; 175 + clocks = <&k3_clks 77 1>; 176 + clock-names = "fck"; 177 + assigned-clocks = <&k3_clks 77 1>, <&k3_clks 325 0>; 178 + assigned-clock-parents = <&k3_clks 77 2>, <&k3_clks 325 1>; 179 + power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>; 180 + ti,timer-pwm; 181 + /* Non-MPU Firmware usage */ 182 + status = "reserved"; 183 + }; 184 + 185 + mcu_timer8: timer@40480000 { 186 + compatible = "ti,am654-timer"; 187 + reg = <0x00 0x40480000 0x00 0x400>; 188 + interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>; 189 + clocks = <&k3_clks 78 1>; 190 + clock-names = "fck"; 191 + assigned-clocks = <&k3_clks 78 1>; 192 + assigned-clock-parents = <&k3_clks 78 2>; 193 + power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>; 194 + ti,timer-pwm; 195 + /* Non-MPU Firmware usage */ 196 + status = "reserved"; 197 + }; 198 + 199 + mcu_timer9: timer@40490000 { 200 + compatible = "ti,am654-timer"; 201 + reg = <0x00 0x40490000 0x00 0x400>; 202 + interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>; 203 + clocks = <&k3_clks 79 1>; 204 + clock-names = "fck"; 205 + assigned-clocks = <&k3_clks 79 1>, <&k3_clks 326 0>; 206 + assigned-clock-parents = <&k3_clks 79 2>, <&k3_clks 326 1>; 207 + power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>; 208 + ti,timer-pwm; 209 + /* Non-MPU Firmware usage */ 210 + status = "reserved"; 211 + }; 95 212 wkup_uart0: serial@42300000 { 96 213 compatible = "ti,j721e-uart", "ti,am654-uart"; 97 214 reg = <0x00 0x42300000 0x00 0x100>; ··· 341 180 #address-cells = <2>; 342 181 #size-cells = <2>; 343 182 ranges; 183 + 184 + hbmc_mux: mux-controller@47000004 { 185 + compatible = "reg-mux"; 186 + reg = <0x00 0x47000004 0x00 0x2>; 187 + #mux-control-cells = <1>; 188 + mux-reg-masks = <0x4 0x2>; /* HBMC select */ 189 + }; 190 + 191 + hbmc: hyperbus@47034000 { 192 + compatible = "ti,am654-hbmc"; 193 + reg = <0x00 0x47034000 0x00 0x100>, 194 + <0x05 0x00000000 0x01 0x0000000>; 195 + power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>; 196 + clocks = <&k3_clks 102 0>; 197 + assigned-clocks = <&k3_clks 102 5>; 198 + assigned-clock-rates = <333333333>; 199 + #address-cells = <2>; 200 + #size-cells = <1>; 201 + mux-controls = <&hbmc_mux 0>; 202 + status = "disabled"; 203 + }; 344 204 345 205 ospi0: spi@47040000 { 346 206 compatible = "ti,am654-ospi", "cdns,qspi-nor"; ··· 476 294 <0x0b>; /* RX_HCHAN */ 477 295 ti,sci-rm-range-rflow = <0x00>; /* GP RFLOW */ 478 296 }; 297 + }; 298 + 299 + secure_proxy_mcu: mailbox@2a480000 { 300 + compatible = "ti,am654-secure-proxy"; 301 + #mbox-cells = <1>; 302 + reg-names = "target_data", "rt", "scfg"; 303 + reg = <0x0 0x2a480000 0x0 0x80000>, 304 + <0x0 0x2a380000 0x0 0x80000>, 305 + <0x0 0x2a400000 0x0 0x80000>; 306 + /* 307 + * Marked Disabled: 308 + * Node is incomplete as it is meant for bootloaders and 309 + * firmware on non-MPU processors 310 + */ 311 + status = "disabled"; 479 312 }; 480 313 481 314 mcu_cpsw: ethernet@46000000 { ··· 654 457 power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>; 655 458 clocks = <&k3_clks 276 0>; 656 459 status = "disabled"; 460 + }; 461 + 462 + wkup_vtm0: temperature-sensor@42040000 { 463 + compatible = "ti,j721e-vtm"; 464 + reg = <0x00 0x42040000 0x00 0x350>, 465 + <0x00 0x42050000 0x00 0x350>, 466 + <0x00 0x43000300 0x00 0x10>; 467 + power-domains = <&k3_pds 154 TI_SCI_PD_EXCLUSIVE>; 468 + #thermal-sensor-cells = <1>; 657 469 }; 658 470 };
+132 -78
arch/arm64/boot/dts/ti/k3-j721e-sk.dts
··· 16 16 compatible = "ti,j721e-sk", "ti,j721e"; 17 17 model = "Texas Instruments J721E SK"; 18 18 19 + aliases { 20 + serial0 = &wkup_uart0; 21 + serial1 = &mcu_uart0; 22 + serial2 = &main_uart0; 23 + serial3 = &main_uart1; 24 + ethernet0 = &cpsw_port1; 25 + mmc1 = &main_sdhci1; 26 + }; 27 + 19 28 chosen { 20 29 stdout-path = "serial2:115200n8"; 21 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,0x02800000"; 22 30 }; 23 31 24 32 memory@80000000 { ··· 289 281 }; 290 282 291 283 &main_pmx0 { 292 - main_mmc1_pins_default: main-mmc1-pins-default { 284 + main_mmc1_pins_default: main-mmc1-default-pins { 293 285 pinctrl-single,pins = < 294 286 J721E_IOPAD(0x254, PIN_INPUT, 0) /* (R29) MMC1_CMD */ 295 287 J721E_IOPAD(0x250, PIN_INPUT, 0) /* (P25) MMC1_CLK */ ··· 302 294 >; 303 295 }; 304 296 305 - main_uart0_pins_default: main-uart0-pins-default { 297 + main_uart0_pins_default: main-uart0-default-pins { 306 298 pinctrl-single,pins = < 307 299 J721E_IOPAD(0x1f0, PIN_INPUT, 0) /* (AC2) UART0_CTSn */ 308 300 J721E_IOPAD(0x1f4, PIN_OUTPUT, 0) /* (AB1) UART0_RTSn */ ··· 311 303 >; 312 304 }; 313 305 314 - main_i2c0_pins_default: main-i2c0-pins-default { 306 + main_uart1_pins_default: main-uart1-default-pins { 307 + pinctrl-single,pins = < 308 + J721E_IOPAD(0x1f8, PIN_INPUT, 0) /* (AA4) UART1_RXD */ 309 + J721E_IOPAD(0x1fc, PIN_OUTPUT, 0) /* (AB4) UART1_TXD */ 310 + >; 311 + }; 312 + 313 + main_i2c0_pins_default: main-i2c0-default-pins { 315 314 pinctrl-single,pins = < 316 315 J721E_IOPAD(0x220, PIN_INPUT_PULLUP, 0) /* (AC5) I2C0_SCL */ 317 316 J721E_IOPAD(0x224, PIN_INPUT_PULLUP, 0) /* (AA5) I2C0_SDA */ 318 317 >; 319 318 }; 320 319 321 - main_i2c1_pins_default: main-i2c1-pins-default { 320 + main_i2c1_pins_default: main-i2c1-default-pins { 322 321 pinctrl-single,pins = < 323 322 J721E_IOPAD(0x228, PIN_INPUT_PULLUP, 0) /* (Y6) I2C1_SCL */ 324 323 J721E_IOPAD(0x22c, PIN_INPUT_PULLUP, 0) /* (AA6) I2C1_SDA */ 325 324 >; 326 325 }; 327 326 328 - main_i2c3_pins_default: main-i2c3-pins-default { 327 + main_i2c3_pins_default: main-i2c3-default-pins { 329 328 pinctrl-single,pins = < 330 329 J721E_IOPAD(0x270, PIN_INPUT_PULLUP, 4) /* (T26) MMC2_CLK.I2C3_SCL */ 331 330 J721E_IOPAD(0x274, PIN_INPUT_PULLUP, 4) /* (T25) MMC2_CMD.I2C3_SDA */ 332 331 >; 333 332 }; 334 333 335 - main_usbss0_pins_default: main-usbss0-pins-default { 334 + main_usbss0_pins_default: main-usbss0-default-pins { 336 335 pinctrl-single,pins = < 337 336 J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */ 338 337 J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */ 339 338 >; 340 339 }; 341 340 342 - main_usbss1_pins_default: main-usbss1-pins-default { 341 + main_usbss1_pins_default: main-usbss1-default-pins { 343 342 pinctrl-single,pins = < 344 343 J721E_IOPAD(0x214, PIN_OUTPUT, 4) /* (V4) MCAN1_TX.USB1_DRVVBUS */ 345 344 >; 346 345 }; 347 346 348 - dp0_pins_default: dp0-pins-default { 347 + dp0_pins_default: dp0-default-pins { 349 348 pinctrl-single,pins = < 350 349 J721E_IOPAD(0x1c4, PIN_INPUT, 5) /* SPI0_CS1.DP0_HPD */ 351 350 >; 352 351 }; 353 352 354 - dp_pwr_en_pins_default: dp-pwr-en-pins-default { 353 + dp_pwr_en_pins_default: dp-pwr-en-default-pins { 355 354 pinctrl-single,pins = < 356 355 J721E_IOPAD(0x1c0, PIN_INPUT, 7) /* (AA2) SPI0_CS0.GPIO0_111 */ 357 356 >; 358 357 }; 359 358 360 - dss_vout0_pins_default: dss-vout0-pins-default { 359 + dss_vout0_pins_default: dss-vout0-default-pins { 361 360 pinctrl-single,pins = < 362 361 J721E_IOPAD(0x58, PIN_OUTPUT, 10) /* (AE22) PRG1_PRU1_GPO0.VOUT0_DATA0 */ 363 362 J721E_IOPAD(0x5c, PIN_OUTPUT, 10) /* (AG23) PRG1_PRU1_GPO1.VOUT0_DATA1 */ ··· 397 382 >; 398 383 }; 399 384 400 - hdmi_hpd_pins_default: hdmi-hpd-pins-default { 385 + hdmi_hpd_pins_default: hdmi-hpd-default-pins { 401 386 pinctrl-single,pins = < 402 387 J721E_IOPAD(0x204, PIN_INPUT, 7) /* (AD5) UART1_RTSn.GPIO1_0 */ 403 388 >; 404 389 }; 405 390 406 - hdmi_pdn_pins_default: hdmi-pdn-pins-default { 391 + hdmi_pdn_pins_default: hdmi-pdn-default-pins { 407 392 pinctrl-single,pins = < 408 393 J721E_IOPAD(0x200, PIN_INPUT, 7) /* (AC4) UART1_CTSn.GPIO0_127 */ 409 394 >; 410 395 }; 411 396 412 397 /* Reset for M.2 E Key slot on PCIe0 */ 413 - ekey_reset_pins_default: ekey-reset-pns-pins-default { 398 + ekey_reset_pins_default: ekey-reset-pns-default-pins { 414 399 pinctrl-single,pins = < 415 400 J721E_IOPAD(0x124, PIN_INPUT, 7) /* (Y24) PRG0_PRU1_GPO9.GPIO0_72 */ 416 401 >; 417 402 }; 418 403 419 - main_i2c5_pins_default: main-i2c5-pins-default { 404 + main_i2c5_pins_default: main-i2c5-default-pins { 420 405 pinctrl-single,pins = < 421 406 J721E_IOPAD(0x150, PIN_INPUT_PULLUP, 2) /* (Y26) PRG0_MDIO0_MDIO.I2C5_SCL */ 422 407 J721E_IOPAD(0x154, PIN_INPUT_PULLUP, 2) /* (AA27) PRG0_MDIO0_MDC.I2C5_SDA */ 423 408 >; 424 409 }; 425 410 426 - rpi_header_gpio0_pins_default: rpi-header-gpio0-pins-default { 411 + rpi_header_gpio0_pins_default: rpi-header-gpio0-default-pins { 427 412 pinctrl-single,pins = < 428 413 J721E_IOPAD(0x01C, PIN_INPUT, 7) /* (AD22) PRG1_PRU0_GPO6.GPIO0_7 */ 429 414 J721E_IOPAD(0x120, PIN_INPUT, 7) /* (AA28) PRG0_PRU1_GPO8.GPIO0_71 */ ··· 451 436 >; 452 437 }; 453 438 454 - rpi_header_gpio1_pins_default: rpi-header-gpio1-pins-default { 439 + rpi_header_gpio1_pins_default: rpi-header-gpio1-default-pins { 455 440 pinctrl-single,pins = < 456 441 J721E_IOPAD(0x234, PIN_INPUT, 7) /* (U3) EXT_REFCLK1.GPIO1_12 */ 457 442 >; ··· 459 444 }; 460 445 461 446 &wkup_pmx0 { 462 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 447 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 463 448 pinctrl-single,pins = < 464 449 J721E_WKUP_IOPAD(0x84, PIN_INPUT, 0) /* (B24) MCU_RGMII1_RD0 */ 465 450 J721E_WKUP_IOPAD(0x80, PIN_INPUT, 0) /* (A24) MCU_RGMII1_RD1 */ ··· 476 461 >; 477 462 }; 478 463 479 - mcu_mdio_pins_default: mcu-mdio1-pins-default { 464 + mcu_mdio_pins_default: mcu-mdio1-default-pins { 480 465 pinctrl-single,pins = < 481 466 J721E_WKUP_IOPAD(0x8c, PIN_OUTPUT, 0) /* (F23) MCU_MDIO0_MDC */ 482 467 J721E_WKUP_IOPAD(0x88, PIN_INPUT, 0) /* (E23) MCU_MDIO0_MDIO */ 483 468 >; 484 469 }; 485 470 486 - mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 471 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 487 472 pinctrl-single,pins = < 488 473 J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 0) /* (E20) MCU_OSPI0_CLK */ 489 474 J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 0) /* (F19) MCU_OSPI0_CSn0 */ ··· 499 484 >; 500 485 }; 501 486 502 - vdd_mmc1_en_pins_default: vdd-mmc1-en-pins-default { 487 + vdd_mmc1_en_pins_default: vdd-mmc1-en-default-pins { 503 488 pinctrl-single,pins = < 504 489 J721E_WKUP_IOPAD(0xd0, PIN_OUTPUT, 7) /* (G27) WKUP_GPIO0_8 */ 505 490 >; 506 491 }; 507 492 508 - vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-pins-default { 493 + vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins { 509 494 pinctrl-single,pins = < 510 495 J721E_WKUP_IOPAD(0xd4, PIN_OUTPUT, 7) /* (G26) WKUP_GPIO0_9 */ 511 496 >; 512 497 }; 513 498 514 - wkup_i2c0_pins_default: wkup-i2c0-pins-default { 499 + wkup_uart0_pins_default: wkup-uart0-default-pins { 500 + pinctrl-single,pins = < 501 + J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */ 502 + J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */ 503 + >; 504 + }; 505 + 506 + mcu_uart0_pins_default: mcu-uart0-default-pins { 507 + pinctrl-single,pins = < 508 + J721E_WKUP_IOPAD(0xf0, PIN_INPUT, 2) /* (D26) MCU_I3C0_SCL.MCU_UART0_CTSn */ 509 + J721E_WKUP_IOPAD(0xf4, PIN_OUTPUT, 2)/* (D25) MCU_I3C0_SDA.MCU_UART0_RTSn */ 510 + J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */ 511 + J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0)/* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */ 512 + >; 513 + }; 514 + 515 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 515 516 pinctrl-single,pins = < 516 517 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */ 517 518 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */ ··· 535 504 }; 536 505 537 506 /* Reset for M.2 M Key slot on PCIe1 */ 538 - mkey_reset_pins_default: mkey-reset-pns-pins-default { 507 + mkey_reset_pins_default: mkey-reset-pns-default-pins { 539 508 pinctrl-single,pins = < 540 509 J721E_WKUP_IOPAD(0xdc, PIN_INPUT, 7) /* (H27) WKUP_GPIO0_11 */ 541 510 >; ··· 545 514 &wkup_uart0 { 546 515 /* Wakeup UART is used by System firmware */ 547 516 status = "reserved"; 517 + pinctrl-names = "default"; 518 + pinctrl-0 = <&wkup_uart0_pins_default>; 519 + }; 520 + 521 + &wkup_i2c0 { 522 + status = "okay"; 523 + pinctrl-names = "default"; 524 + pinctrl-0 = <&wkup_i2c0_pins_default>; 525 + clock-frequency = <400000>; 526 + 527 + eeprom@51 { 528 + /* AT24C512C-MAHM-T */ 529 + compatible = "atmel,24c512"; 530 + reg = <0x51>; 531 + }; 548 532 }; 549 533 550 534 &mcu_uart0 { 551 535 status = "okay"; 552 - /* Default pinmux */ 536 + pinctrl-names = "default"; 537 + pinctrl-0 = <&mcu_uart0_pins_default>; 553 538 }; 554 539 555 540 &main_uart0 { ··· 578 531 579 532 &main_uart1 { 580 533 status = "okay"; 581 - /* Default pinmux */ 534 + pinctrl-names = "default"; 535 + pinctrl-0 = <&main_uart1_pins_default>; 582 536 }; 583 537 584 538 &main_sdhci0 { ··· 617 569 cdns,tchsh-ns = <60>; 618 570 cdns,tslch-ns = <60>; 619 571 cdns,read-delay = <4>; 572 + 573 + partitions { 574 + compatible = "fixed-partitions"; 575 + #address-cells = <1>; 576 + #size-cells = <1>; 577 + 578 + partition@0 { 579 + label = "ospi.tiboot3"; 580 + reg = <0x0 0x80000>; 581 + }; 582 + 583 + partition@80000 { 584 + label = "ospi.tispl"; 585 + reg = <0x80000 0x200000>; 586 + }; 587 + 588 + partition@280000 { 589 + label = "ospi.u-boot"; 590 + reg = <0x280000 0x400000>; 591 + }; 592 + 593 + partition@680000 { 594 + label = "ospi.env"; 595 + reg = <0x680000 0x40000>; 596 + }; 597 + 598 + partition@6c0000 { 599 + label = "ospi.sysfw"; 600 + reg = <0x6c0000 0x100000>; 601 + }; 602 + 603 + partition@7c0000 { 604 + label = "ospi.env.backup"; 605 + reg = <0x7c0000 0x40000>; 606 + }; 607 + 608 + partition@800000 { 609 + label = "ospi.rootfs"; 610 + reg = <0x800000 0x37c0000>; 611 + }; 612 + 613 + partition@3fc0000 { 614 + label = "ospi.phypattern"; 615 + reg = <0x3fc0000 0x40000>; 616 + }; 617 + }; 620 618 }; 621 619 }; 622 620 ··· 875 781 876 782 &mcu_cpsw { 877 783 pinctrl-names = "default"; 878 - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 784 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 879 785 }; 880 786 881 787 &davinci_mdio { ··· 966 872 }; 967 873 968 874 &pcie0_rc { 875 + status = "okay"; 969 876 pinctrl-names = "default"; 970 877 pinctrl-0 = <&ekey_reset_pins_default>; 971 878 reset-gpios = <&main_gpio0 72 GPIO_ACTIVE_HIGH>; ··· 977 882 }; 978 883 979 884 &pcie1_rc { 885 + status = "okay"; 980 886 pinctrl-names = "default"; 981 887 pinctrl-0 = <&mkey_reset_pins_default>; 982 888 reset-gpios = <&wkup_gpio0 11 GPIO_ACTIVE_HIGH>; ··· 985 889 phys = <&serdes1_pcie_link>; 986 890 phy-names = "pcie-phy"; 987 891 num-lanes = <2>; 988 - }; 989 - 990 - &pcie2_rc { 991 - /* Unused */ 992 - status = "disabled"; 993 - }; 994 - 995 - &pcie0_ep { 996 - status = "disabled"; 997 - phys = <&serdes0_pcie_link>; 998 - phy-names = "pcie-phy"; 999 - num-lanes = <1>; 1000 - }; 1001 - 1002 - &pcie1_ep { 1003 - status = "disabled"; 1004 - phys = <&serdes1_pcie_link>; 1005 - phy-names = "pcie-phy"; 1006 - num-lanes = <2>; 1007 - }; 1008 - 1009 - &pcie2_ep { 1010 - /* Unused */ 1011 - status = "disabled"; 1012 - }; 1013 - 1014 - &pcie3_rc { 1015 - /* Unused */ 1016 - status = "disabled"; 1017 - }; 1018 - 1019 - &pcie3_ep { 1020 - /* Unused */ 1021 - status = "disabled"; 1022 - }; 1023 - 1024 - &icssg0_mdio { 1025 - status = "disabled"; 1026 - }; 1027 - 1028 - &icssg1_mdio { 1029 - status = "disabled"; 1030 892 }; 1031 893 1032 894 &ufs_wrapper { ··· 1062 1008 }; 1063 1009 1064 1010 &mcu_r5fss0_core0 { 1065 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 1011 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 1066 1012 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 1067 1013 <&mcu_r5fss0_core0_memory_region>; 1068 1014 }; 1069 1015 1070 1016 &mcu_r5fss0_core1 { 1071 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 1017 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; 1072 1018 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 1073 1019 <&mcu_r5fss0_core1_memory_region>; 1074 1020 }; 1075 1021 1076 1022 &main_r5fss0_core0 { 1077 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 1023 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; 1078 1024 memory-region = <&main_r5fss0_core0_dma_memory_region>, 1079 1025 <&main_r5fss0_core0_memory_region>; 1080 1026 }; 1081 1027 1082 1028 &main_r5fss0_core1 { 1083 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 1029 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; 1084 1030 memory-region = <&main_r5fss0_core1_dma_memory_region>, 1085 1031 <&main_r5fss0_core1_memory_region>; 1086 1032 }; 1087 1033 1088 1034 &main_r5fss1_core0 { 1089 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; 1035 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; 1090 1036 memory-region = <&main_r5fss1_core0_dma_memory_region>, 1091 1037 <&main_r5fss1_core0_memory_region>; 1092 1038 }; 1093 1039 1094 1040 &main_r5fss1_core1 { 1095 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; 1041 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; 1096 1042 memory-region = <&main_r5fss1_core1_dma_memory_region>, 1097 1043 <&main_r5fss1_core1_memory_region>; 1098 1044 }; 1099 1045 1100 1046 &c66_0 { 1101 - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; 1047 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; 1102 1048 memory-region = <&c66_0_dma_memory_region>, 1103 1049 <&c66_0_memory_region>; 1104 1050 }; 1105 1051 1106 1052 &c66_1 { 1107 - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; 1053 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; 1108 1054 memory-region = <&c66_1_dma_memory_region>, 1109 1055 <&c66_1_memory_region>; 1110 1056 }; 1111 1057 1112 1058 &c71_0 { 1113 - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; 1059 + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; 1114 1060 memory-region = <&c71_0_dma_memory_region>, 1115 1061 <&c71_0_memory_region>; 1116 1062 };
+156 -11
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 2 /* 3 3 * Copyright (C) 2019-2020 Texas Instruments Incorporated - https://www.ti.com/ 4 + * 5 + * Product Link: https://www.ti.com/tool/J721EXSOMXEVM 4 6 */ 5 7 6 8 /dts-v1/; ··· 145 143 }; 146 144 147 145 &wkup_pmx0 { 148 - wkup_i2c0_pins_default: wkup-i2c0-pins-default { 146 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 149 147 pinctrl-single,pins = < 150 148 J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */ 151 149 J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */ 152 150 >; 153 151 }; 154 152 155 - mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-pins-default { 153 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 156 154 pinctrl-single,pins = < 157 155 J721E_WKUP_IOPAD(0x0000, PIN_OUTPUT, 0) /* MCU_OSPI0_CLK */ 158 156 J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0) /* MCU_OSPI0_DQS */ ··· 166 164 J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0) /* MCU_OSPI0_D7 */ 167 165 J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */ 168 166 >; 167 + }; 168 + 169 + mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins { 170 + pinctrl-single,pins = < 171 + J721E_WKUP_IOPAD(0x0, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CK */ 172 + J721E_WKUP_IOPAD(0x4, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CKn */ 173 + J721E_WKUP_IOPAD(0x2c, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_CSn0 */ 174 + J721E_WKUP_IOPAD(0x54, PIN_OUTPUT, 3) /* MCU_HYPERBUS0_CSn1 */ 175 + J721E_WKUP_IOPAD(0x30, PIN_OUTPUT, 1) /* MCU_HYPERBUS0_RESETn */ 176 + J721E_WKUP_IOPAD(0x8, PIN_INPUT, 1) /* MCU_HYPERBUS0_RWDS */ 177 + J721E_WKUP_IOPAD(0xc, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ0 */ 178 + J721E_WKUP_IOPAD(0x10, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ1 */ 179 + J721E_WKUP_IOPAD(0x14, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ2 */ 180 + J721E_WKUP_IOPAD(0x18, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ3 */ 181 + J721E_WKUP_IOPAD(0x1c, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ4 */ 182 + J721E_WKUP_IOPAD(0x20, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ5 */ 183 + J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ6 */ 184 + J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* MCU_HYPERBUS0_DQ7 */ 185 + >; 186 + }; 187 + }; 188 + 189 + &wkup_i2c0 { 190 + status = "okay"; 191 + pinctrl-names = "default"; 192 + pinctrl-0 = <&wkup_i2c0_pins_default>; 193 + clock-frequency = <400000>; 194 + 195 + eeprom@50 { 196 + /* CAV24C256WE-GT3 */ 197 + compatible = "atmel,24c256"; 198 + reg = <0x50>; 199 + }; 200 + }; 201 + 202 + &wkup_i2c0 { 203 + status = "okay"; 204 + pinctrl-names = "default"; 205 + pinctrl-0 = <&wkup_i2c0_pins_default>; 206 + clock-frequency = <400000>; 207 + 208 + eeprom@50 { 209 + /* CAV24C256WE-GT3 */ 210 + compatible = "atmel,24c256"; 211 + reg = <0x50>; 169 212 }; 170 213 }; 171 214 ··· 229 182 cdns,tchsh-ns = <60>; 230 183 cdns,tslch-ns = <60>; 231 184 cdns,read-delay = <0>; 185 + 186 + partitions { 187 + compatible = "fixed-partitions"; 188 + #address-cells = <1>; 189 + #size-cells = <1>; 190 + 191 + partition@0 { 192 + label = "ospi.tiboot3"; 193 + reg = <0x0 0x80000>; 194 + }; 195 + 196 + partition@80000 { 197 + label = "ospi.tispl"; 198 + reg = <0x80000 0x200000>; 199 + }; 200 + 201 + partition@280000 { 202 + label = "ospi.u-boot"; 203 + reg = <0x280000 0x400000>; 204 + }; 205 + 206 + partition@680000 { 207 + label = "ospi.env"; 208 + reg = <0x680000 0x20000>; 209 + }; 210 + 211 + partition@6a0000 { 212 + label = "ospi.env.backup"; 213 + reg = <0x6a0000 0x20000>; 214 + }; 215 + 216 + partition@6c0000 { 217 + label = "ospi.sysfw"; 218 + reg = <0x6c0000 0x100000>; 219 + }; 220 + 221 + partition@800000 { 222 + label = "ospi.rootfs"; 223 + reg = <0x800000 0x37c0000>; 224 + }; 225 + 226 + partition@3fe0000 { 227 + label = "ospi.phypattern"; 228 + reg = <0x3fe0000 0x20000>; 229 + }; 230 + }; 231 + }; 232 + }; 233 + 234 + &hbmc { 235 + /* OSPI and HBMC are muxed inside FSS, Bootloader will enable 236 + * appropriate node based on board detection 237 + */ 238 + status = "disabled"; 239 + pinctrl-names = "default"; 240 + pinctrl-0 = <&mcu_fss0_hpb0_pins_default>; 241 + ranges = <0x00 0x00 0x05 0x00000000 0x4000000>, /* 64MB Flash on CS0 */ 242 + <0x01 0x00 0x05 0x04000000 0x800000>; /* 8MB RAM on CS1 */ 243 + 244 + flash@0,0 { 245 + compatible = "cypress,hyperflash", "cfi-flash"; 246 + reg = <0x00 0x00 0x4000000>; 247 + 248 + partitions { 249 + compatible = "fixed-partitions"; 250 + #address-cells = <1>; 251 + #size-cells = <1>; 252 + 253 + partition@0 { 254 + label = "hbmc.tiboot3"; 255 + reg = <0x0 0x80000>; 256 + }; 257 + 258 + partition@80000 { 259 + label = "hbmc.tispl"; 260 + reg = <0x80000 0x200000>; 261 + }; 262 + 263 + partition@280000 { 264 + label = "hbmc.u-boot"; 265 + reg = <0x280000 0x400000>; 266 + }; 267 + 268 + partition@680000 { 269 + label = "hbmc.env"; 270 + reg = <0x680000 0x40000>; 271 + }; 272 + 273 + partition@6c0000 { 274 + label = "hbmc.sysfw"; 275 + reg = <0x6c0000 0x100000>; 276 + }; 277 + 278 + partition@800000 { 279 + label = "hbmc.rootfs"; 280 + reg = <0x800000 0x3800000>; 281 + }; 282 + }; 232 283 }; 233 284 }; 234 285 ··· 401 256 }; 402 257 403 258 &mcu_r5fss0_core0 { 404 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 259 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core0>; 405 260 memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 406 261 <&mcu_r5fss0_core0_memory_region>; 407 262 }; 408 263 409 264 &mcu_r5fss0_core1 { 410 - mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 265 + mboxes = <&mailbox0_cluster0>, <&mbox_mcu_r5fss0_core1>; 411 266 memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 412 267 <&mcu_r5fss0_core1_memory_region>; 413 268 }; 414 269 415 270 &main_r5fss0_core0 { 416 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 271 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core0>; 417 272 memory-region = <&main_r5fss0_core0_dma_memory_region>, 418 273 <&main_r5fss0_core0_memory_region>; 419 274 }; 420 275 421 276 &main_r5fss0_core1 { 422 - mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 277 + mboxes = <&mailbox0_cluster1>, <&mbox_main_r5fss0_core1>; 423 278 memory-region = <&main_r5fss0_core1_dma_memory_region>, 424 279 <&main_r5fss0_core1_memory_region>; 425 280 }; 426 281 427 282 &main_r5fss1_core0 { 428 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; 283 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core0>; 429 284 memory-region = <&main_r5fss1_core0_dma_memory_region>, 430 285 <&main_r5fss1_core0_memory_region>; 431 286 }; 432 287 433 288 &main_r5fss1_core1 { 434 - mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; 289 + mboxes = <&mailbox0_cluster2>, <&mbox_main_r5fss1_core1>; 435 290 memory-region = <&main_r5fss1_core1_dma_memory_region>, 436 291 <&main_r5fss1_core1_memory_region>; 437 292 }; 438 293 439 294 &c66_0 { 440 - mboxes = <&mailbox0_cluster3 &mbox_c66_0>; 295 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_0>; 441 296 memory-region = <&c66_0_dma_memory_region>, 442 297 <&c66_0_memory_region>; 443 298 }; 444 299 445 300 &c66_1 { 446 - mboxes = <&mailbox0_cluster3 &mbox_c66_1>; 301 + mboxes = <&mailbox0_cluster3>, <&mbox_c66_1>; 447 302 memory-region = <&c66_1_dma_memory_region>, 448 303 <&c66_1_memory_region>; 449 304 }; 450 305 451 306 &c71_0 { 452 - mboxes = <&mailbox0_cluster4 &mbox_c71_0>; 307 + mboxes = <&mailbox0_cluster4>, <&mbox_c71_0>; 453 308 memory-region = <&c71_0_dma_memory_region>, 454 309 <&c71_0_memory_region>; 455 310 };
+75
arch/arm64/boot/dts/ti/k3-j721e-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + thermal_zones: thermal-zones { 6 + wkup_thermal: wkup-thermal { 7 + polling-delay-passive = <250>; /* milliseconds */ 8 + polling-delay = <500>; /* milliseconds */ 9 + thermal-sensors = <&wkup_vtm0 0>; 10 + 11 + trips { 12 + wkup_crit: wkup-crit { 13 + temperature = <125000>; /* milliCelsius */ 14 + hysteresis = <2000>; /* milliCelsius */ 15 + type = "critical"; 16 + }; 17 + }; 18 + }; 19 + 20 + mpu_thermal: mpu-thermal { 21 + polling-delay-passive = <250>; /* milliseconds */ 22 + polling-delay = <500>; /* milliseconds */ 23 + thermal-sensors = <&wkup_vtm0 1>; 24 + 25 + trips { 26 + mpu_crit: mpu-crit { 27 + temperature = <125000>; /* milliCelsius */ 28 + hysteresis = <2000>; /* milliCelsius */ 29 + type = "critical"; 30 + }; 31 + }; 32 + }; 33 + 34 + c7x_thermal: c7x-thermal { 35 + polling-delay-passive = <250>; /* milliseconds */ 36 + polling-delay = <500>; /* milliseconds */ 37 + thermal-sensors = <&wkup_vtm0 2>; 38 + 39 + trips { 40 + c7x_crit: c7x-crit { 41 + temperature = <125000>; /* milliCelsius */ 42 + hysteresis = <2000>; /* milliCelsius */ 43 + type = "critical"; 44 + }; 45 + }; 46 + }; 47 + 48 + gpu_thermal: gpu-thermal { 49 + polling-delay-passive = <250>; /* milliseconds */ 50 + polling-delay = <500>; /* milliseconds */ 51 + thermal-sensors = <&wkup_vtm0 3>; 52 + 53 + trips { 54 + gpu_crit: gpu-crit { 55 + temperature = <125000>; /* milliCelsius */ 56 + hysteresis = <2000>; /* milliCelsius */ 57 + type = "critical"; 58 + }; 59 + }; 60 + }; 61 + 62 + r5f_thermal: r5f-thermal { 63 + polling-delay-passive = <250>; /* milliseconds */ 64 + polling-delay = <500>; /* milliseconds */ 65 + thermal-sensors = <&wkup_vtm0 4>; 66 + 67 + trips { 68 + r5f_crit: r5f-crit { 69 + temperature = <125000>; /* milliCelsius */ 70 + hysteresis = <2000>; /* milliCelsius */ 71 + type = "critical"; 72 + }; 73 + }; 74 + }; 75 + };
+4 -19
arch/arm64/boot/dts/ti/k3-j721e.dtsi
··· 18 18 #address-cells = <2>; 19 19 #size-cells = <2>; 20 20 21 - aliases { 22 - serial0 = &wkup_uart0; 23 - serial1 = &mcu_uart0; 24 - serial2 = &main_uart0; 25 - serial3 = &main_uart1; 26 - serial4 = &main_uart2; 27 - serial5 = &main_uart3; 28 - serial6 = &main_uart4; 29 - serial7 = &main_uart5; 30 - serial8 = &main_uart6; 31 - serial9 = &main_uart7; 32 - serial10 = &main_uart8; 33 - serial11 = &main_uart9; 34 - ethernet0 = &cpsw_port1; 35 - mmc0 = &main_sdhci0; 36 - mmc1 = &main_sdhci1; 37 - mmc2 = &main_sdhci2; 38 - }; 39 - 40 21 chosen { }; 41 22 42 23 cpus { ··· 78 97 msmc_l3: l3-cache0 { 79 98 compatible = "cache"; 80 99 cache-level = <3>; 100 + cache-unified; 81 101 }; 82 102 83 103 firmware { ··· 113 131 #size-cells = <2>; 114 132 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ 115 133 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ 134 + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ 116 135 <0x00 0x00900000 0x00 0x00900000 0x00 0x00012000>, /* serdes */ 117 136 <0x00 0x00a40000 0x00 0x00a40000 0x00 0x00000800>, /* timesync router */ 118 137 <0x00 0x06000000 0x00 0x06000000 0x00 0x00400000>, /* USBSS0 */ ··· 167 184 <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; /* FSS OSPI1 data region 3*/ 168 185 }; 169 186 }; 187 + 188 + #include "k3-j721e-thermal.dtsi" 170 189 }; 171 190 172 191 /* Now include the peripherals for each bus segments */
+160 -53
arch/arm64/boot/dts/ti/k3-j721s2-common-proc-board.dts
··· 9 9 10 10 #include "k3-j721s2-som-p0.dtsi" 11 11 #include <dt-bindings/net/ti-dp83867.h> 12 + #include <dt-bindings/phy/phy-cadence.h> 13 + #include <dt-bindings/phy/phy.h> 14 + #include <dt-bindings/mux/ti-serdes.h> 12 15 13 16 / { 14 17 compatible = "ti,j721s2-evm", "ti,j721s2"; ··· 19 16 20 17 chosen { 21 18 stdout-path = "serial2:115200n8"; 22 - bootargs = "console=ttyS2,115200n8 earlycon=ns16550a,mmio32,2880000"; 23 19 }; 24 20 25 21 aliases { ··· 112 110 }; 113 111 114 112 &main_pmx0 { 115 - main_uart8_pins_default: main-uart8-pins-default { 113 + main_uart8_pins_default: main-uart8-default-pins { 116 114 pinctrl-single,pins = < 117 115 J721S2_IOPAD(0x040, PIN_INPUT, 14) /* (AC28) MCASP0_AXR0.UART8_CTSn */ 118 116 J721S2_IOPAD(0x044, PIN_OUTPUT, 14) /* (Y26) MCASP0_AXR1.UART8_RTSn */ ··· 121 119 >; 122 120 }; 123 121 124 - main_i2c3_pins_default: main-i2c3-pins-default { 122 + main_i2c3_pins_default: main-i2c3-default-pins { 125 123 pinctrl-single,pins = < 126 124 J721S2_IOPAD(0x064, PIN_INPUT_PULLUP, 13) /* (W28) MCAN0_TX.I2C3_SCL */ 127 125 J721S2_IOPAD(0x060, PIN_INPUT_PULLUP, 13) /* (AC27) MCASP2_AXR1.I2C3_SDA */ 128 126 >; 129 127 }; 130 128 131 - main_mmc1_pins_default: main-mmc1-pins-default { 129 + main_mmc1_pins_default: main-mmc1-default-pins { 132 130 pinctrl-single,pins = < 133 131 J721S2_IOPAD(0x104, PIN_INPUT, 0) /* (P23) MMC1_CLK */ 134 132 J721S2_IOPAD(0x108, PIN_INPUT, 0) /* (N24) MMC1_CMD */ ··· 141 139 >; 142 140 }; 143 141 144 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 142 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 145 143 pinctrl-single,pins = < 146 144 J721S2_IOPAD(0x020, PIN_INPUT, 7) /* (AA23) MCAN15_RX.GPIO0_8 */ 147 145 >; 148 146 }; 147 + 148 + main_usbss0_pins_default: main-usbss0-default-pins { 149 + pinctrl-single,pins = < 150 + J721S2_IOPAD(0x0ec, PIN_OUTPUT, 6) /* (AG25) TIMER_IO1.USB0_DRVVBUS */ 151 + >; 152 + }; 149 153 }; 150 154 151 - &wkup_pmx0 { 152 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 155 + &wkup_pmx2 { 156 + wkup_uart0_pins_default: wkup-uart0-default-pins { 153 157 pinctrl-single,pins = < 154 - J721S2_WKUP_IOPAD(0x094, PIN_INPUT, 0) /* (B22) MCU_RGMII1_RD0 */ 155 - J721S2_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B21) MCU_RGMII1_RD1 */ 156 - J721S2_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C22) MCU_RGMII1_RD2 */ 157 - J721S2_WKUP_IOPAD(0x088, PIN_INPUT, 0) /* (D23) MCU_RGMII1_RD3 */ 158 - J721S2_WKUP_IOPAD(0x084, PIN_INPUT, 0) /* (D22) MCU_RGMII1_RXC */ 159 - J721S2_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (E23) MCU_RGMII1_RX_CTL */ 160 - J721S2_WKUP_IOPAD(0x07c, PIN_OUTPUT, 0) /* (F23) MCU_RGMII1_TD0 */ 161 - J721S2_WKUP_IOPAD(0x078, PIN_OUTPUT, 0) /* (G22) MCU_RGMII1_TD1 */ 162 - J721S2_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (E21) MCU_RGMII1_TD2 */ 163 - J721S2_WKUP_IOPAD(0x070, PIN_OUTPUT, 0) /* (E22) MCU_RGMII1_TD3 */ 164 - J721S2_WKUP_IOPAD(0x080, PIN_OUTPUT, 0) /* (F21) MCU_RGMII1_TXC */ 165 - J721S2_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (F22) MCU_RGMII1_TX_CTL */ 158 + J721S2_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (E25) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 159 + J721S2_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (F28) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 160 + J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (D28) WKUP_UART0_RXD */ 161 + J721S2_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (D27) WKUP_UART0_TXD */ 166 162 >; 167 163 }; 168 164 169 - mcu_mdio_pins_default: mcu-mdio-pins-default { 165 + mcu_uart0_pins_default: mcu-uart0-default-pins { 170 166 pinctrl-single,pins = < 171 - J721S2_WKUP_IOPAD(0x09c, PIN_OUTPUT, 0) /* (A21) MCU_MDIO0_MDC */ 172 - J721S2_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (A22) MCU_MDIO0_MDIO */ 167 + J721S2_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B24) WKUP_GPIO0_14.MCU_UART0_CTSn */ 168 + J721S2_WKUP_IOPAD(0x094, PIN_OUTPUT, 0) /* (D25) WKUP_GPIO0_15.MCU_UART0_RTSn */ 169 + J721S2_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C24) WKUP_GPIO0_13.MCU_UART0_RXD */ 170 + J721S2_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (C25) WKUP_GPIO0_12.MCU_UART0_TXD */ 173 171 >; 174 172 }; 175 173 176 - mcu_mcan0_pins_default: mcu-mcan0-pins-default { 174 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 177 175 pinctrl-single,pins = < 178 - J721S2_WKUP_IOPAD(0x0bc, PIN_INPUT, 0) /* (E28) MCU_MCAN0_RX */ 179 - J721S2_WKUP_IOPAD(0x0b8, PIN_OUTPUT, 0) /* (E27) MCU_MCAN0_TX */ 176 + J721S2_WKUP_IOPAD(0x02c, PIN_INPUT, 0) /* (B22) MCU_RGMII1_RD0 */ 177 + J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B21) MCU_RGMII1_RD1 */ 178 + J721S2_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C22) MCU_RGMII1_RD2 */ 179 + J721S2_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D23) MCU_RGMII1_RD3 */ 180 + J721S2_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (D22) MCU_RGMII1_RXC */ 181 + J721S2_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (E23) MCU_RGMII1_RX_CTL */ 182 + J721S2_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (F23) MCU_RGMII1_TD0 */ 183 + J721S2_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (G22) MCU_RGMII1_TD1 */ 184 + J721S2_WKUP_IOPAD(0x00c, PIN_OUTPUT, 0) /* (E21) MCU_RGMII1_TD2 */ 185 + J721S2_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E22) MCU_RGMII1_TD3 */ 186 + J721S2_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (F21) MCU_RGMII1_TXC */ 187 + J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (F22) MCU_RGMII1_TX_CTL */ 180 188 >; 181 189 }; 182 190 183 - mcu_mcan1_pins_default: mcu-mcan1-pins-default { 191 + mcu_mdio_pins_default: mcu-mdio-default-pins { 184 192 pinctrl-single,pins = < 185 - J721S2_WKUP_IOPAD(0x0d4, PIN_INPUT, 0) /* (F26) WKUP_GPIO0_5.MCU_MCAN1_RX */ 186 - J721S2_WKUP_IOPAD(0x0d0, PIN_OUTPUT, 0) /* (C23) WKUP_GPIO0_4.MCU_MCAN1_TX */ 193 + J721S2_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A21) MCU_MDIO0_MDC */ 194 + J721S2_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (A22) MCU_MDIO0_MDIO */ 187 195 >; 188 196 }; 189 197 190 - mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-pins-default { 198 + mcu_mcan0_pins_default: mcu-mcan0-default-pins { 191 199 pinctrl-single,pins = < 192 - J721S2_WKUP_IOPAD(0x0c0, PIN_INPUT, 7) /* (D26) WKUP_GPIO0_0 */ 193 - J721S2_WKUP_IOPAD(0x0a8, PIN_INPUT, 7) /* (B25) MCU_SPI0_D1.WKUP_GPIO0_69 */ 200 + J721S2_WKUP_IOPAD(0x054, PIN_INPUT, 0) /* (E28) MCU_MCAN0_RX */ 201 + J721S2_WKUP_IOPAD(0x050, PIN_OUTPUT, 0) /* (E27) MCU_MCAN0_TX */ 194 202 >; 195 203 }; 196 204 197 - mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-pins-default { 205 + mcu_mcan1_pins_default: mcu-mcan1-default-pins { 198 206 pinctrl-single,pins = < 199 - J721S2_WKUP_IOPAD(0x0c8, PIN_INPUT, 7) /* (C28) WKUP_GPIO0_2 */ 207 + J721S2_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (F26) WKUP_GPIO0_5.MCU_MCAN1_RX */ 208 + J721S2_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /*(C23) WKUP_GPIO0_4.MCU_MCAN1_TX */ 200 209 >; 201 210 }; 202 211 203 - mcu_adc0_pins_default: mcu-adc0-pins-default { 212 + mcu_mcan0_gpio_pins_default: mcu-mcan0-gpio-default-pins { 204 213 pinctrl-single,pins = < 205 - J721S2_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (L25) MCU_ADC0_AIN0 */ 206 - J721S2_WKUP_IOPAD(0x138, PIN_INPUT, 0) /* (K25) MCU_ADC0_AIN1 */ 207 - J721S2_WKUP_IOPAD(0x13c, PIN_INPUT, 0) /* (M24) MCU_ADC0_AIN2 */ 208 - J721S2_WKUP_IOPAD(0x140, PIN_INPUT, 0) /* (L24) MCU_ADC0_AIN3 */ 209 - J721S2_WKUP_IOPAD(0x144, PIN_INPUT, 0) /* (L27) MCU_ADC0_AIN4 */ 210 - J721S2_WKUP_IOPAD(0x148, PIN_INPUT, 0) /* (K24) MCU_ADC0_AIN5 */ 211 - J721S2_WKUP_IOPAD(0x14c, PIN_INPUT, 0) /* (M27) MCU_ADC0_AIN6 */ 212 - J721S2_WKUP_IOPAD(0x150, PIN_INPUT, 0) /* (M26) MCU_ADC0_AIN7 */ 214 + J721S2_WKUP_IOPAD(0x058, PIN_INPUT, 7) /* (D26) WKUP_GPIO0_0 */ 215 + J721S2_WKUP_IOPAD(0x040, PIN_INPUT, 7) /* (B25) MCU_SPI0_D1.WKUP_GPIO0_69 */ 213 216 >; 214 217 }; 215 218 216 - mcu_adc1_pins_default: mcu-adc1-pins-default { 219 + mcu_mcan1_gpio_pins_default: mcu-mcan1-gpio-default-pins { 217 220 pinctrl-single,pins = < 218 - J721S2_WKUP_IOPAD(0x154, PIN_INPUT, 0) /* (P25) MCU_ADC1_AIN0 */ 219 - J721S2_WKUP_IOPAD(0x158, PIN_INPUT, 0) /* (R25) MCU_ADC1_AIN1 */ 220 - J721S2_WKUP_IOPAD(0x15c, PIN_INPUT, 0) /* (P28) MCU_ADC1_AIN2 */ 221 - J721S2_WKUP_IOPAD(0x160, PIN_INPUT, 0) /* (P27) MCU_ADC1_AIN3 */ 222 - J721S2_WKUP_IOPAD(0x164, PIN_INPUT, 0) /* (N25) MCU_ADC1_AIN4 */ 223 - J721S2_WKUP_IOPAD(0x168, PIN_INPUT, 0) /* (P26) MCU_ADC1_AIN5 */ 224 - J721S2_WKUP_IOPAD(0x16c, PIN_INPUT, 0) /* (N26) MCU_ADC1_AIN6 */ 225 - J721S2_WKUP_IOPAD(0x170, PIN_INPUT, 0) /* (N27) MCU_ADC1_AIN7 */ 221 + J721S2_WKUP_IOPAD(0x060, PIN_INPUT, 7) /* (C28) WKUP_GPIO0_2 */ 222 + >; 223 + }; 224 + 225 + mcu_adc0_pins_default: mcu-adc0-default-pins { 226 + pinctrl-single,pins = < 227 + J721S2_WKUP_IOPAD(0x0cc, PIN_INPUT, 0) /* (L25) MCU_ADC0_AIN0 */ 228 + J721S2_WKUP_IOPAD(0x0d0, PIN_INPUT, 0) /* (K25) MCU_ADC0_AIN1 */ 229 + J721S2_WKUP_IOPAD(0x0d4, PIN_INPUT, 0) /* (M24) MCU_ADC0_AIN2 */ 230 + J721S2_WKUP_IOPAD(0x0d8, PIN_INPUT, 0) /* (L24) MCU_ADC0_AIN3 */ 231 + J721S2_WKUP_IOPAD(0x0dc, PIN_INPUT, 0) /* (L27) MCU_ADC0_AIN4 */ 232 + J721S2_WKUP_IOPAD(0x0e0, PIN_INPUT, 0) /* (K24) MCU_ADC0_AIN5 */ 233 + J721S2_WKUP_IOPAD(0x0e4, PIN_INPUT, 0) /* (M27) MCU_ADC0_AIN6 */ 234 + J721S2_WKUP_IOPAD(0x0e8, PIN_INPUT, 0) /* (M26) MCU_ADC0_AIN7 */ 235 + >; 236 + }; 237 + 238 + mcu_adc1_pins_default: mcu-adc1-default-pins { 239 + pinctrl-single,pins = < 240 + J721S2_WKUP_IOPAD(0x0ec, PIN_INPUT, 0) /* (P25) MCU_ADC1_AIN0 */ 241 + J721S2_WKUP_IOPAD(0x0f0, PIN_INPUT, 0) /* (R25) MCU_ADC1_AIN1 */ 242 + J721S2_WKUP_IOPAD(0x0f4, PIN_INPUT, 0) /* (P28) MCU_ADC1_AIN2 */ 243 + J721S2_WKUP_IOPAD(0x0f8, PIN_INPUT, 0) /* (P27) MCU_ADC1_AIN3 */ 244 + J721S2_WKUP_IOPAD(0x0fc, PIN_INPUT, 0) /* (N25) MCU_ADC1_AIN4 */ 245 + J721S2_WKUP_IOPAD(0x100, PIN_INPUT, 0) /* (P26) MCU_ADC1_AIN5 */ 246 + J721S2_WKUP_IOPAD(0x104, PIN_INPUT, 0) /* (N26) MCU_ADC1_AIN6 */ 247 + J721S2_WKUP_IOPAD(0x108, PIN_INPUT, 0) /* (N27) MCU_ADC1_AIN7 */ 248 + >; 249 + }; 250 + 251 + mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-default-pins { 252 + pinctrl-single,pins = < 253 + J721S2_WKUP_IOPAD(0x040, PIN_OUTPUT, 0) /* (A19) MCU_OSPI1_CLK */ 254 + J721S2_WKUP_IOPAD(0x05c, PIN_OUTPUT, 0) /* (D20) MCU_OSPI1_CSn0 */ 255 + J721S2_WKUP_IOPAD(0x060, PIN_OUTPUT, 0) /* (C21) MCU_OSPI1_CSn1 */ 256 + J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (D21) MCU_OSPI1_D0 */ 257 + J721S2_WKUP_IOPAD(0x050, PIN_INPUT, 0) /* (G20) MCU_OSPI1_D1 */ 258 + J721S2_WKUP_IOPAD(0x054, PIN_INPUT, 0) /* (C20) MCU_OSPI1_D2 */ 259 + J721S2_WKUP_IOPAD(0x058, PIN_INPUT, 0) /* (A20) MCU_OSPI1_D3 */ 260 + J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (B19) MCU_OSPI1_DQS */ 261 + J721S2_WKUP_IOPAD(0x044, PIN_INPUT, 0) /* (B20) MCU_OSPI1_LBCLKO */ 226 262 >; 227 263 }; 228 264 }; ··· 283 243 284 244 &wkup_uart0 { 285 245 status = "reserved"; 246 + pinctrl-names = "default"; 247 + pinctrl-0 = <&wkup_uart0_pins_default>; 286 248 }; 287 249 288 250 &mcu_uart0 { 289 251 status = "okay"; 290 - /* Default pinmux */ 252 + pinctrl-names = "default"; 253 + pinctrl-0 = <&mcu_uart0_pins_default>; 291 254 }; 292 255 293 256 &main_uart8 { ··· 348 305 349 306 &mcu_cpsw { 350 307 pinctrl-names = "default"; 351 - pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>; 308 + pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; 352 309 }; 353 310 354 311 &davinci_mdio { ··· 363 320 &cpsw_port1 { 364 321 phy-mode = "rgmii-rxid"; 365 322 phy-handle = <&phy0>; 323 + }; 324 + 325 + &serdes_ln_ctrl { 326 + idle-states = <J721S2_SERDES0_LANE0_PCIE1_LANE0>, <J721S2_SERDES0_LANE1_USB>, 327 + <J721S2_SERDES0_LANE2_EDP_LANE2>, <J721S2_SERDES0_LANE3_EDP_LANE3>; 328 + }; 329 + 330 + &serdes_refclk { 331 + clock-frequency = <100000000>; 332 + }; 333 + 334 + &serdes0 { 335 + status = "okay"; 336 + serdes0_pcie_link: phy@0 { 337 + reg = <0>; 338 + cdns,num-lanes = <1>; 339 + #phy-cells = <0>; 340 + cdns,phy-type = <PHY_TYPE_PCIE>; 341 + resets = <&serdes_wiz0 1>; 342 + }; 343 + }; 344 + 345 + &usb_serdes_mux { 346 + idle-states = <1>; /* USB0 to SERDES lane 1 */ 347 + }; 348 + 349 + &usbss0 { 350 + status = "okay"; 351 + pinctrl-0 = <&main_usbss0_pins_default>; 352 + pinctrl-names = "default"; 353 + ti,vbus-divider; 354 + ti,usb2-only; 355 + }; 356 + 357 + &usb0 { 358 + dr_mode = "otg"; 359 + maximum-speed = "high-speed"; 360 + }; 361 + 362 + &ospi1 { 363 + status = "okay"; 364 + pinctrl-names = "default"; 365 + pinctrl-0 = <&mcu_fss0_ospi1_pins_default>; 366 + 367 + flash@0{ 368 + compatible = "jedec,spi-nor"; 369 + reg = <0x0>; 370 + spi-tx-bus-width = <1>; 371 + spi-rx-bus-width = <4>; 372 + spi-max-frequency = <40000000>; 373 + cdns,tshsl-ns = <60>; 374 + cdns,tsd2d-ns = <60>; 375 + cdns,tchsh-ns = <60>; 376 + cdns,tslch-ns = <60>; 377 + cdns,read-delay = <2>; 378 + }; 379 + }; 380 + 381 + &pcie1_rc { 382 + status = "okay"; 383 + reset-gpios = <&exp1 2 GPIO_ACTIVE_HIGH>; 384 + phys = <&serdes0_pcie_link>; 385 + phy-names = "pcie-phy"; 386 + num-lanes = <1>; 366 387 }; 367 388 368 389 &mcu_mcan0 {
+405
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
··· 5 5 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 6 6 */ 7 7 8 + #include <dt-bindings/phy/phy-cadence.h> 9 + #include <dt-bindings/phy/phy-ti.h> 10 + 11 + / { 12 + serdes_refclk: clock-cmnrefclk { 13 + #clock-cells = <0>; 14 + compatible = "fixed-clock"; 15 + clock-frequency = <0>; 16 + }; 17 + }; 18 + 8 19 &cbass_main { 9 20 msmc_ram: sram@70000000 { 10 21 compatible = "mmio-sram"; ··· 34 23 35 24 l3cache-sram@200000 { 36 25 reg = <0x200000 0x200000>; 26 + }; 27 + }; 28 + 29 + scm_conf: syscon@104000 { 30 + compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; 31 + reg = <0x00 0x00104000 0x00 0x18000>; 32 + #address-cells = <1>; 33 + #size-cells = <1>; 34 + ranges = <0x00 0x00 0x00104000 0x18000>; 35 + 36 + usb_serdes_mux: mux-controller@0 { 37 + compatible = "mmio-mux"; 38 + reg = <0x0 0x4>; 39 + #mux-control-cells = <1>; 40 + mux-reg-masks = <0x0 0x8000000>; /* USB0 to SERDES0 lane 1/3 mux */ 41 + }; 42 + 43 + serdes_ln_ctrl: mux-controller@80 { 44 + compatible = "mmio-mux"; 45 + reg = <0x80 0x10>; 46 + #mux-control-cells = <1>; 47 + mux-reg-masks = <0x80 0x3>, <0x84 0x3>, /* SERDES0 lane0/1 select */ 48 + <0x88 0x3>, <0x8c 0x3>; /* SERDES0 lane2/3 select */ 37 49 }; 38 50 }; 39 51 ··· 106 72 pinctrl-single,function-mask = <0xffffffff>; 107 73 }; 108 74 75 + /* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */ 76 + main_timerio_input: pinctrl@104200 { 77 + compatible = "pinctrl-single"; 78 + reg = <0x00 0x104200 0x00 0x50>; 79 + #pinctrl-cells = <1>; 80 + pinctrl-single,register-width = <32>; 81 + pinctrl-single,function-mask = <0x00000007>; 82 + }; 83 + 84 + /* TIMERIO pad output CTCTRLMMR_TIMERIO*_CTRL registers */ 85 + main_timerio_output: pinctrl@104280 { 86 + compatible = "pinctrl-single"; 87 + reg = <0x00 0x104280 0x00 0x20>; 88 + #pinctrl-cells = <1>; 89 + pinctrl-single,register-width = <32>; 90 + pinctrl-single,function-mask = <0x0000001f>; 91 + }; 92 + 109 93 main_crypto: crypto@4e00000 { 110 94 compatible = "ti,j721e-sa2ul"; 111 95 reg = <0x00 0x04e00000 0x00 0x1200>; ··· 141 89 reg = <0x00 0x04e10000 0x00 0x7d>; 142 90 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 143 91 }; 92 + }; 93 + 94 + main_timer0: timer@2400000 { 95 + compatible = "ti,am654-timer"; 96 + reg = <0x00 0x2400000 0x00 0x400>; 97 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 98 + clocks = <&k3_clks 63 1>; 99 + clock-names = "fck"; 100 + assigned-clocks = <&k3_clks 63 1>; 101 + assigned-clock-parents = <&k3_clks 63 2>; 102 + power-domains = <&k3_pds 63 TI_SCI_PD_EXCLUSIVE>; 103 + ti,timer-pwm; 104 + }; 105 + 106 + main_timer1: timer@2410000 { 107 + compatible = "ti,am654-timer"; 108 + reg = <0x00 0x2410000 0x00 0x400>; 109 + interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; 110 + clocks = <&k3_clks 64 1>; 111 + clock-names = "fck"; 112 + assigned-clocks = <&k3_clks 64 1>; 113 + assigned-clock-parents = <&k3_clks 64 2>; 114 + power-domains = <&k3_pds 64 TI_SCI_PD_EXCLUSIVE>; 115 + ti,timer-pwm; 116 + }; 117 + 118 + main_timer2: timer@2420000 { 119 + compatible = "ti,am654-timer"; 120 + reg = <0x00 0x2420000 0x00 0x400>; 121 + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 122 + clocks = <&k3_clks 65 1>; 123 + clock-names = "fck"; 124 + assigned-clocks = <&k3_clks 65 1>; 125 + assigned-clock-parents = <&k3_clks 65 2>; 126 + power-domains = <&k3_pds 65 TI_SCI_PD_EXCLUSIVE>; 127 + ti,timer-pwm; 128 + }; 129 + 130 + main_timer3: timer@2430000 { 131 + compatible = "ti,am654-timer"; 132 + reg = <0x00 0x2430000 0x00 0x400>; 133 + interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 134 + clocks = <&k3_clks 66 1>; 135 + clock-names = "fck"; 136 + assigned-clocks = <&k3_clks 66 1>; 137 + assigned-clock-parents = <&k3_clks 66 2>; 138 + power-domains = <&k3_pds 66 TI_SCI_PD_EXCLUSIVE>; 139 + ti,timer-pwm; 140 + }; 141 + 142 + main_timer4: timer@2440000 { 143 + compatible = "ti,am654-timer"; 144 + reg = <0x00 0x2440000 0x00 0x400>; 145 + interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; 146 + clocks = <&k3_clks 67 1>; 147 + clock-names = "fck"; 148 + assigned-clocks = <&k3_clks 67 1>; 149 + assigned-clock-parents = <&k3_clks 67 2>; 150 + power-domains = <&k3_pds 67 TI_SCI_PD_EXCLUSIVE>; 151 + ti,timer-pwm; 152 + }; 153 + 154 + main_timer5: timer@2450000 { 155 + compatible = "ti,am654-timer"; 156 + reg = <0x00 0x2450000 0x00 0x400>; 157 + interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 158 + clocks = <&k3_clks 68 1>; 159 + clock-names = "fck"; 160 + assigned-clocks = <&k3_clks 68 1>; 161 + assigned-clock-parents = <&k3_clks 68 2>; 162 + power-domains = <&k3_pds 68 TI_SCI_PD_EXCLUSIVE>; 163 + ti,timer-pwm; 164 + }; 165 + 166 + main_timer6: timer@2460000 { 167 + compatible = "ti,am654-timer"; 168 + reg = <0x00 0x2460000 0x00 0x400>; 169 + interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>; 170 + clocks = <&k3_clks 69 1>; 171 + clock-names = "fck"; 172 + assigned-clocks = <&k3_clks 69 1>; 173 + assigned-clock-parents = <&k3_clks 69 2>; 174 + power-domains = <&k3_pds 69 TI_SCI_PD_EXCLUSIVE>; 175 + ti,timer-pwm; 176 + }; 177 + 178 + main_timer7: timer@2470000 { 179 + compatible = "ti,am654-timer"; 180 + reg = <0x00 0x2470000 0x00 0x400>; 181 + interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>; 182 + clocks = <&k3_clks 70 1>; 183 + clock-names = "fck"; 184 + assigned-clocks = <&k3_clks 70 1>; 185 + assigned-clock-parents = <&k3_clks 70 2>; 186 + power-domains = <&k3_pds 70 TI_SCI_PD_EXCLUSIVE>; 187 + ti,timer-pwm; 188 + }; 189 + 190 + main_timer8: timer@2480000 { 191 + compatible = "ti,am654-timer"; 192 + reg = <0x00 0x2480000 0x00 0x400>; 193 + interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; 194 + clocks = <&k3_clks 71 1>; 195 + clock-names = "fck"; 196 + assigned-clocks = <&k3_clks 71 1>; 197 + assigned-clock-parents = <&k3_clks 71 2>; 198 + power-domains = <&k3_pds 71 TI_SCI_PD_EXCLUSIVE>; 199 + ti,timer-pwm; 200 + }; 201 + 202 + main_timer9: timer@2490000 { 203 + compatible = "ti,am654-timer"; 204 + reg = <0x00 0x2490000 0x00 0x400>; 205 + interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; 206 + clocks = <&k3_clks 72 1>; 207 + clock-names = "fck"; 208 + assigned-clocks = <&k3_clks 72 1>; 209 + assigned-clock-parents = <&k3_clks 72 2>; 210 + power-domains = <&k3_pds 72 TI_SCI_PD_EXCLUSIVE>; 211 + ti,timer-pwm; 212 + }; 213 + 214 + main_timer10: timer@24a0000 { 215 + compatible = "ti,am654-timer"; 216 + reg = <0x00 0x24a0000 0x00 0x400>; 217 + interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>; 218 + clocks = <&k3_clks 73 1>; 219 + clock-names = "fck"; 220 + assigned-clocks = <&k3_clks 73 1>; 221 + assigned-clock-parents = <&k3_clks 73 2>; 222 + power-domains = <&k3_pds 73 TI_SCI_PD_EXCLUSIVE>; 223 + ti,timer-pwm; 224 + }; 225 + 226 + main_timer11: timer@24b0000 { 227 + compatible = "ti,am654-timer"; 228 + reg = <0x00 0x24b0000 0x00 0x400>; 229 + interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>; 230 + clocks = <&k3_clks 74 1>; 231 + clock-names = "fck"; 232 + assigned-clocks = <&k3_clks 74 1>; 233 + assigned-clock-parents = <&k3_clks 74 2>; 234 + power-domains = <&k3_pds 74 TI_SCI_PD_EXCLUSIVE>; 235 + ti,timer-pwm; 236 + }; 237 + 238 + main_timer12: timer@24c0000 { 239 + compatible = "ti,am654-timer"; 240 + reg = <0x00 0x24c0000 0x00 0x400>; 241 + interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>; 242 + clocks = <&k3_clks 75 1>; 243 + clock-names = "fck"; 244 + assigned-clocks = <&k3_clks 75 1>; 245 + assigned-clock-parents = <&k3_clks 75 2>; 246 + power-domains = <&k3_pds 75 TI_SCI_PD_EXCLUSIVE>; 247 + ti,timer-pwm; 248 + }; 249 + 250 + main_timer13: timer@24d0000 { 251 + compatible = "ti,am654-timer"; 252 + reg = <0x00 0x24d0000 0x00 0x400>; 253 + interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>; 254 + clocks = <&k3_clks 76 1>; 255 + clock-names = "fck"; 256 + assigned-clocks = <&k3_clks 76 1>; 257 + assigned-clock-parents = <&k3_clks 76 2>; 258 + power-domains = <&k3_pds 76 TI_SCI_PD_EXCLUSIVE>; 259 + ti,timer-pwm; 260 + }; 261 + 262 + main_timer14: timer@24e0000 { 263 + compatible = "ti,am654-timer"; 264 + reg = <0x00 0x24e0000 0x00 0x400>; 265 + interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 266 + clocks = <&k3_clks 77 1>; 267 + clock-names = "fck"; 268 + assigned-clocks = <&k3_clks 77 1>; 269 + assigned-clock-parents = <&k3_clks 77 2>; 270 + power-domains = <&k3_pds 77 TI_SCI_PD_EXCLUSIVE>; 271 + ti,timer-pwm; 272 + }; 273 + 274 + main_timer15: timer@24f0000 { 275 + compatible = "ti,am654-timer"; 276 + reg = <0x00 0x24f0000 0x00 0x400>; 277 + interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 278 + clocks = <&k3_clks 78 1>; 279 + clock-names = "fck"; 280 + assigned-clocks = <&k3_clks 78 1>; 281 + assigned-clock-parents = <&k3_clks 78 2>; 282 + power-domains = <&k3_pds 78 TI_SCI_PD_EXCLUSIVE>; 283 + ti,timer-pwm; 284 + }; 285 + 286 + main_timer16: timer@2500000 { 287 + compatible = "ti,am654-timer"; 288 + reg = <0x00 0x2500000 0x00 0x400>; 289 + interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>; 290 + clocks = <&k3_clks 79 1>; 291 + clock-names = "fck"; 292 + assigned-clocks = <&k3_clks 79 1>; 293 + assigned-clock-parents = <&k3_clks 79 2>; 294 + power-domains = <&k3_pds 79 TI_SCI_PD_EXCLUSIVE>; 295 + ti,timer-pwm; 296 + }; 297 + 298 + main_timer17: timer@2510000 { 299 + compatible = "ti,am654-timer"; 300 + reg = <0x00 0x2510000 0x00 0x400>; 301 + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; 302 + clocks = <&k3_clks 80 1>; 303 + clock-names = "fck"; 304 + assigned-clocks = <&k3_clks 80 1>; 305 + assigned-clock-parents = <&k3_clks 80 2>; 306 + power-domains = <&k3_pds 80 TI_SCI_PD_EXCLUSIVE>; 307 + ti,timer-pwm; 308 + }; 309 + 310 + main_timer18: timer@2520000 { 311 + compatible = "ti,am654-timer"; 312 + reg = <0x00 0x2520000 0x00 0x400>; 313 + interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>; 314 + clocks = <&k3_clks 81 1>; 315 + clock-names = "fck"; 316 + assigned-clocks = <&k3_clks 81 1>; 317 + assigned-clock-parents = <&k3_clks 81 2>; 318 + power-domains = <&k3_pds 81 TI_SCI_PD_EXCLUSIVE>; 319 + ti,timer-pwm; 320 + }; 321 + 322 + main_timer19: timer@2530000 { 323 + compatible = "ti,am654-timer"; 324 + reg = <0x00 0x2530000 0x00 0x400>; 325 + interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; 326 + clocks = <&k3_clks 82 1>; 327 + clock-names = "fck"; 328 + assigned-clocks = <&k3_clks 82 1>; 329 + assigned-clock-parents = <&k3_clks 82 2>; 330 + power-domains = <&k3_pds 82 TI_SCI_PD_EXCLUSIVE>; 331 + ti,timer-pwm; 144 332 }; 145 333 146 334 main_uart0: serial@2800000 { ··· 1030 738 reg-names = "cpts"; 1031 739 clocks = <&k3_clks 226 5>; 1032 740 clock-names = "cpts"; 741 + assigned-clocks = <&k3_clks 226 5>; /* NAVSS0_CPTS_0_RCLK */ 742 + assigned-clock-parents = <&k3_clks 226 7>; /* MAIN_0_HSDIVOUT6_CLK */ 1033 743 interrupts-extended = <&main_navss_intr 391>; 1034 744 interrupt-names = "cpts"; 1035 745 ti,cpts-periodic-outputs = <6>; 1036 746 ti,cpts-ext-ts-inputs = <8>; 747 + }; 748 + }; 749 + 750 + usbss0: cdns-usb@4104000 { 751 + compatible = "ti,j721e-usb"; 752 + reg = <0x00 0x04104000 0x00 0x100>; 753 + clocks = <&k3_clks 360 16>, <&k3_clks 360 15>; 754 + clock-names = "ref", "lpm"; 755 + assigned-clocks = <&k3_clks 360 16>; /* USB2_REFCLK */ 756 + assigned-clock-parents = <&k3_clks 360 17>; 757 + power-domains = <&k3_pds 360 TI_SCI_PD_EXCLUSIVE>; 758 + #address-cells = <2>; 759 + #size-cells = <2>; 760 + ranges; 761 + dma-coherent; 762 + 763 + status = "disabled"; /* Needs pinmux */ 764 + 765 + usb0: usb@6000000 { 766 + compatible = "cdns,usb3"; 767 + reg = <0x00 0x06000000 0x00 0x10000>, 768 + <0x00 0x06010000 0x00 0x10000>, 769 + <0x00 0x06020000 0x00 0x10000>; 770 + reg-names = "otg", "xhci", "dev"; 771 + interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, 772 + <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 773 + <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; 774 + interrupt-names = "host", "peripheral", "otg"; 775 + maximum-speed = "super-speed"; 776 + dr_mode = "otg"; 777 + }; 778 + }; 779 + 780 + serdes_wiz0: wiz@5060000 { 781 + compatible = "ti,j721s2-wiz-10g"; 782 + #address-cells = <1>; 783 + #size-cells = <1>; 784 + power-domains = <&k3_pds 365 TI_SCI_PD_EXCLUSIVE>; 785 + clocks = <&k3_clks 365 0>, <&k3_clks 365 3>, <&serdes_refclk>; 786 + clock-names = "fck", "core_ref_clk", "ext_ref_clk"; 787 + num-lanes = <4>; 788 + #reset-cells = <1>; 789 + #clock-cells = <1>; 790 + ranges = <0x5060000 0x0 0x5060000 0x10000>; 791 + 792 + assigned-clocks = <&k3_clks 365 3>; 793 + assigned-clock-parents = <&k3_clks 365 7>; 794 + 795 + serdes0: serdes@5060000 { 796 + compatible = "ti,j721e-serdes-10g"; 797 + reg = <0x05060000 0x00010000>; 798 + reg-names = "torrent_phy"; 799 + resets = <&serdes_wiz0 0>; 800 + reset-names = "torrent_reset"; 801 + clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>, 802 + <&serdes_wiz0 TI_WIZ_PHY_EN_REFCLK>; 803 + clock-names = "refclk", "phy_en_refclk"; 804 + assigned-clocks = <&serdes_wiz0 TI_WIZ_PLL0_REFCLK>, 805 + <&serdes_wiz0 TI_WIZ_PLL1_REFCLK>, 806 + <&serdes_wiz0 TI_WIZ_REFCLK_DIG>; 807 + assigned-clock-parents = <&k3_clks 365 3>, 808 + <&k3_clks 365 3>, 809 + <&k3_clks 365 3>; 810 + #address-cells = <1>; 811 + #size-cells = <0>; 812 + #clock-cells = <1>; 813 + 814 + status = "disabled"; /* Needs lane config */ 815 + }; 816 + }; 817 + 818 + pcie1_rc: pcie@2910000 { 819 + compatible = "ti,j7200-pcie-host", "ti,j721e-pcie-host"; 820 + reg = <0x00 0x02910000 0x00 0x1000>, 821 + <0x00 0x02917000 0x00 0x400>, 822 + <0x00 0x0d800000 0x00 0x800000>, 823 + <0x00 0x18000000 0x00 0x1000>; 824 + reg-names = "intd_cfg", "user_cfg", "reg", "cfg"; 825 + interrupt-names = "link_state"; 826 + interrupts = <GIC_SPI 330 IRQ_TYPE_EDGE_RISING>; 827 + device_type = "pci"; 828 + ti,syscon-pcie-ctrl = <&scm_conf 0x074>; 829 + max-link-speed = <3>; 830 + num-lanes = <4>; 831 + power-domains = <&k3_pds 276 TI_SCI_PD_EXCLUSIVE>; 832 + clocks = <&k3_clks 276 41>; 833 + clock-names = "fck"; 834 + #address-cells = <3>; 835 + #size-cells = <2>; 836 + bus-range = <0x0 0xff>; 837 + vendor-id = <0x104c>; 838 + device-id = <0xb013>; 839 + msi-map = <0x0 &gic_its 0x0 0x10000>; 840 + dma-coherent; 841 + ranges = <0x01000000 0x0 0x18001000 0x00 0x18001000 0x0 0x0010000>, 842 + <0x02000000 0x0 0x18011000 0x00 0x18011000 0x0 0x7fef000>; 843 + dma-ranges = <0x02000000 0x0 0x0 0x0 0x0 0x10000 0x0>; 844 + #interrupt-cells = <1>; 845 + interrupt-map-mask = <0 0 0 7>; 846 + interrupt-map = <0 0 0 1 &pcie1_intc 0>, /* INT A */ 847 + <0 0 0 2 &pcie1_intc 0>, /* INT B */ 848 + <0 0 0 3 &pcie1_intc 0>, /* INT C */ 849 + <0 0 0 4 &pcie1_intc 0>; /* INT D */ 850 + 851 + status = "disabled"; /* Needs gpio and serdes info */ 852 + 853 + pcie1_intc: interrupt-controller { 854 + interrupt-controller; 855 + #interrupt-cells = <1>; 856 + interrupt-parent = <&gic500>; 857 + interrupts = <GIC_SPI 324 IRQ_TYPE_EDGE_RISING>; 1037 858 }; 1038 859 }; 1039 860
+274 -1
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
··· 39 39 reg = <0x00 0x43000014 0x00 0x4>; 40 40 }; 41 41 42 + secure_proxy_sa3: mailbox@43600000 { 43 + compatible = "ti,am654-secure-proxy"; 44 + #mbox-cells = <1>; 45 + reg-names = "target_data", "rt", "scfg"; 46 + reg = <0x00 0x43600000 0x00 0x10000>, 47 + <0x00 0x44880000 0x00 0x20000>, 48 + <0x00 0x44860000 0x00 0x20000>; 49 + /* 50 + * Marked Disabled: 51 + * Node is incomplete as it is meant for bootloaders and 52 + * firmware on non-MPU processors 53 + */ 54 + status = "disabled"; 55 + }; 56 + 42 57 mcu_ram: sram@41c00000 { 43 58 compatible = "mmio-sram"; 44 59 reg = <0x00 0x41c00000 0x00 0x100000>; ··· 65 50 wkup_pmx0: pinctrl@4301c000 { 66 51 compatible = "pinctrl-single"; 67 52 /* Proxy 0 addressing */ 68 - reg = <0x00 0x4301c000 0x00 0x178>; 53 + reg = <0x00 0x4301c000 0x00 0x034>; 69 54 #pinctrl-cells = <1>; 70 55 pinctrl-single,register-width = <32>; 71 56 pinctrl-single,function-mask = <0xffffffff>; 57 + }; 58 + 59 + wkup_pmx1: pinctrl@4301c038 { 60 + compatible = "pinctrl-single"; 61 + /* Proxy 0 addressing */ 62 + reg = <0x00 0x4301c038 0x00 0x02C>; 63 + #pinctrl-cells = <1>; 64 + pinctrl-single,register-width = <32>; 65 + pinctrl-single,function-mask = <0xffffffff>; 66 + }; 67 + 68 + wkup_pmx2: pinctrl@4301c068 { 69 + compatible = "pinctrl-single"; 70 + /* Proxy 0 addressing */ 71 + reg = <0x00 0x4301c068 0x00 0x120>; 72 + #pinctrl-cells = <1>; 73 + pinctrl-single,register-width = <32>; 74 + pinctrl-single,function-mask = <0xffffffff>; 75 + }; 76 + 77 + wkup_pmx3: pinctrl@4301c190 { 78 + compatible = "pinctrl-single"; 79 + /* Proxy 0 addressing */ 80 + reg = <0x00 0x4301c190 0x00 0x004>; 81 + #pinctrl-cells = <1>; 82 + pinctrl-single,register-width = <32>; 83 + pinctrl-single,function-mask = <0xffffffff>; 84 + }; 85 + 86 + /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ 87 + mcu_timerio_input: pinctrl@40f04200 { 88 + compatible = "pinctrl-single"; 89 + reg = <0x00 0x40f04200 0x00 0x28>; 90 + #pinctrl-cells = <1>; 91 + pinctrl-single,register-width = <32>; 92 + pinctrl-single,function-mask = <0x0000000f>; 93 + /* Non-MPU Firmware usage */ 94 + status = "reserved"; 95 + }; 96 + 97 + /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ 98 + mcu_timerio_output: pinctrl@40f04280 { 99 + compatible = "pinctrl-single"; 100 + reg = <0x00 0x40f04280 0x00 0x28>; 101 + #pinctrl-cells = <1>; 102 + pinctrl-single,register-width = <32>; 103 + pinctrl-single,function-mask = <0x0000000f>; 104 + /* Non-MPU Firmware usage */ 105 + status = "reserved"; 72 106 }; 73 107 74 108 wkup_gpio_intr: interrupt-controller@42200000 { ··· 145 81 #phy-cells = <1>; 146 82 }; 147 83 84 + }; 85 + 86 + mcu_timer0: timer@40400000 { 87 + compatible = "ti,am654-timer"; 88 + reg = <0x00 0x40400000 0x00 0x400>; 89 + interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>; 90 + clocks = <&k3_clks 35 1>; 91 + clock-names = "fck"; 92 + assigned-clocks = <&k3_clks 35 1>; 93 + assigned-clock-parents = <&k3_clks 35 2>; 94 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 95 + ti,timer-pwm; 96 + /* Non-MPU Firmware usage */ 97 + status = "reserved"; 98 + }; 99 + 100 + mcu_timer1: timer@40410000 { 101 + compatible = "ti,am654-timer"; 102 + reg = <0x00 0x40410000 0x00 0x400>; 103 + interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>; 104 + clocks = <&k3_clks 83 1>; 105 + clock-names = "fck"; 106 + assigned-clocks = <&k3_clks 83 1>; 107 + assigned-clock-parents = <&k3_clks 83 2>; 108 + power-domains = <&k3_pds 83 TI_SCI_PD_EXCLUSIVE>; 109 + ti,timer-pwm; 110 + /* Non-MPU Firmware usage */ 111 + status = "reserved"; 112 + }; 113 + 114 + mcu_timer2: timer@40420000 { 115 + compatible = "ti,am654-timer"; 116 + reg = <0x00 0x40420000 0x00 0x400>; 117 + interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>; 118 + clocks = <&k3_clks 84 1>; 119 + clock-names = "fck"; 120 + assigned-clocks = <&k3_clks 84 1>; 121 + assigned-clock-parents = <&k3_clks 84 2>; 122 + power-domains = <&k3_pds 84 TI_SCI_PD_EXCLUSIVE>; 123 + ti,timer-pwm; 124 + /* Non-MPU Firmware usage */ 125 + status = "reserved"; 126 + }; 127 + 128 + mcu_timer3: timer@40430000 { 129 + compatible = "ti,am654-timer"; 130 + reg = <0x00 0x40430000 0x00 0x400>; 131 + interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>; 132 + clocks = <&k3_clks 85 1>; 133 + clock-names = "fck"; 134 + assigned-clocks = <&k3_clks 85 1>; 135 + assigned-clock-parents = <&k3_clks 85 2>; 136 + power-domains = <&k3_pds 85 TI_SCI_PD_EXCLUSIVE>; 137 + ti,timer-pwm; 138 + /* Non-MPU Firmware usage */ 139 + status = "reserved"; 140 + }; 141 + 142 + mcu_timer4: timer@40440000 { 143 + compatible = "ti,am654-timer"; 144 + reg = <0x00 0x40440000 0x00 0x400>; 145 + interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>; 146 + clocks = <&k3_clks 86 1>; 147 + clock-names = "fck"; 148 + assigned-clocks = <&k3_clks 86 1>; 149 + assigned-clock-parents = <&k3_clks 86 2>; 150 + power-domains = <&k3_pds 86 TI_SCI_PD_EXCLUSIVE>; 151 + ti,timer-pwm; 152 + /* Non-MPU Firmware usage */ 153 + status = "reserved"; 154 + }; 155 + 156 + mcu_timer5: timer@40450000 { 157 + compatible = "ti,am654-timer"; 158 + reg = <0x00 0x40450000 0x00 0x400>; 159 + interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>; 160 + clocks = <&k3_clks 87 1>; 161 + clock-names = "fck"; 162 + assigned-clocks = <&k3_clks 87 1>; 163 + assigned-clock-parents = <&k3_clks 87 2>; 164 + power-domains = <&k3_pds 87 TI_SCI_PD_EXCLUSIVE>; 165 + ti,timer-pwm; 166 + /* Non-MPU Firmware usage */ 167 + status = "reserved"; 168 + }; 169 + 170 + mcu_timer6: timer@40460000 { 171 + compatible = "ti,am654-timer"; 172 + reg = <0x00 0x40460000 0x00 0x400>; 173 + interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>; 174 + clocks = <&k3_clks 88 1>; 175 + clock-names = "fck"; 176 + assigned-clocks = <&k3_clks 88 1>; 177 + assigned-clock-parents = <&k3_clks 88 2>; 178 + power-domains = <&k3_pds 88 TI_SCI_PD_EXCLUSIVE>; 179 + ti,timer-pwm; 180 + /* Non-MPU Firmware usage */ 181 + status = "reserved"; 182 + }; 183 + 184 + mcu_timer7: timer@40470000 { 185 + compatible = "ti,am654-timer"; 186 + reg = <0x00 0x40470000 0x00 0x400>; 187 + interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>; 188 + clocks = <&k3_clks 89 1>; 189 + clock-names = "fck"; 190 + assigned-clocks = <&k3_clks 89 1>; 191 + assigned-clock-parents = <&k3_clks 89 2>; 192 + power-domains = <&k3_pds 89 TI_SCI_PD_EXCLUSIVE>; 193 + ti,timer-pwm; 194 + /* Non-MPU Firmware usage */ 195 + status = "reserved"; 196 + }; 197 + 198 + mcu_timer8: timer@40480000 { 199 + compatible = "ti,am654-timer"; 200 + reg = <0x00 0x40480000 0x00 0x400>; 201 + interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>; 202 + clocks = <&k3_clks 90 1>; 203 + clock-names = "fck"; 204 + assigned-clocks = <&k3_clks 90 1>; 205 + assigned-clock-parents = <&k3_clks 90 2>; 206 + power-domains = <&k3_pds 90 TI_SCI_PD_EXCLUSIVE>; 207 + ti,timer-pwm; 208 + /* Non-MPU Firmware usage */ 209 + status = "reserved"; 210 + }; 211 + 212 + mcu_timer9: timer@40490000 { 213 + compatible = "ti,am654-timer"; 214 + reg = <0x00 0x40490000 0x00 0x400>; 215 + interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>; 216 + clocks = <&k3_clks 91 1>; 217 + clock-names = "fck"; 218 + assigned-clocks = <&k3_clks 91 1>; 219 + assigned-clock-parents = <&k3_clks 91 2>; 220 + power-domains = <&k3_pds 91 TI_SCI_PD_EXCLUSIVE>; 221 + ti,timer-pwm; 222 + /* Non-MPU Firmware usage */ 223 + status = "reserved"; 148 224 }; 149 225 150 226 wkup_uart0: serial@42300000 { ··· 484 280 }; 485 281 }; 486 282 283 + secure_proxy_mcu: mailbox@2a480000 { 284 + compatible = "ti,am654-secure-proxy"; 285 + #mbox-cells = <1>; 286 + reg-names = "target_data", "rt", "scfg"; 287 + reg = <0x00 0x2a480000 0x00 0x80000>, 288 + <0x00 0x2a380000 0x00 0x80000>, 289 + <0x00 0x2a400000 0x00 0x80000>; 290 + /* 291 + * Marked Disabled: 292 + * Node is incomplete as it is meant for bootloaders and 293 + * firmware on non-MPU processors 294 + */ 295 + status = "disabled"; 296 + }; 297 + 487 298 mcu_cpsw: ethernet@46000000 { 488 299 compatible = "ti,j721e-cpsw-nuss"; 489 300 #address-cells = <2>; ··· 552 333 reg = <0x0 0x3d000 0x0 0x400>; 553 334 clocks = <&k3_clks 29 3>; 554 335 clock-names = "cpts"; 336 + assigned-clocks = <&k3_clks 29 3>; /* CPTS_RFT_CLK */ 337 + assigned-clock-parents = <&k3_clks 29 5>; /* MAIN_0_HSDIVOUT6_CLK */ 555 338 interrupts-extended = <&gic500 GIC_SPI 858 IRQ_TYPE_LEVEL_HIGH>; 556 339 interrupt-names = "cpts"; 557 340 ti,cpts-ext-ts-inputs = <4>; ··· 599 378 #io-channel-cells = <1>; 600 379 compatible = "ti,am3359-adc"; 601 380 }; 381 + }; 382 + 383 + fss: bus@47000000 { 384 + compatible = "simple-bus"; 385 + #address-cells = <2>; 386 + #size-cells = <2>; 387 + ranges = <0x00 0x47000000 0x00 0x47000000 0x00 0x00068400>, 388 + <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>, 389 + <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; 390 + 391 + ospi0: spi@47040000 { 392 + compatible = "ti,am654-ospi", "cdns,qspi-nor"; 393 + reg = <0x00 0x47040000 0x00 0x100>, 394 + <0x05 0x00000000 0x01 0x00000000>; 395 + interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>; 396 + cdns,fifo-depth = <256>; 397 + cdns,fifo-width = <4>; 398 + cdns,trigger-address = <0x0>; 399 + clocks = <&k3_clks 109 5>; 400 + assigned-clocks = <&k3_clks 109 5>; 401 + assigned-clock-parents = <&k3_clks 109 7>; 402 + assigned-clock-rates = <166666666>; 403 + power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>; 404 + #address-cells = <1>; 405 + #size-cells = <0>; 406 + 407 + status = "disabled"; /* Needs pinmux */ 408 + }; 409 + 410 + ospi1: spi@47050000 { 411 + compatible = "ti,am654-ospi", "cdns,qspi-nor"; 412 + reg = <0x00 0x47050000 0x00 0x100>, 413 + <0x07 0x00000000 0x01 0x00000000>; 414 + interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>; 415 + cdns,fifo-depth = <256>; 416 + cdns,fifo-width = <4>; 417 + cdns,trigger-address = <0x0>; 418 + clocks = <&k3_clks 110 5>; 419 + power-domains = <&k3_pds 110 TI_SCI_PD_EXCLUSIVE>; 420 + #address-cells = <1>; 421 + #size-cells = <0>; 422 + 423 + status = "disabled"; /* Needs pinmux */ 424 + }; 425 + }; 426 + 427 + wkup_vtm0: temperature-sensor@42040000 { 428 + compatible = "ti,j7200-vtm"; 429 + reg = <0x00 0x42040000 0x0 0x350>, 430 + <0x00 0x42050000 0x0 0x350>; 431 + power-domains = <&k3_pds 154 TI_SCI_PD_SHARED>; 432 + #thermal-sensor-cells = <1>; 602 433 }; 603 434 };
+65 -2
arch/arm64/boot/dts/ti/k3-j721s2-som-p0.dtsi
··· 39 39 }; 40 40 }; 41 41 42 + &wkup_pmx0 { 43 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 44 + pinctrl-single,pins = < 45 + J721S2_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (D19) MCU_OSPI0_CLK */ 46 + J721S2_WKUP_IOPAD(0x02c, PIN_OUTPUT, 0) /* (F15) MCU_OSPI0_CSn0 */ 47 + J721S2_WKUP_IOPAD(0x030, PIN_OUTPUT, 0) /* (G17) MCU_OSPI0_CSn1 */ 48 + J721S2_WKUP_IOPAD(0x038, PIN_OUTPUT, 0) /* (F14) MCU_OSPI0_CSn2 */ 49 + J721S2_WKUP_IOPAD(0x03c, PIN_OUTPUT, 0) /* (F17) MCU_OSPI0_CSn3 */ 50 + J721S2_WKUP_IOPAD(0x00c, PIN_INPUT, 0) /* (C19) MCU_OSPI0_D0 */ 51 + J721S2_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (F16) MCU_OSPI0_D1 */ 52 + J721S2_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (G15) MCU_OSPI0_D2 */ 53 + J721S2_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (F18) MCU_OSPI0_D3 */ 54 + J721S2_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (E19) MCU_OSPI0_D4 */ 55 + J721S2_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (G19) MCU_OSPI0_D5 */ 56 + J721S2_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (F19) MCU_OSPI0_D6 */ 57 + J721S2_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (F20) MCU_OSPI0_D7 */ 58 + J721S2_WKUP_IOPAD(0x008, PIN_INPUT, 0) /* (E18) MCU_OSPI0_DQS */ 59 + J721S2_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (E20) MCU_OSPI0_LBCLKO */ 60 + >; 61 + }; 62 + }; 63 + 64 + &wkup_pmx2 { 65 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 66 + pinctrl-single,pins = < 67 + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (H24) WKUP_I2C0_SCL */ 68 + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (H27) WKUP_I2C0_SDA */ 69 + >; 70 + }; 71 + }; 72 + 42 73 &main_pmx0 { 43 - main_i2c0_pins_default: main-i2c0-pins-default { 74 + main_i2c0_pins_default: main-i2c0-default-pins { 44 75 pinctrl-single,pins = < 45 76 J721S2_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AH25) I2C0_SCL */ 46 77 J721S2_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AE24) I2C0_SDA */ 47 78 >; 48 79 }; 49 80 50 - main_mcan16_pins_default: main-mcan16-pins-default { 81 + main_mcan16_pins_default: main-mcan16-default-pins { 51 82 pinctrl-single,pins = < 52 83 J721S2_IOPAD(0x028, PIN_INPUT, 0) /* (AB24) MCAN16_RX */ 53 84 J721S2_IOPAD(0x024, PIN_OUTPUT, 0) /* (Y28) MCAN16_TX */ 54 85 >; 86 + }; 87 + }; 88 + 89 + &wkup_i2c0 { 90 + status = "okay"; 91 + pinctrl-names = "default"; 92 + pinctrl-0 = <&wkup_i2c0_pins_default>; 93 + clock-frequency = <400000>; 94 + 95 + eeprom@50 { 96 + /* CAV24C256WE-GT3 */ 97 + compatible = "atmel,24c256"; 98 + reg = <0x50>; 55 99 }; 56 100 }; 57 101 ··· 122 78 pinctrl-0 = <&main_mcan16_pins_default>; 123 79 pinctrl-names = "default"; 124 80 phys = <&transceiver0>; 81 + }; 82 + 83 + &ospi0 { 84 + status = "okay"; 85 + pinctrl-names = "default"; 86 + pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; 87 + 88 + flash@0 { 89 + compatible = "jedec,spi-nor"; 90 + reg = <0x0>; 91 + spi-tx-bus-width = <8>; 92 + spi-rx-bus-width = <8>; 93 + spi-max-frequency = <25000000>; 94 + cdns,tshsl-ns = <60>; 95 + cdns,tsd2d-ns = <60>; 96 + cdns,tchsh-ns = <60>; 97 + cdns,tslch-ns = <60>; 98 + cdns,read-delay = <4>; 99 + }; 125 100 };
+101
arch/arm64/boot/dts/ti/k3-j721s2-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + wkup0_thermal: wkup0-thermal { 6 + polling-delay-passive = <250>; /* milliseconds */ 7 + polling-delay = <500>; /* milliseconds */ 8 + thermal-sensors = <&wkup_vtm0 0>; 9 + 10 + trips { 11 + wkup0_crit: wkup0-crit { 12 + temperature = <125000>; /* milliCelsius */ 13 + hysteresis = <2000>; /* milliCelsius */ 14 + type = "critical"; 15 + }; 16 + }; 17 + }; 18 + 19 + wkup1_thermal: wkup1-thermal { 20 + polling-delay-passive = <250>; /* milliseconds */ 21 + polling-delay = <500>; /* milliseconds */ 22 + thermal-sensors = <&wkup_vtm0 1>; 23 + 24 + trips { 25 + wkup1_crit: wkup1-crit { 26 + temperature = <125000>; /* milliCelsius */ 27 + hysteresis = <2000>; /* milliCelsius */ 28 + type = "critical"; 29 + }; 30 + }; 31 + }; 32 + 33 + main0_thermal: main0-thermal { 34 + polling-delay-passive = <250>; /* milliseconds */ 35 + polling-delay = <500>; /* milliseconds */ 36 + thermal-sensors = <&wkup_vtm0 2>; 37 + 38 + trips { 39 + main0_crit: main0-crit { 40 + temperature = <125000>; /* milliCelsius */ 41 + hysteresis = <2000>; /* milliCelsius */ 42 + type = "critical"; 43 + }; 44 + }; 45 + }; 46 + 47 + main1_thermal: main1-thermal { 48 + polling-delay-passive = <250>; /* milliseconds */ 49 + polling-delay = <500>; /* milliseconds */ 50 + thermal-sensors = <&wkup_vtm0 3>; 51 + 52 + trips { 53 + main1_crit: main1-crit { 54 + temperature = <125000>; /* milliCelsius */ 55 + hysteresis = <2000>; /* milliCelsius */ 56 + type = "critical"; 57 + }; 58 + }; 59 + }; 60 + 61 + main2_thermal: main2-thermal { 62 + polling-delay-passive = <250>; /* milliseconds */ 63 + polling-delay = <500>; /* milliseconds */ 64 + thermal-sensors = <&wkup_vtm0 4>; 65 + 66 + trips { 67 + main2_crit: main2-crit { 68 + temperature = <125000>; /* milliCelsius */ 69 + hysteresis = <2000>; /* milliCelsius */ 70 + type = "critical"; 71 + }; 72 + }; 73 + }; 74 + 75 + main3_thermal: main3-thermal { 76 + polling-delay-passive = <250>; /* milliseconds */ 77 + polling-delay = <500>; /* milliseconds */ 78 + thermal-sensors = <&wkup_vtm0 5>; 79 + 80 + trips { 81 + main3_crit: main3-crit { 82 + temperature = <125000>; /* milliCelsius */ 83 + hysteresis = <2000>; /* milliCelsius */ 84 + type = "critical"; 85 + }; 86 + }; 87 + }; 88 + 89 + main4_thermal: main4-thermal { 90 + polling-delay-passive = <250>; /* milliseconds */ 91 + polling-delay = <500>; /* milliseconds */ 92 + thermal-sensors = <&wkup_vtm0 6>; 93 + 94 + trips { 95 + main4_crit: main4-crit { 96 + temperature = <125000>; /* milliCelsius */ 97 + hysteresis = <2000>; /* milliCelsius */ 98 + type = "critical"; 99 + }; 100 + }; 101 + };
+6 -1
arch/arm64/boot/dts/ti/k3-j721s2.dtsi
··· 2 2 /* 3 3 * Device Tree Source for J721S2 SoC Family 4 4 * 5 - * TRM (SPRUJ28 – NOVEMBER 2021) : http://www.ti.com/lit/pdf/spruj28 5 + * TRM (SPRUJ28 NOVEMBER 2021): https://www.ti.com/lit/pdf/spruj28 6 6 * 7 7 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ 8 8 * ··· 81 81 msmc_l3: l3-cache0 { 82 82 compatible = "cache"; 83 83 cache-level = <3>; 84 + cache-unified; 84 85 }; 85 86 86 87 firmware { ··· 163 162 164 163 }; 165 164 165 + }; 166 + 167 + thermal_zones: thermal-zones { 168 + #include "k3-j721s2-thermal.dtsi" 166 169 }; 167 170 }; 168 171
+596 -22
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
··· 20 20 }; 21 21 22 22 aliases { 23 + serial0 = &wkup_uart0; 24 + serial1 = &mcu_uart0; 23 25 serial2 = &main_uart8; 24 26 mmc0 = &main_sdhci0; 25 27 mmc1 = &main_sdhci1; 26 - i2c0 = &main_i2c0; 28 + i2c0 = &wkup_i2c0; 29 + i2c3 = &main_i2c0; 27 30 }; 28 31 29 32 memory@80000000 { ··· 43 40 44 41 secure_ddr: optee@9e800000 { 45 42 reg = <0x00 0x9e800000 0x00 0x01800000>; 43 + no-map; 44 + }; 45 + 46 + mcu_r5fss0_core0_dma_memory_region: r5f-dma-memory@a0000000 { 47 + compatible = "shared-dma-pool"; 48 + reg = <0x00 0xa0000000 0x00 0x100000>; 49 + no-map; 50 + }; 51 + 52 + mcu_r5fss0_core0_memory_region: r5f-memory@a0100000 { 53 + compatible = "shared-dma-pool"; 54 + reg = <0x00 0xa0100000 0x00 0xf00000>; 55 + no-map; 56 + }; 57 + 58 + mcu_r5fss0_core1_dma_memory_region: r5f-dma-memory@a1000000 { 59 + compatible = "shared-dma-pool"; 60 + reg = <0x00 0xa1000000 0x00 0x100000>; 61 + no-map; 62 + }; 63 + 64 + mcu_r5fss0_core1_memory_region: r5f-memory@a1100000 { 65 + compatible = "shared-dma-pool"; 66 + reg = <0x00 0xa1100000 0x00 0xf00000>; 67 + no-map; 68 + }; 69 + 70 + main_r5fss0_core0_dma_memory_region: r5f-dma-memory@a2000000 { 71 + compatible = "shared-dma-pool"; 72 + reg = <0x00 0xa2000000 0x00 0x100000>; 73 + no-map; 74 + }; 75 + 76 + main_r5fss0_core0_memory_region: r5f-memory@a2100000 { 77 + compatible = "shared-dma-pool"; 78 + reg = <0x00 0xa2100000 0x00 0xf00000>; 79 + no-map; 80 + }; 81 + 82 + main_r5fss0_core1_dma_memory_region: r5f-dma-memory@a3000000 { 83 + compatible = "shared-dma-pool"; 84 + reg = <0x00 0xa3000000 0x00 0x100000>; 85 + no-map; 86 + }; 87 + 88 + main_r5fss0_core1_memory_region: r5f-memory@a3100000 { 89 + compatible = "shared-dma-pool"; 90 + reg = <0x00 0xa3100000 0x00 0xf00000>; 91 + no-map; 92 + }; 93 + 94 + main_r5fss1_core0_dma_memory_region: r5f-dma-memory@a4000000 { 95 + compatible = "shared-dma-pool"; 96 + reg = <0x00 0xa4000000 0x00 0x100000>; 97 + no-map; 98 + }; 99 + 100 + main_r5fss1_core0_memory_region: r5f-memory@a4100000 { 101 + compatible = "shared-dma-pool"; 102 + reg = <0x00 0xa4100000 0x00 0xf00000>; 103 + no-map; 104 + }; 105 + 106 + main_r5fss1_core1_dma_memory_region: r5f-dma-memory@a5000000 { 107 + compatible = "shared-dma-pool"; 108 + reg = <0x00 0xa5000000 0x00 0x100000>; 109 + no-map; 110 + }; 111 + 112 + main_r5fss1_core1_memory_region: r5f-memory@a5100000 { 113 + compatible = "shared-dma-pool"; 114 + reg = <0x00 0xa5100000 0x00 0xf00000>; 115 + no-map; 116 + }; 117 + 118 + main_r5fss2_core0_dma_memory_region: r5f-dma-memory@a6000000 { 119 + compatible = "shared-dma-pool"; 120 + reg = <0x00 0xa6000000 0x00 0x100000>; 121 + no-map; 122 + }; 123 + 124 + main_r5fss2_core0_memory_region: r5f-memory@a6100000 { 125 + compatible = "shared-dma-pool"; 126 + reg = <0x00 0xa6100000 0x00 0xf00000>; 127 + no-map; 128 + }; 129 + 130 + main_r5fss2_core1_dma_memory_region: r5f-dma-memory@a7000000 { 131 + compatible = "shared-dma-pool"; 132 + reg = <0x00 0xa7000000 0x00 0x100000>; 133 + no-map; 134 + }; 135 + 136 + main_r5fss2_core1_memory_region: r5f-memory@a7100000 { 137 + compatible = "shared-dma-pool"; 138 + reg = <0x00 0xa7100000 0x00 0xf00000>; 139 + no-map; 140 + }; 141 + 142 + c71_0_dma_memory_region: c71-dma-memory@a8000000 { 143 + compatible = "shared-dma-pool"; 144 + reg = <0x00 0xa8000000 0x00 0x100000>; 145 + no-map; 146 + }; 147 + 148 + c71_0_memory_region: c71-memory@a8100000 { 149 + compatible = "shared-dma-pool"; 150 + reg = <0x00 0xa8100000 0x00 0xf00000>; 151 + no-map; 152 + }; 153 + 154 + c71_1_dma_memory_region: c71-dma-memory@a9000000 { 155 + compatible = "shared-dma-pool"; 156 + reg = <0x00 0xa9000000 0x00 0x100000>; 157 + no-map; 158 + }; 159 + 160 + c71_1_memory_region: c71-memory@a9100000 { 161 + compatible = "shared-dma-pool"; 162 + reg = <0x00 0xa9100000 0x00 0xf00000>; 163 + no-map; 164 + }; 165 + 166 + c71_2_dma_memory_region: c71-dma-memory@aa000000 { 167 + compatible = "shared-dma-pool"; 168 + reg = <0x00 0xaa000000 0x00 0x100000>; 169 + no-map; 170 + }; 171 + 172 + c71_2_memory_region: c71-memory@aa100000 { 173 + compatible = "shared-dma-pool"; 174 + reg = <0x00 0xaa100000 0x00 0xf00000>; 175 + no-map; 176 + }; 177 + 178 + c71_3_dma_memory_region: c71-dma-memory@ab000000 { 179 + compatible = "shared-dma-pool"; 180 + reg = <0x00 0xab000000 0x00 0x100000>; 181 + no-map; 182 + }; 183 + 184 + c71_3_memory_region: c71-memory@ab100000 { 185 + compatible = "shared-dma-pool"; 186 + reg = <0x00 0xab100000 0x00 0xf00000>; 46 187 no-map; 47 188 }; 48 189 }; ··· 252 105 }; 253 106 254 107 &main_pmx0 { 255 - main_uart8_pins_default: main-uart8-pins-default { 108 + main_uart8_pins_default: main-uart8-default-pins { 256 109 pinctrl-single,pins = < 257 110 J784S4_IOPAD(0x040, PIN_INPUT, 14) /* (AF37) MCASP0_AXR0.UART8_CTSn */ 258 111 J784S4_IOPAD(0x044, PIN_OUTPUT, 14) /* (AG37) MCASP0_AXR1.UART8_RTSn */ ··· 261 114 >; 262 115 }; 263 116 264 - main_i2c0_pins_default: main-i2c0-pins-default { 117 + main_i2c0_pins_default: main-i2c0-default-pins { 265 118 pinctrl-single,pins = < 266 119 J784S4_IOPAD(0x0e0, PIN_INPUT_PULLUP, 0) /* (AN36) I2C0_SCL */ 267 120 J784S4_IOPAD(0x0e4, PIN_INPUT_PULLUP, 0) /* (AP37) I2C0_SDA */ 268 121 >; 269 122 }; 270 123 271 - main_mmc1_pins_default: main-mmc1-pins-default { 124 + main_mmc1_pins_default: main-mmc1-default-pins { 272 125 pinctrl-single,pins = < 273 126 J784S4_IOPAD(0x104, PIN_INPUT, 0) /* (AB38) MMC1_CLK */ 274 127 J784S4_IOPAD(0x108, PIN_INPUT, 0) /* (AB36) MMC1_CMD */ ··· 281 134 >; 282 135 }; 283 136 284 - vdd_sd_dv_pins_default: vdd-sd-dv-pins-default { 137 + vdd_sd_dv_pins_default: vdd-sd-dv-default-pins { 285 138 pinctrl-single,pins = < 286 139 J784S4_IOPAD(0x020, PIN_INPUT, 7) /* (AJ35) MCAN15_RX.GPIO0_8 */ 287 140 >; 288 141 }; 289 142 }; 290 143 291 - &wkup_pmx0 { 292 - mcu_cpsw_pins_default: mcu-cpsw-pins-default { 144 + &wkup_pmx2 { 145 + wkup_uart0_pins_default: wkup-uart0-default-pins { 293 146 pinctrl-single,pins = < 294 - J784S4_WKUP_IOPAD(0x094, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ 295 - J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ 296 - J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ 297 - J784S4_WKUP_IOPAD(0x088, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ 298 - J784S4_WKUP_IOPAD(0x084, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ 299 - J784S4_WKUP_IOPAD(0x06c, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ 300 - J784S4_WKUP_IOPAD(0x07c, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ 301 - J784S4_WKUP_IOPAD(0x078, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ 302 - J784S4_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ 303 - J784S4_WKUP_IOPAD(0x070, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ 304 - J784S4_WKUP_IOPAD(0x080, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ 305 - J784S4_WKUP_IOPAD(0x068, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ 147 + J721S2_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (L37) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 148 + J721S2_WKUP_IOPAD(0x074, PIN_INPUT, 0) /* (L36) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 149 + J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 150 + J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (K34) WKUP_UART0_TXD */ 306 151 >; 307 152 }; 308 153 309 - mcu_mdio_pins_default: mcu-mdio-pins-default { 154 + wkup_i2c0_pins_default: wkup-i2c0-default-pins { 310 155 pinctrl-single,pins = < 311 - J784S4_WKUP_IOPAD(0x09c, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ 312 - J784S4_WKUP_IOPAD(0x098, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ 156 + J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 157 + J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 313 158 >; 314 159 }; 160 + 161 + mcu_uart0_pins_default: mcu-uart0-default-pins { 162 + pinctrl-single,pins = < 163 + J784S4_WKUP_IOPAD(0x090, PIN_INPUT, 0) /* (H37) WKUP_GPIO0_14.MCU_UART0_CTSn */ 164 + J784S4_WKUP_IOPAD(0x094, PIN_OUTPUT, 0) /* (K37) WKUP_GPIO0_15.MCU_UART0_RTSn */ 165 + J784S4_WKUP_IOPAD(0x08c, PIN_INPUT, 0) /* (K38) WKUP_GPIO0_13.MCU_UART0_RXD */ 166 + J784S4_WKUP_IOPAD(0x088, PIN_OUTPUT, 0) /* (J37) WKUP_GPIO0_12.MCU_UART0_TXD */ 167 + >; 168 + }; 169 + 170 + mcu_cpsw_pins_default: mcu-cpsw-default-pins { 171 + pinctrl-single,pins = < 172 + J784S4_WKUP_IOPAD(0x02c, PIN_INPUT, 0) /* (A35) MCU_RGMII1_RD0 */ 173 + J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (B36) MCU_RGMII1_RD1 */ 174 + J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (C36) MCU_RGMII1_RD2 */ 175 + J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D36) MCU_RGMII1_RD3 */ 176 + J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (B37) MCU_RGMII1_RXC */ 177 + J784S4_WKUP_IOPAD(0x004, PIN_INPUT, 0) /* (C37) MCU_RGMII1_RX_CTL */ 178 + J784S4_WKUP_IOPAD(0x014, PIN_OUTPUT, 0) /* (D37) MCU_RGMII1_TD0 */ 179 + J784S4_WKUP_IOPAD(0x010, PIN_OUTPUT, 0) /* (D38) MCU_RGMII1_TD1 */ 180 + J784S4_WKUP_IOPAD(0x00c, PIN_OUTPUT, 0) /* (E37) MCU_RGMII1_TD2 */ 181 + J784S4_WKUP_IOPAD(0x008, PIN_OUTPUT, 0) /* (E38) MCU_RGMII1_TD3 */ 182 + J784S4_WKUP_IOPAD(0x018, PIN_OUTPUT, 0) /* (E36) MCU_RGMII1_TXC */ 183 + J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (C38) MCU_RGMII1_TX_CTL */ 184 + >; 185 + }; 186 + 187 + mcu_mdio_pins_default: mcu-mdio-default-pins { 188 + pinctrl-single,pins = < 189 + J784S4_WKUP_IOPAD(0x034, PIN_OUTPUT, 0) /* (A36) MCU_MDIO0_MDC */ 190 + J784S4_WKUP_IOPAD(0x030, PIN_INPUT, 0) /* (B35) MCU_MDIO0_MDIO */ 191 + >; 192 + }; 193 + 194 + mcu_adc0_pins_default: mcu-adc0-default-pins { 195 + pinctrl-single,pins = < 196 + J784S4_WKUP_IOPAD(0x134, PIN_INPUT, 0) /* (P36) MCU_ADC0_AIN0 */ 197 + J784S4_WKUP_IOPAD(0x138, PIN_INPUT, 0) /* (V36) MCU_ADC0_AIN1 */ 198 + J784S4_WKUP_IOPAD(0x13c, PIN_INPUT, 0) /* (T34) MCU_ADC0_AIN2 */ 199 + J784S4_WKUP_IOPAD(0x140, PIN_INPUT, 0) /* (T36) MCU_ADC0_AIN3 */ 200 + J784S4_WKUP_IOPAD(0x144, PIN_INPUT, 0) /* (P34) MCU_ADC0_AIN4 */ 201 + J784S4_WKUP_IOPAD(0x148, PIN_INPUT, 0) /* (R37) MCU_ADC0_AIN5 */ 202 + J784S4_WKUP_IOPAD(0x14c, PIN_INPUT, 0) /* (R33) MCU_ADC0_AIN6 */ 203 + J784S4_WKUP_IOPAD(0x150, PIN_INPUT, 0) /* (V38) MCU_ADC0_AIN7 */ 204 + >; 205 + }; 206 + 207 + mcu_adc1_pins_default: mcu-adc1-default-pins { 208 + pinctrl-single,pins = < 209 + J784S4_WKUP_IOPAD(0x154, PIN_INPUT, 0) /* (Y38) MCU_ADC1_AIN0 */ 210 + J784S4_WKUP_IOPAD(0x158, PIN_INPUT, 0) /* (Y34) MCU_ADC1_AIN1 */ 211 + J784S4_WKUP_IOPAD(0x15c, PIN_INPUT, 0) /* (V34) MCU_ADC1_AIN2 */ 212 + J784S4_WKUP_IOPAD(0x160, PIN_INPUT, 0) /* (W37) MCU_ADC1_AIN3 */ 213 + J784S4_WKUP_IOPAD(0x164, PIN_INPUT, 0) /* (AA37) MCU_ADC1_AIN4 */ 214 + J784S4_WKUP_IOPAD(0x168, PIN_INPUT, 0) /* (W33) MCU_ADC1_AIN5 */ 215 + J784S4_WKUP_IOPAD(0x16c, PIN_INPUT, 0) /* (U33) MCU_ADC1_AIN6 */ 216 + J784S4_WKUP_IOPAD(0x170, PIN_INPUT, 0) /* (Y36) MCU_ADC1_AIN7 */ 217 + >; 218 + }; 219 + }; 220 + 221 + &wkup_pmx0 { 222 + mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins { 223 + pinctrl-single,pins = < 224 + J784S4_WKUP_IOPAD(0x000, PIN_OUTPUT, 0) /* (E32) MCU_OSPI0_CLK */ 225 + J784S4_WKUP_IOPAD(0x02c, PIN_OUTPUT, 0) /* (A32) MCU_OSPI0_CSn0 */ 226 + J784S4_WKUP_IOPAD(0x00c, PIN_INPUT, 0) /* (B33) MCU_OSPI0_D0 */ 227 + J784S4_WKUP_IOPAD(0x010, PIN_INPUT, 0) /* (B32) MCU_OSPI0_D1 */ 228 + J784S4_WKUP_IOPAD(0x014, PIN_INPUT, 0) /* (C33) MCU_OSPI0_D2 */ 229 + J784S4_WKUP_IOPAD(0x018, PIN_INPUT, 0) /* (C35) MCU_OSPI0_D3 */ 230 + J784S4_WKUP_IOPAD(0x01c, PIN_INPUT, 0) /* (D33) MCU_OSPI0_D4 */ 231 + J784S4_WKUP_IOPAD(0x020, PIN_INPUT, 0) /* (D34) MCU_OSPI0_D5 */ 232 + J784S4_WKUP_IOPAD(0x024, PIN_INPUT, 0) /* (E34) MCU_OSPI0_D6 */ 233 + J784S4_WKUP_IOPAD(0x028, PIN_INPUT, 0) /* (E33) MCU_OSPI0_D7 */ 234 + J784S4_WKUP_IOPAD(0x008, PIN_INPUT, 0) /* (C34) MCU_OSPI0_DQS */ 235 + J784S4_WKUP_IOPAD(0x03c, PIN_OUTPUT, 6) /* (C32) MCU_OSPI0_CSn3.MCU_OSPI0_ECC_FAIL */ 236 + J784S4_WKUP_IOPAD(0x038, PIN_OUTPUT, 6) /* (B34) MCU_OSPI0_CSn2.MCU_OSPI0_RESET_OUT0 */ 237 + >; 238 + }; 239 + 240 + mcu_fss0_ospi1_pins_default: mcu-fss0-ospi1-default-pins { 241 + pinctrl-single,pins = < 242 + J784S4_WKUP_IOPAD(0x040, PIN_OUTPUT, 0) /* (F32) MCU_OSPI1_CLK */ 243 + J784S4_WKUP_IOPAD(0x05c, PIN_OUTPUT, 0) /* (G32) MCU_OSPI1_CSn0 */ 244 + J784S4_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (E35) MCU_OSPI1_D0 */ 245 + J784S4_WKUP_IOPAD(0x050, PIN_INPUT, 0) /* (D31) MCU_OSPI1_D1 */ 246 + J784S4_WKUP_IOPAD(0x054, PIN_INPUT, 0) /* (G31) MCU_OSPI1_D2 */ 247 + J784S4_WKUP_IOPAD(0x058, PIN_INPUT, 0) /* (F33) MCU_OSPI1_D3 */ 248 + J784S4_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (F31) MCU_OSPI1_DQS */ 249 + J784S4_WKUP_IOPAD(0x044, PIN_INPUT, 0) /* (C31) MCU_OSPI1_LBCLKO */ 250 + >; 251 + }; 252 + }; 253 + 254 + &wkup_uart0 { 255 + /* Firmware usage */ 256 + status = "reserved"; 257 + pinctrl-names = "default"; 258 + pinctrl-0 = <&wkup_uart0_pins_default>; 259 + }; 260 + 261 + &wkup_i2c0 { 262 + status = "okay"; 263 + pinctrl-names = "default"; 264 + pinctrl-0 = <&wkup_i2c0_pins_default>; 265 + clock-frequency = <400000>; 266 + 267 + eeprom@50 { 268 + /* CAV24C256WE-GT3 */ 269 + compatible = "atmel,24c256"; 270 + reg = <0x50>; 271 + }; 272 + }; 273 + 274 + &mcu_uart0 { 275 + status = "okay"; 276 + pinctrl-names = "default"; 277 + pinctrl-0 = <&mcu_uart0_pins_default>; 315 278 }; 316 279 317 280 &main_uart8 { 318 281 status = "okay"; 319 282 pinctrl-names = "default"; 320 283 pinctrl-0 = <&main_uart8_pins_default>; 284 + }; 285 + 286 + &fss { 287 + status = "okay"; 288 + }; 289 + 290 + &ospi0 { 291 + status = "okay"; 292 + pinctrl-names = "default"; 293 + pinctrl-0 = <&mcu_fss0_ospi0_pins_default>; 294 + 295 + flash@0 { 296 + compatible = "jedec,spi-nor"; 297 + reg = <0x0>; 298 + spi-tx-bus-width = <8>; 299 + spi-rx-bus-width = <8>; 300 + spi-max-frequency = <25000000>; 301 + cdns,tshsl-ns = <60>; 302 + cdns,tsd2d-ns = <60>; 303 + cdns,tchsh-ns = <60>; 304 + cdns,tslch-ns = <60>; 305 + cdns,read-delay = <4>; 306 + 307 + partitions { 308 + compatible = "fixed-partitions"; 309 + #address-cells = <1>; 310 + #size-cells = <1>; 311 + 312 + partition@0 { 313 + label = "ospi.tiboot3"; 314 + reg = <0x0 0x80000>; 315 + }; 316 + 317 + partition@80000 { 318 + label = "ospi.tispl"; 319 + reg = <0x80000 0x200000>; 320 + }; 321 + 322 + partition@280000 { 323 + label = "ospi.u-boot"; 324 + reg = <0x280000 0x400000>; 325 + }; 326 + 327 + partition@680000 { 328 + label = "ospi.env"; 329 + reg = <0x680000 0x40000>; 330 + }; 331 + 332 + partition@6c0000 { 333 + label = "ospi.env.backup"; 334 + reg = <0x6c0000 0x40000>; 335 + }; 336 + 337 + partition@800000 { 338 + label = "ospi.rootfs"; 339 + reg = <0x800000 0x37c0000>; 340 + }; 341 + 342 + partition@3fc0000 { 343 + label = "ospi.phypattern"; 344 + reg = <0x3fc0000 0x40000>; 345 + }; 346 + }; 347 + }; 348 + }; 349 + 350 + &ospi1 { 351 + status = "okay"; 352 + pinctrl-names = "default"; 353 + pinctrl-0 = <&mcu_fss0_ospi1_pins_default>; 354 + 355 + flash@0{ 356 + compatible = "jedec,spi-nor"; 357 + reg = <0x0>; 358 + spi-tx-bus-width = <1>; 359 + spi-rx-bus-width = <4>; 360 + spi-max-frequency = <40000000>; 361 + cdns,tshsl-ns = <60>; 362 + cdns,tsd2d-ns = <60>; 363 + cdns,tchsh-ns = <60>; 364 + cdns,tslch-ns = <60>; 365 + cdns,read-delay = <2>; 366 + 367 + partitions { 368 + compatible = "fixed-partitions"; 369 + #address-cells = <1>; 370 + #size-cells = <1>; 371 + 372 + partition@0 { 373 + label = "qspi.tiboot3"; 374 + reg = <0x0 0x80000>; 375 + }; 376 + 377 + partition@80000 { 378 + label = "qspi.tispl"; 379 + reg = <0x80000 0x200000>; 380 + }; 381 + 382 + partition@280000 { 383 + label = "qspi.u-boot"; 384 + reg = <0x280000 0x400000>; 385 + }; 386 + 387 + partition@680000 { 388 + label = "qspi.env"; 389 + reg = <0x680000 0x40000>; 390 + }; 391 + 392 + partition@6c0000 { 393 + label = "qspi.env.backup"; 394 + reg = <0x6c0000 0x40000>; 395 + }; 396 + 397 + partition@800000 { 398 + label = "qspi.rootfs"; 399 + reg = <0x800000 0x37c0000>; 400 + }; 401 + 402 + partition@3fc0000 { 403 + label = "qspi.phypattern"; 404 + reg = <0x3fc0000 0x40000>; 405 + }; 406 + }; 407 + 408 + }; 321 409 }; 322 410 323 411 &main_i2c0 { ··· 634 252 status = "okay"; 635 253 phy-mode = "rgmii-rxid"; 636 254 phy-handle = <&mcu_phy0>; 255 + }; 256 + 257 + &mailbox0_cluster0 { 258 + status = "okay"; 259 + interrupts = <436>; 260 + 261 + mbox_mcu_r5fss0_core0: mbox-mcu-r5fss0-core0 { 262 + ti,mbox-rx = <0 0 0>; 263 + ti,mbox-tx = <1 0 0>; 264 + }; 265 + 266 + mbox_mcu_r5fss0_core1: mbox-mcu-r5fss0-core1 { 267 + ti,mbox-rx = <2 0 0>; 268 + ti,mbox-tx = <3 0 0>; 269 + }; 270 + }; 271 + 272 + &mailbox0_cluster1 { 273 + status = "okay"; 274 + interrupts = <432>; 275 + 276 + mbox_main_r5fss0_core0: mbox-main-r5fss0-core0 { 277 + ti,mbox-rx = <0 0 0>; 278 + ti,mbox-tx = <1 0 0>; 279 + }; 280 + 281 + mbox_main_r5fss0_core1: mbox-main-r5fss0-core1 { 282 + ti,mbox-rx = <2 0 0>; 283 + ti,mbox-tx = <3 0 0>; 284 + }; 285 + }; 286 + 287 + &mailbox0_cluster2 { 288 + status = "okay"; 289 + interrupts = <428>; 290 + 291 + mbox_main_r5fss1_core0: mbox-main-r5fss1-core0 { 292 + ti,mbox-rx = <0 0 0>; 293 + ti,mbox-tx = <1 0 0>; 294 + }; 295 + 296 + mbox_main_r5fss1_core1: mbox-main-r5fss1-core1 { 297 + ti,mbox-rx = <2 0 0>; 298 + ti,mbox-tx = <3 0 0>; 299 + }; 300 + }; 301 + 302 + &mailbox0_cluster3 { 303 + status = "okay"; 304 + interrupts = <424>; 305 + 306 + mbox_main_r5fss2_core0: mbox-main-r5fss2-core0 { 307 + ti,mbox-rx = <0 0 0>; 308 + ti,mbox-tx = <1 0 0>; 309 + }; 310 + 311 + mbox_main_r5fss2_core1: mbox-main-r5fss2-core1 { 312 + ti,mbox-rx = <2 0 0>; 313 + ti,mbox-tx = <3 0 0>; 314 + }; 315 + }; 316 + 317 + &mailbox0_cluster4 { 318 + status = "okay"; 319 + interrupts = <420>; 320 + 321 + mbox_c71_0: mbox-c71-0 { 322 + ti,mbox-rx = <0 0 0>; 323 + ti,mbox-tx = <1 0 0>; 324 + }; 325 + 326 + mbox_c71_1: mbox-c71-1 { 327 + ti,mbox-rx = <2 0 0>; 328 + ti,mbox-tx = <3 0 0>; 329 + }; 330 + }; 331 + 332 + &mailbox0_cluster5 { 333 + status = "okay"; 334 + interrupts = <416>; 335 + 336 + mbox_c71_2: mbox-c71-2 { 337 + ti,mbox-rx = <0 0 0>; 338 + ti,mbox-tx = <1 0 0>; 339 + }; 340 + 341 + mbox_c71_3: mbox-c71-3 { 342 + ti,mbox-rx = <2 0 0>; 343 + ti,mbox-tx = <3 0 0>; 344 + }; 345 + }; 346 + 347 + &mcu_r5fss0_core0 { 348 + status = "okay"; 349 + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core0>; 350 + memory-region = <&mcu_r5fss0_core0_dma_memory_region>, 351 + <&mcu_r5fss0_core0_memory_region>; 352 + }; 353 + 354 + &mcu_r5fss0_core1 { 355 + status = "okay"; 356 + mboxes = <&mailbox0_cluster0 &mbox_mcu_r5fss0_core1>; 357 + memory-region = <&mcu_r5fss0_core1_dma_memory_region>, 358 + <&mcu_r5fss0_core1_memory_region>; 359 + }; 360 + 361 + &main_r5fss0_core0 { 362 + status = "okay"; 363 + mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core0>; 364 + memory-region = <&main_r5fss0_core0_dma_memory_region>, 365 + <&main_r5fss0_core0_memory_region>; 366 + }; 367 + 368 + &main_r5fss0_core1 { 369 + status = "okay"; 370 + mboxes = <&mailbox0_cluster1 &mbox_main_r5fss0_core1>; 371 + memory-region = <&main_r5fss0_core1_dma_memory_region>, 372 + <&main_r5fss0_core1_memory_region>; 373 + }; 374 + 375 + &main_r5fss1_core0 { 376 + status = "okay"; 377 + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core0>; 378 + memory-region = <&main_r5fss1_core0_dma_memory_region>, 379 + <&main_r5fss1_core0_memory_region>; 380 + }; 381 + 382 + &main_r5fss1_core1 { 383 + status = "okay"; 384 + mboxes = <&mailbox0_cluster2 &mbox_main_r5fss1_core1>; 385 + memory-region = <&main_r5fss1_core1_dma_memory_region>, 386 + <&main_r5fss1_core1_memory_region>; 387 + }; 388 + 389 + &main_r5fss2_core0 { 390 + status = "okay"; 391 + mboxes = <&mailbox0_cluster3 &mbox_main_r5fss2_core0>; 392 + memory-region = <&main_r5fss2_core0_dma_memory_region>, 393 + <&main_r5fss2_core0_memory_region>; 394 + }; 395 + 396 + &main_r5fss2_core1 { 397 + status = "okay"; 398 + mboxes = <&mailbox0_cluster3 &mbox_main_r5fss2_core1>; 399 + memory-region = <&main_r5fss2_core1_dma_memory_region>, 400 + <&main_r5fss2_core1_memory_region>; 401 + }; 402 + 403 + &c71_0 { 404 + status = "okay"; 405 + mboxes = <&mailbox0_cluster4 &mbox_c71_0>; 406 + memory-region = <&c71_0_dma_memory_region>, 407 + <&c71_0_memory_region>; 408 + }; 409 + 410 + &c71_1 { 411 + status = "okay"; 412 + mboxes = <&mailbox0_cluster4 &mbox_c71_1>; 413 + memory-region = <&c71_1_dma_memory_region>, 414 + <&c71_1_memory_region>; 415 + }; 416 + 417 + &c71_2 { 418 + status = "okay"; 419 + mboxes = <&mailbox0_cluster5 &mbox_c71_2>; 420 + memory-region = <&c71_2_dma_memory_region>, 421 + <&c71_2_memory_region>; 422 + }; 423 + 424 + &c71_3 { 425 + status = "okay"; 426 + mboxes = <&mailbox0_cluster5 &mbox_c71_3>; 427 + memory-region = <&c71_3_dma_memory_region>, 428 + <&c71_3_memory_region>; 429 + }; 430 + 431 + &tscadc0 { 432 + pinctrl-0 = <&mcu_adc0_pins_default>; 433 + pinctrl-names = "default"; 434 + status = "okay"; 435 + adc { 436 + ti,adc-channels = <0 1 2 3 4 5 6 7>; 437 + }; 438 + }; 439 + 440 + &tscadc1 { 441 + pinctrl-0 = <&mcu_adc1_pins_default>; 442 + pinctrl-names = "default"; 443 + status = "okay"; 444 + adc { 445 + ti,adc-channels = <0 1 2 3 4 5 6 7>; 446 + }; 637 447 };
+426 -1
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
··· 72 72 pinctrl-single,function-mask = <0xffffffff>; 73 73 }; 74 74 75 + /* TIMERIO pad input CTRLMMR_TIMER*_CTRL registers */ 76 + main_timerio_input: pinctrl@104200 { 77 + compatible = "pinctrl-single"; 78 + reg = <0x00 0x104200 0x00 0x50>; 79 + #pinctrl-cells = <1>; 80 + pinctrl-single,register-width = <32>; 81 + pinctrl-single,function-mask = <0x00000007>; 82 + }; 83 + 84 + /* TIMERIO pad output CTCTRLMMR_TIMERIO*_CTRL registers */ 85 + main_timerio_output: pinctrl@104280 { 86 + compatible = "pinctrl-single"; 87 + reg = <0x00 0x104280 0x00 0x20>; 88 + #pinctrl-cells = <1>; 89 + pinctrl-single,register-width = <32>; 90 + pinctrl-single,function-mask = <0x0000001f>; 91 + }; 92 + 75 93 main_crypto: crypto@4e00000 { 76 94 compatible = "ti,j721e-sa2ul"; 77 95 reg = <0x00 0x4e00000 0x00 0x1200>; ··· 107 89 reg = <0x00 0x4e10000 0x00 0x7d>; 108 90 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 109 91 }; 92 + }; 93 + 94 + main_timer0: timer@2400000 { 95 + compatible = "ti,am654-timer"; 96 + reg = <0x00 0x2400000 0x00 0x400>; 97 + interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 98 + clocks = <&k3_clks 97 2>; 99 + clock-names = "fck"; 100 + assigned-clocks = <&k3_clks 97 2>; 101 + assigned-clock-parents = <&k3_clks 97 3>; 102 + power-domains = <&k3_pds 97 TI_SCI_PD_EXCLUSIVE>; 103 + ti,timer-pwm; 104 + }; 105 + 106 + main_timer1: timer@2410000 { 107 + compatible = "ti,am654-timer"; 108 + reg = <0x00 0x2410000 0x00 0x400>; 109 + interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>; 110 + clocks = <&k3_clks 98 2>; 111 + clock-names = "fck"; 112 + assigned-clocks = <&k3_clks 98 2>; 113 + assigned-clock-parents = <&k3_clks 98 3>; 114 + power-domains = <&k3_pds 98 TI_SCI_PD_EXCLUSIVE>; 115 + ti,timer-pwm; 116 + }; 117 + 118 + main_timer2: timer@2420000 { 119 + compatible = "ti,am654-timer"; 120 + reg = <0x00 0x2420000 0x00 0x400>; 121 + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; 122 + clocks = <&k3_clks 99 2>; 123 + clock-names = "fck"; 124 + assigned-clocks = <&k3_clks 99 2>; 125 + assigned-clock-parents = <&k3_clks 99 3>; 126 + power-domains = <&k3_pds 99 TI_SCI_PD_EXCLUSIVE>; 127 + ti,timer-pwm; 128 + }; 129 + 130 + main_timer3: timer@2430000 { 131 + compatible = "ti,am654-timer"; 132 + reg = <0x00 0x2430000 0x00 0x400>; 133 + interrupts = <GIC_SPI 227 IRQ_TYPE_LEVEL_HIGH>; 134 + clocks = <&k3_clks 100 2>; 135 + clock-names = "fck"; 136 + assigned-clocks = <&k3_clks 100 2>; 137 + assigned-clock-parents = <&k3_clks 100 3>; 138 + power-domains = <&k3_pds 100 TI_SCI_PD_EXCLUSIVE>; 139 + ti,timer-pwm; 140 + }; 141 + 142 + main_timer4: timer@2440000 { 143 + compatible = "ti,am654-timer"; 144 + reg = <0x00 0x2440000 0x00 0x400>; 145 + interrupts = <GIC_SPI 228 IRQ_TYPE_LEVEL_HIGH>; 146 + clocks = <&k3_clks 101 2>; 147 + clock-names = "fck"; 148 + assigned-clocks = <&k3_clks 101 2>; 149 + assigned-clock-parents = <&k3_clks 101 3>; 150 + power-domains = <&k3_pds 101 TI_SCI_PD_EXCLUSIVE>; 151 + ti,timer-pwm; 152 + }; 153 + 154 + main_timer5: timer@2450000 { 155 + compatible = "ti,am654-timer"; 156 + reg = <0x00 0x2450000 0x00 0x400>; 157 + interrupts = <GIC_SPI 229 IRQ_TYPE_LEVEL_HIGH>; 158 + clocks = <&k3_clks 102 2>; 159 + clock-names = "fck"; 160 + assigned-clocks = <&k3_clks 102 2>; 161 + assigned-clock-parents = <&k3_clks 102 3>; 162 + power-domains = <&k3_pds 102 TI_SCI_PD_EXCLUSIVE>; 163 + ti,timer-pwm; 164 + }; 165 + 166 + main_timer6: timer@2460000 { 167 + compatible = "ti,am654-timer"; 168 + reg = <0x00 0x2460000 0x00 0x400>; 169 + interrupts = <GIC_SPI 230 IRQ_TYPE_LEVEL_HIGH>; 170 + clocks = <&k3_clks 103 2>; 171 + clock-names = "fck"; 172 + assigned-clocks = <&k3_clks 103 2>; 173 + assigned-clock-parents = <&k3_clks 103 3>; 174 + power-domains = <&k3_pds 103 TI_SCI_PD_EXCLUSIVE>; 175 + ti,timer-pwm; 176 + }; 177 + 178 + main_timer7: timer@2470000 { 179 + compatible = "ti,am654-timer"; 180 + reg = <0x00 0x2470000 0x00 0x400>; 181 + interrupts = <GIC_SPI 231 IRQ_TYPE_LEVEL_HIGH>; 182 + clocks = <&k3_clks 104 2>; 183 + clock-names = "fck"; 184 + assigned-clocks = <&k3_clks 104 2>; 185 + assigned-clock-parents = <&k3_clks 104 3>; 186 + power-domains = <&k3_pds 104 TI_SCI_PD_EXCLUSIVE>; 187 + ti,timer-pwm; 188 + }; 189 + 190 + main_timer8: timer@2480000 { 191 + compatible = "ti,am654-timer"; 192 + reg = <0x00 0x2480000 0x00 0x400>; 193 + interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>; 194 + clocks = <&k3_clks 105 2>; 195 + clock-names = "fck"; 196 + assigned-clocks = <&k3_clks 105 2>; 197 + assigned-clock-parents = <&k3_clks 105 3>; 198 + power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>; 199 + ti,timer-pwm; 200 + }; 201 + 202 + main_timer9: timer@2490000 { 203 + compatible = "ti,am654-timer"; 204 + reg = <0x00 0x2490000 0x00 0x400>; 205 + interrupts = <GIC_SPI 233 IRQ_TYPE_LEVEL_HIGH>; 206 + clocks = <&k3_clks 106 2>; 207 + clock-names = "fck"; 208 + assigned-clocks = <&k3_clks 106 2>; 209 + assigned-clock-parents = <&k3_clks 106 3>; 210 + power-domains = <&k3_pds 106 TI_SCI_PD_EXCLUSIVE>; 211 + ti,timer-pwm; 212 + }; 213 + 214 + main_timer10: timer@24a0000 { 215 + compatible = "ti,am654-timer"; 216 + reg = <0x00 0x24a0000 0x00 0x400>; 217 + interrupts = <GIC_SPI 234 IRQ_TYPE_LEVEL_HIGH>; 218 + clocks = <&k3_clks 107 2>; 219 + clock-names = "fck"; 220 + assigned-clocks = <&k3_clks 107 2>; 221 + assigned-clock-parents = <&k3_clks 107 3>; 222 + power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>; 223 + ti,timer-pwm; 224 + }; 225 + 226 + main_timer11: timer@24b0000 { 227 + compatible = "ti,am654-timer"; 228 + reg = <0x00 0x24b0000 0x00 0x400>; 229 + interrupts = <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>; 230 + clocks = <&k3_clks 108 2>; 231 + clock-names = "fck"; 232 + assigned-clocks = <&k3_clks 108 2>; 233 + assigned-clock-parents = <&k3_clks 108 3>; 234 + power-domains = <&k3_pds 108 TI_SCI_PD_EXCLUSIVE>; 235 + ti,timer-pwm; 236 + }; 237 + 238 + main_timer12: timer@24c0000 { 239 + compatible = "ti,am654-timer"; 240 + reg = <0x00 0x24c0000 0x00 0x400>; 241 + interrupts = <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>; 242 + clocks = <&k3_clks 109 2>; 243 + clock-names = "fck"; 244 + assigned-clocks = <&k3_clks 109 2>; 245 + assigned-clock-parents = <&k3_clks 109 3>; 246 + power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>; 247 + ti,timer-pwm; 248 + }; 249 + 250 + main_timer13: timer@24d0000 { 251 + compatible = "ti,am654-timer"; 252 + reg = <0x00 0x24d0000 0x00 0x400>; 253 + interrupts = <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>; 254 + clocks = <&k3_clks 110 2>; 255 + clock-names = "fck"; 256 + assigned-clocks = <&k3_clks 110 2>; 257 + assigned-clock-parents = <&k3_clks 110 3>; 258 + power-domains = <&k3_pds 110 TI_SCI_PD_EXCLUSIVE>; 259 + ti,timer-pwm; 260 + }; 261 + 262 + main_timer14: timer@24e0000 { 263 + compatible = "ti,am654-timer"; 264 + reg = <0x00 0x24e0000 0x00 0x400>; 265 + interrupts = <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>; 266 + clocks = <&k3_clks 111 2>; 267 + clock-names = "fck"; 268 + assigned-clocks = <&k3_clks 111 2>; 269 + assigned-clock-parents = <&k3_clks 111 3>; 270 + power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>; 271 + ti,timer-pwm; 272 + }; 273 + 274 + main_timer15: timer@24f0000 { 275 + compatible = "ti,am654-timer"; 276 + reg = <0x00 0x24f0000 0x00 0x400>; 277 + interrupts = <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 278 + clocks = <&k3_clks 112 2>; 279 + clock-names = "fck"; 280 + assigned-clocks = <&k3_clks 112 2>; 281 + assigned-clock-parents = <&k3_clks 112 3>; 282 + power-domains = <&k3_pds 112 TI_SCI_PD_EXCLUSIVE>; 283 + ti,timer-pwm; 284 + }; 285 + 286 + main_timer16: timer@2500000 { 287 + compatible = "ti,am654-timer"; 288 + reg = <0x00 0x2500000 0x00 0x400>; 289 + interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>; 290 + clocks = <&k3_clks 113 2>; 291 + clock-names = "fck"; 292 + assigned-clocks = <&k3_clks 113 2>; 293 + assigned-clock-parents = <&k3_clks 113 3>; 294 + power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>; 295 + ti,timer-pwm; 296 + }; 297 + 298 + main_timer17: timer@2510000 { 299 + compatible = "ti,am654-timer"; 300 + reg = <0x00 0x2510000 0x00 0x400>; 301 + interrupts = <GIC_SPI 241 IRQ_TYPE_LEVEL_HIGH>; 302 + clocks = <&k3_clks 114 2>; 303 + clock-names = "fck"; 304 + assigned-clocks = <&k3_clks 114 2>; 305 + assigned-clock-parents = <&k3_clks 114 3>; 306 + power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>; 307 + ti,timer-pwm; 308 + }; 309 + 310 + main_timer18: timer@2520000 { 311 + compatible = "ti,am654-timer"; 312 + reg = <0x00 0x2520000 0x00 0x400>; 313 + interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>; 314 + clocks = <&k3_clks 115 2>; 315 + clock-names = "fck"; 316 + assigned-clocks = <&k3_clks 115 2>; 317 + assigned-clock-parents = <&k3_clks 115 3>; 318 + power-domains = <&k3_pds 115 TI_SCI_PD_EXCLUSIVE>; 319 + ti,timer-pwm; 320 + }; 321 + 322 + main_timer19: timer@2530000 { 323 + compatible = "ti,am654-timer"; 324 + reg = <0x00 0x2530000 0x00 0x400>; 325 + interrupts = <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>; 326 + clocks = <&k3_clks 116 2>; 327 + clock-names = "fck"; 328 + assigned-clocks = <&k3_clks 116 2>; 329 + assigned-clock-parents = <&k3_clks 116 3>; 330 + power-domains = <&k3_pds 116 TI_SCI_PD_EXCLUSIVE>; 331 + ti,timer-pwm; 110 332 }; 111 333 112 334 main_uart0: serial@2800000 { ··· 636 378 mmc-hs200-1_8v; 637 379 mmc-hs400-1_8v; 638 380 dma-coherent; 639 - no-1-8-v; 640 381 status = "disabled"; 641 382 }; 642 383 ··· 1368 1111 power-domains = <&k3_pds 383 TI_SCI_PD_EXCLUSIVE>; 1369 1112 clocks = <&k3_clks 383 1>; 1370 1113 status = "disabled"; 1114 + }; 1115 + 1116 + main_r5fss0: r5fss@5c00000 { 1117 + compatible = "ti,j721s2-r5fss"; 1118 + ti,cluster-mode = <1>; 1119 + #address-cells = <1>; 1120 + #size-cells = <1>; 1121 + ranges = <0x5c00000 0x00 0x5c00000 0x20000>, 1122 + <0x5d00000 0x00 0x5d00000 0x20000>; 1123 + power-domains = <&k3_pds 336 TI_SCI_PD_EXCLUSIVE>; 1124 + 1125 + main_r5fss0_core0: r5f@5c00000 { 1126 + compatible = "ti,j721s2-r5f"; 1127 + reg = <0x5c00000 0x00010000>, 1128 + <0x5c10000 0x00010000>; 1129 + reg-names = "atcm", "btcm"; 1130 + ti,sci = <&sms>; 1131 + ti,sci-dev-id = <339>; 1132 + ti,sci-proc-ids = <0x06 0xff>; 1133 + resets = <&k3_reset 339 1>; 1134 + firmware-name = "j784s4-main-r5f0_0-fw"; 1135 + ti,atcm-enable = <1>; 1136 + ti,btcm-enable = <1>; 1137 + ti,loczrama = <1>; 1138 + }; 1139 + 1140 + main_r5fss0_core1: r5f@5d00000 { 1141 + compatible = "ti,j721s2-r5f"; 1142 + reg = <0x5d00000 0x00010000>, 1143 + <0x5d10000 0x00010000>; 1144 + reg-names = "atcm", "btcm"; 1145 + ti,sci = <&sms>; 1146 + ti,sci-dev-id = <340>; 1147 + ti,sci-proc-ids = <0x07 0xff>; 1148 + resets = <&k3_reset 340 1>; 1149 + firmware-name = "j784s4-main-r5f0_1-fw"; 1150 + ti,atcm-enable = <1>; 1151 + ti,btcm-enable = <1>; 1152 + ti,loczrama = <1>; 1153 + }; 1154 + }; 1155 + 1156 + main_r5fss1: r5fss@5e00000 { 1157 + compatible = "ti,j721s2-r5fss"; 1158 + ti,cluster-mode = <1>; 1159 + #address-cells = <1>; 1160 + #size-cells = <1>; 1161 + ranges = <0x5e00000 0x00 0x5e00000 0x20000>, 1162 + <0x5f00000 0x00 0x5f00000 0x20000>; 1163 + power-domains = <&k3_pds 337 TI_SCI_PD_EXCLUSIVE>; 1164 + 1165 + main_r5fss1_core0: r5f@5e00000 { 1166 + compatible = "ti,j721s2-r5f"; 1167 + reg = <0x5e00000 0x00010000>, 1168 + <0x5e10000 0x00010000>; 1169 + reg-names = "atcm", "btcm"; 1170 + ti,sci = <&sms>; 1171 + ti,sci-dev-id = <341>; 1172 + ti,sci-proc-ids = <0x08 0xff>; 1173 + resets = <&k3_reset 341 1>; 1174 + firmware-name = "j784s4-main-r5f1_0-fw"; 1175 + ti,atcm-enable = <1>; 1176 + ti,btcm-enable = <1>; 1177 + ti,loczrama = <1>; 1178 + }; 1179 + 1180 + main_r5fss1_core1: r5f@5f00000 { 1181 + compatible = "ti,j721s2-r5f"; 1182 + reg = <0x5f00000 0x00010000>, 1183 + <0x5f10000 0x00010000>; 1184 + reg-names = "atcm", "btcm"; 1185 + ti,sci = <&sms>; 1186 + ti,sci-dev-id = <342>; 1187 + ti,sci-proc-ids = <0x09 0xff>; 1188 + resets = <&k3_reset 342 1>; 1189 + firmware-name = "j784s4-main-r5f1_1-fw"; 1190 + ti,atcm-enable = <1>; 1191 + ti,btcm-enable = <1>; 1192 + ti,loczrama = <1>; 1193 + }; 1194 + }; 1195 + 1196 + main_r5fss2: r5fss@5900000 { 1197 + compatible = "ti,j721s2-r5fss"; 1198 + ti,cluster-mode = <1>; 1199 + #address-cells = <1>; 1200 + #size-cells = <1>; 1201 + ranges = <0x5900000 0x00 0x5900000 0x20000>, 1202 + <0x5a00000 0x00 0x5a00000 0x20000>; 1203 + power-domains = <&k3_pds 338 TI_SCI_PD_EXCLUSIVE>; 1204 + 1205 + main_r5fss2_core0: r5f@5900000 { 1206 + compatible = "ti,j721s2-r5f"; 1207 + reg = <0x5900000 0x00010000>, 1208 + <0x5910000 0x00010000>; 1209 + reg-names = "atcm", "btcm"; 1210 + ti,sci = <&sms>; 1211 + ti,sci-dev-id = <343>; 1212 + ti,sci-proc-ids = <0x0a 0xff>; 1213 + resets = <&k3_reset 343 1>; 1214 + firmware-name = "j784s4-main-r5f2_0-fw"; 1215 + ti,atcm-enable = <1>; 1216 + ti,btcm-enable = <1>; 1217 + ti,loczrama = <1>; 1218 + }; 1219 + 1220 + main_r5fss2_core1: r5f@5a00000 { 1221 + compatible = "ti,j721s2-r5f"; 1222 + reg = <0x5a00000 0x00010000>, 1223 + <0x5a10000 0x00010000>; 1224 + reg-names = "atcm", "btcm"; 1225 + ti,sci = <&sms>; 1226 + ti,sci-dev-id = <344>; 1227 + ti,sci-proc-ids = <0x0b 0xff>; 1228 + resets = <&k3_reset 344 1>; 1229 + firmware-name = "j784s4-main-r5f2_1-fw"; 1230 + ti,atcm-enable = <1>; 1231 + ti,btcm-enable = <1>; 1232 + ti,loczrama = <1>; 1233 + }; 1234 + }; 1235 + 1236 + c71_0: dsp@64800000 { 1237 + compatible = "ti,j721s2-c71-dsp"; 1238 + reg = <0x00 0x64800000 0x00 0x00080000>, 1239 + <0x00 0x64e00000 0x00 0x0000c000>; 1240 + reg-names = "l2sram", "l1dram"; 1241 + ti,sci = <&sms>; 1242 + ti,sci-dev-id = <30>; 1243 + ti,sci-proc-ids = <0x30 0xff>; 1244 + resets = <&k3_reset 30 1>; 1245 + firmware-name = "j784s4-c71_0-fw"; 1246 + }; 1247 + 1248 + c71_1: dsp@65800000 { 1249 + compatible = "ti,j721s2-c71-dsp"; 1250 + reg = <0x00 0x65800000 0x00 0x00080000>, 1251 + <0x00 0x65e00000 0x00 0x0000c000>; 1252 + reg-names = "l2sram", "l1dram"; 1253 + ti,sci = <&sms>; 1254 + ti,sci-dev-id = <33>; 1255 + ti,sci-proc-ids = <0x31 0xff>; 1256 + resets = <&k3_reset 33 1>; 1257 + firmware-name = "j784s4-c71_1-fw"; 1258 + }; 1259 + 1260 + c71_2: dsp@66800000 { 1261 + compatible = "ti,j721s2-c71-dsp"; 1262 + reg = <0x00 0x66800000 0x00 0x00080000>, 1263 + <0x00 0x66e00000 0x00 0x0000c000>; 1264 + reg-names = "l2sram", "l1dram"; 1265 + ti,sci = <&sms>; 1266 + ti,sci-dev-id = <37>; 1267 + ti,sci-proc-ids = <0x32 0xff>; 1268 + resets = <&k3_reset 37 1>; 1269 + firmware-name = "j784s4-c71_2-fw"; 1270 + }; 1271 + 1272 + c71_3: dsp@67800000 { 1273 + compatible = "ti,j721s2-c71-dsp"; 1274 + reg = <0x00 0x67800000 0x00 0x00080000>, 1275 + <0x00 0x67e00000 0x00 0x0000c000>; 1276 + reg-names = "l2sram", "l1dram"; 1277 + ti,sci = <&sms>; 1278 + ti,sci-dev-id = <40>; 1279 + ti,sci-proc-ids = <0x33 0xff>; 1280 + resets = <&k3_reset 40 1>; 1281 + firmware-name = "j784s4-c71_3-fw"; 1371 1282 }; 1372 1283 };
+349 -1
arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi
··· 39 39 reg = <0x00 0x43000014 0x00 0x4>; 40 40 }; 41 41 42 + secure_proxy_sa3: mailbox@43600000 { 43 + compatible = "ti,am654-secure-proxy"; 44 + #mbox-cells = <1>; 45 + reg-names = "target_data", "rt", "scfg"; 46 + reg = <0x00 0x43600000 0x00 0x10000>, 47 + <0x00 0x44880000 0x00 0x20000>, 48 + <0x00 0x44860000 0x00 0x20000>; 49 + /* 50 + * Marked Disabled: 51 + * Node is incomplete as it is meant for bootloaders and 52 + * firmware on non-MPU processors 53 + */ 54 + status = "disabled"; 55 + }; 56 + 42 57 mcu_ram: sram@41c00000 { 43 58 compatible = "mmio-sram"; 44 59 reg = <0x00 0x41c00000 0x00 0x100000>; ··· 65 50 wkup_pmx0: pinctrl@4301c000 { 66 51 compatible = "pinctrl-single"; 67 52 /* Proxy 0 addressing */ 68 - reg = <0x00 0x4301c000 0x00 0x178>; 53 + reg = <0x00 0x4301c000 0x00 0x034>; 54 + #pinctrl-cells = <1>; 55 + pinctrl-single,register-width = <32>; 56 + pinctrl-single,function-mask = <0xffffffff>; 57 + }; 58 + 59 + wkup_pmx1: pinctrl@4301c038 { 60 + compatible = "pinctrl-single"; 61 + /* Proxy 0 addressing */ 62 + reg = <0x00 0x4301c038 0x00 0x02c>; 63 + #pinctrl-cells = <1>; 64 + pinctrl-single,register-width = <32>; 65 + pinctrl-single,function-mask = <0xffffffff>; 66 + }; 67 + 68 + wkup_pmx2: pinctrl@4301c068 { 69 + compatible = "pinctrl-single"; 70 + /* Proxy 0 addressing */ 71 + reg = <0x00 0x4301c068 0x00 0x120>; 72 + #pinctrl-cells = <1>; 73 + pinctrl-single,register-width = <32>; 74 + pinctrl-single,function-mask = <0xffffffff>; 75 + }; 76 + 77 + wkup_pmx3: pinctrl@4301c190 { 78 + compatible = "pinctrl-single"; 79 + /* Proxy 0 addressing */ 80 + reg = <0x00 0x4301c190 0x00 0x004>; 69 81 #pinctrl-cells = <1>; 70 82 pinctrl-single,register-width = <32>; 71 83 pinctrl-single,function-mask = <0xffffffff>; ··· 110 68 ti,interrupt-ranges = <16 928 16>; 111 69 }; 112 70 71 + /* MCU_TIMERIO pad input CTRLMMR_MCU_TIMER*_CTRL registers */ 72 + mcu_timerio_input: pinctrl@40f04200 { 73 + compatible = "pinctrl-single"; 74 + reg = <0x00 0x40f04200 0x00 0x28>; 75 + #pinctrl-cells = <1>; 76 + pinctrl-single,register-width = <32>; 77 + pinctrl-single,function-mask = <0x0000000f>; 78 + /* Non-MPU Firmware usage */ 79 + status = "reserved"; 80 + }; 81 + 82 + /* MCU_TIMERIO pad output CTRLMMR_MCU_TIMERIO*_CTRL registers */ 83 + mcu_timerio_output: pinctrl@40f04280 { 84 + compatible = "pinctrl-single"; 85 + reg = <0x00 0x40f04280 0x00 0x28>; 86 + #pinctrl-cells = <1>; 87 + pinctrl-single,register-width = <32>; 88 + pinctrl-single,function-mask = <0x0000000f>; 89 + /* Non-MPU Firmware usage */ 90 + status = "reserved"; 91 + }; 92 + 113 93 mcu_conf: syscon@40f00000 { 114 94 compatible = "ti,j721e-system-controller", "syscon", "simple-mfd"; 115 95 reg = <0x00 0x40f00000 0x00 0x20000>; ··· 144 80 reg = <0x4040 0x4>; 145 81 #phy-cells = <1>; 146 82 }; 83 + }; 84 + 85 + mcu_timer0: timer@40400000 { 86 + compatible = "ti,am654-timer"; 87 + reg = <0x00 0x40400000 0x00 0x400>; 88 + interrupts = <GIC_SPI 816 IRQ_TYPE_LEVEL_HIGH>; 89 + clocks = <&k3_clks 35 2>; 90 + clock-names = "fck"; 91 + assigned-clocks = <&k3_clks 35 2>; 92 + assigned-clock-parents = <&k3_clks 35 3>; 93 + power-domains = <&k3_pds 35 TI_SCI_PD_EXCLUSIVE>; 94 + ti,timer-pwm; 95 + /* Non-MPU Firmware usage */ 96 + status = "reserved"; 97 + }; 98 + 99 + mcu_timer1: timer@40410000 { 100 + compatible = "ti,am654-timer"; 101 + reg = <0x00 0x40410000 0x00 0x400>; 102 + interrupts = <GIC_SPI 817 IRQ_TYPE_LEVEL_HIGH>; 103 + clocks = <&k3_clks 117 2>; 104 + clock-names = "fck"; 105 + assigned-clocks = <&k3_clks 117 2>; 106 + assigned-clock-parents = <&k3_clks 117 3>; 107 + power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>; 108 + ti,timer-pwm; 109 + /* Non-MPU Firmware usage */ 110 + status = "reserved"; 111 + }; 112 + 113 + mcu_timer2: timer@40420000 { 114 + compatible = "ti,am654-timer"; 115 + reg = <0x00 0x40420000 0x00 0x400>; 116 + interrupts = <GIC_SPI 818 IRQ_TYPE_LEVEL_HIGH>; 117 + clocks = <&k3_clks 118 2>; 118 + clock-names = "fck"; 119 + assigned-clocks = <&k3_clks 118 2>; 120 + assigned-clock-parents = <&k3_clks 118 3>; 121 + power-domains = <&k3_pds 118 TI_SCI_PD_EXCLUSIVE>; 122 + ti,timer-pwm; 123 + /* Non-MPU Firmware usage */ 124 + status = "reserved"; 125 + }; 126 + 127 + mcu_timer3: timer@40430000 { 128 + compatible = "ti,am654-timer"; 129 + reg = <0x00 0x40430000 0x00 0x400>; 130 + interrupts = <GIC_SPI 819 IRQ_TYPE_LEVEL_HIGH>; 131 + clocks = <&k3_clks 119 2>; 132 + clock-names = "fck"; 133 + assigned-clocks = <&k3_clks 119 2>; 134 + assigned-clock-parents = <&k3_clks 119 3>; 135 + power-domains = <&k3_pds 119 TI_SCI_PD_EXCLUSIVE>; 136 + ti,timer-pwm; 137 + /* Non-MPU Firmware usage */ 138 + status = "reserved"; 139 + }; 140 + 141 + mcu_timer4: timer@40440000 { 142 + compatible = "ti,am654-timer"; 143 + reg = <0x00 0x40440000 0x00 0x400>; 144 + interrupts = <GIC_SPI 820 IRQ_TYPE_LEVEL_HIGH>; 145 + clocks = <&k3_clks 120 2>; 146 + clock-names = "fck"; 147 + assigned-clocks = <&k3_clks 120 2>; 148 + assigned-clock-parents = <&k3_clks 120 3>; 149 + power-domains = <&k3_pds 120 TI_SCI_PD_EXCLUSIVE>; 150 + ti,timer-pwm; 151 + /* Non-MPU Firmware usage */ 152 + status = "reserved"; 153 + }; 154 + 155 + mcu_timer5: timer@40450000 { 156 + compatible = "ti,am654-timer"; 157 + reg = <0x00 0x40450000 0x00 0x400>; 158 + interrupts = <GIC_SPI 821 IRQ_TYPE_LEVEL_HIGH>; 159 + clocks = <&k3_clks 121 2>; 160 + clock-names = "fck"; 161 + assigned-clocks = <&k3_clks 121 2>; 162 + assigned-clock-parents = <&k3_clks 121 3>; 163 + power-domains = <&k3_pds 121 TI_SCI_PD_EXCLUSIVE>; 164 + ti,timer-pwm; 165 + /* Non-MPU Firmware usage */ 166 + status = "reserved"; 167 + }; 168 + 169 + mcu_timer6: timer@40460000 { 170 + compatible = "ti,am654-timer"; 171 + reg = <0x00 0x40460000 0x00 0x400>; 172 + interrupts = <GIC_SPI 822 IRQ_TYPE_LEVEL_HIGH>; 173 + clocks = <&k3_clks 122 2>; 174 + clock-names = "fck"; 175 + assigned-clocks = <&k3_clks 122 2>; 176 + assigned-clock-parents = <&k3_clks 122 3>; 177 + power-domains = <&k3_pds 122 TI_SCI_PD_EXCLUSIVE>; 178 + ti,timer-pwm; 179 + /* Non-MPU Firmware usage */ 180 + status = "reserved"; 181 + }; 182 + 183 + mcu_timer7: timer@40470000 { 184 + compatible = "ti,am654-timer"; 185 + reg = <0x00 0x40470000 0x00 0x400>; 186 + interrupts = <GIC_SPI 823 IRQ_TYPE_LEVEL_HIGH>; 187 + clocks = <&k3_clks 123 2>; 188 + clock-names = "fck"; 189 + assigned-clocks = <&k3_clks 123 2>; 190 + assigned-clock-parents = <&k3_clks 123 3>; 191 + power-domains = <&k3_pds 123 TI_SCI_PD_EXCLUSIVE>; 192 + ti,timer-pwm; 193 + /* Non-MPU Firmware usage */ 194 + status = "reserved"; 195 + }; 196 + 197 + mcu_timer8: timer@40480000 { 198 + compatible = "ti,am654-timer"; 199 + reg = <0x00 0x40480000 0x00 0x400>; 200 + interrupts = <GIC_SPI 824 IRQ_TYPE_LEVEL_HIGH>; 201 + clocks = <&k3_clks 124 2>; 202 + clock-names = "fck"; 203 + assigned-clocks = <&k3_clks 124 2>; 204 + assigned-clock-parents = <&k3_clks 124 3>; 205 + power-domains = <&k3_pds 124 TI_SCI_PD_EXCLUSIVE>; 206 + ti,timer-pwm; 207 + /* Non-MPU Firmware usage */ 208 + status = "reserved"; 209 + }; 210 + 211 + mcu_timer9: timer@40490000 { 212 + compatible = "ti,am654-timer"; 213 + reg = <0x00 0x40490000 0x00 0x400>; 214 + interrupts = <GIC_SPI 825 IRQ_TYPE_LEVEL_HIGH>; 215 + clocks = <&k3_clks 125 2>; 216 + clock-names = "fck"; 217 + assigned-clocks = <&k3_clks 125 2>; 218 + assigned-clock-parents = <&k3_clks 125 3>; 219 + power-domains = <&k3_pds 125 TI_SCI_PD_EXCLUSIVE>; 220 + ti,timer-pwm; 221 + /* Non-MPU Firmware usage */ 222 + status = "reserved"; 147 223 }; 148 224 149 225 wkup_uart0: serial@42300000 { ··· 484 280 }; 485 281 }; 486 282 283 + secure_proxy_mcu: mailbox@2a480000 { 284 + compatible = "ti,am654-secure-proxy"; 285 + #mbox-cells = <1>; 286 + reg-names = "target_data", "rt", "scfg"; 287 + reg = <0x00 0x2a480000 0x00 0x80000>, 288 + <0x00 0x2a380000 0x00 0x80000>, 289 + <0x00 0x2a400000 0x00 0x80000>; 290 + /* 291 + * Marked Disabled: 292 + * Node is incomplete as it is meant for bootloaders and 293 + * firmware on non-MPU processors 294 + */ 295 + status = "disabled"; 296 + }; 297 + 487 298 mcu_cpsw: ethernet@46000000 { 488 299 compatible = "ti,j721e-cpsw-nuss"; 489 300 #address-cells = <2>; ··· 559 340 interrupt-names = "cpts"; 560 341 ti,cpts-ext-ts-inputs = <4>; 561 342 ti,cpts-periodic-outputs = <2>; 343 + }; 344 + }; 345 + 346 + mcu_r5fss0: r5fss@41000000 { 347 + compatible = "ti,j721s2-r5fss"; 348 + ti,cluster-mode = <1>; 349 + #address-cells = <1>; 350 + #size-cells = <1>; 351 + ranges = <0x41000000 0x00 0x41000000 0x20000>, 352 + <0x41400000 0x00 0x41400000 0x20000>; 353 + power-domains = <&k3_pds 345 TI_SCI_PD_EXCLUSIVE>; 354 + 355 + mcu_r5fss0_core0: r5f@41000000 { 356 + compatible = "ti,j721s2-r5f"; 357 + reg = <0x41000000 0x00010000>, 358 + <0x41010000 0x00010000>; 359 + reg-names = "atcm", "btcm"; 360 + ti,sci = <&sms>; 361 + ti,sci-dev-id = <346>; 362 + ti,sci-proc-ids = <0x01 0xff>; 363 + resets = <&k3_reset 346 1>; 364 + firmware-name = "j784s4-mcu-r5f0_0-fw"; 365 + ti,atcm-enable = <1>; 366 + ti,btcm-enable = <1>; 367 + ti,loczrama = <1>; 368 + }; 369 + 370 + mcu_r5fss0_core1: r5f@41400000 { 371 + compatible = "ti,j721s2-r5f"; 372 + reg = <0x41400000 0x00010000>, 373 + <0x41410000 0x00010000>; 374 + reg-names = "atcm", "btcm"; 375 + ti,sci = <&sms>; 376 + ti,sci-dev-id = <347>; 377 + ti,sci-proc-ids = <0x02 0xff>; 378 + resets = <&k3_reset 347 1>; 379 + firmware-name = "j784s4-mcu-r5f0_1-fw"; 380 + ti,atcm-enable = <1>; 381 + ti,btcm-enable = <1>; 382 + ti,loczrama = <1>; 383 + }; 384 + }; 385 + 386 + wkup_vtm0: temperature-sensor@42040000 { 387 + compatible = "ti,j7200-vtm"; 388 + reg = <0x00 0x42040000 0x00 0x350>, 389 + <0x00 0x42050000 0x00 0x350>; 390 + power-domains = <&k3_pds 154 TI_SCI_PD_SHARED>; 391 + #thermal-sensor-cells = <1>; 392 + }; 393 + 394 + tscadc0: tscadc@40200000 { 395 + compatible = "ti,am3359-tscadc"; 396 + reg = <0x00 0x40200000 0x00 0x1000>; 397 + interrupts = <GIC_SPI 860 IRQ_TYPE_LEVEL_HIGH>; 398 + power-domains = <&k3_pds 0 TI_SCI_PD_EXCLUSIVE>; 399 + clocks = <&k3_clks 0 0>; 400 + assigned-clocks = <&k3_clks 0 2>; 401 + assigned-clock-rates = <60000000>; 402 + clock-names = "fck"; 403 + dmas = <&main_udmap 0x7400>, 404 + <&main_udmap 0x7401>; 405 + dma-names = "fifo0", "fifo1"; 406 + status = "disabled"; 407 + 408 + adc { 409 + #io-channel-cells = <1>; 410 + compatible = "ti,am3359-adc"; 411 + }; 412 + }; 413 + 414 + tscadc1: tscadc@40210000 { 415 + compatible = "ti,am3359-tscadc"; 416 + reg = <0x00 0x40210000 0x00 0x1000>; 417 + interrupts = <GIC_SPI 861 IRQ_TYPE_LEVEL_HIGH>; 418 + power-domains = <&k3_pds 1 TI_SCI_PD_EXCLUSIVE>; 419 + clocks = <&k3_clks 1 0>; 420 + assigned-clocks = <&k3_clks 1 2>; 421 + assigned-clock-rates = <60000000>; 422 + clock-names = "fck"; 423 + dmas = <&main_udmap 0x7402>, 424 + <&main_udmap 0x7403>; 425 + dma-names = "fifo0", "fifo1"; 426 + status = "disabled"; 427 + 428 + adc { 429 + #io-channel-cells = <1>; 430 + compatible = "ti,am3359-adc"; 431 + }; 432 + }; 433 + 434 + fss: bus@47000000 { 435 + compatible = "simple-bus"; 436 + reg = <0x00 0x47000000 0x00 0x100>; 437 + #address-cells = <2>; 438 + #size-cells = <2>; 439 + ranges; 440 + 441 + ospi0: spi@47040000 { 442 + compatible = "ti,am654-ospi", "cdns,qspi-nor"; 443 + reg = <0x00 0x47040000 0x00 0x100>, 444 + <0x05 0x0000000 0x01 0x0000000>; 445 + interrupts = <GIC_SPI 840 IRQ_TYPE_LEVEL_HIGH>; 446 + cdns,fifo-depth = <256>; 447 + cdns,fifo-width = <4>; 448 + cdns,trigger-address = <0x0>; 449 + clocks = <&k3_clks 161 7>; 450 + assigned-clocks = <&k3_clks 161 7>; 451 + assigned-clock-parents = <&k3_clks 161 9>; 452 + assigned-clock-rates = <166666666>; 453 + power-domains = <&k3_pds 161 TI_SCI_PD_EXCLUSIVE>; 454 + #address-cells = <1>; 455 + #size-cells = <0>; 456 + status = "disabled"; 457 + }; 458 + 459 + ospi1: spi@47050000 { 460 + compatible = "ti,am654-ospi", "cdns,qspi-nor"; 461 + reg = <0x00 0x47050000 0x00 0x100>, 462 + <0x07 0x0000000 0x01 0x0000000>; 463 + interrupts = <GIC_SPI 841 IRQ_TYPE_LEVEL_HIGH>; 464 + cdns,fifo-depth = <256>; 465 + cdns,fifo-width = <4>; 466 + cdns,trigger-address = <0x0>; 467 + clocks = <&k3_clks 162 7>; 468 + power-domains = <&k3_pds 162 TI_SCI_PD_EXCLUSIVE>; 469 + #address-cells = <1>; 470 + #size-cells = <0>; 471 + status = "disabled"; 562 472 }; 563 473 }; 564 474 };
+101
arch/arm64/boot/dts/ti/k3-j784s4-thermal.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + #include <dt-bindings/thermal/thermal.h> 4 + 5 + wkup0_thermal: wkup0-thermal { 6 + polling-delay-passive = <250>; /* milliseconds */ 7 + polling-delay = <500>; /* milliseconds */ 8 + thermal-sensors = <&wkup_vtm0 0>; 9 + 10 + trips { 11 + wkup0_crit: wkup0-crit { 12 + temperature = <125000>; /* milliCelsius */ 13 + hysteresis = <2000>; /* milliCelsius */ 14 + type = "critical"; 15 + }; 16 + }; 17 + }; 18 + 19 + wkup1_thermal: wkup1-thermal { 20 + polling-delay-passive = <250>; /* milliseconds */ 21 + polling-delay = <500>; /* milliseconds */ 22 + thermal-sensors = <&wkup_vtm0 1>; 23 + 24 + trips { 25 + wkup1_crit: wkup1-crit { 26 + temperature = <125000>; /* milliCelsius */ 27 + hysteresis = <2000>; /* milliCelsius */ 28 + type = "critical"; 29 + }; 30 + }; 31 + }; 32 + 33 + main0_thermal: main0-thermal { 34 + polling-delay-passive = <250>; /* milliseconds */ 35 + polling-delay = <500>; /* milliseconds */ 36 + thermal-sensors = <&wkup_vtm0 2>; 37 + 38 + trips { 39 + main0_crit: main0-crit { 40 + temperature = <125000>; /* milliCelsius */ 41 + hysteresis = <2000>; /* milliCelsius */ 42 + type = "critical"; 43 + }; 44 + }; 45 + }; 46 + 47 + main1_thermal: main1-thermal { 48 + polling-delay-passive = <250>; /* milliseconds */ 49 + polling-delay = <500>; /* milliseconds */ 50 + thermal-sensors = <&wkup_vtm0 3>; 51 + 52 + trips { 53 + main1_crit: main1-crit { 54 + temperature = <125000>; /* milliCelsius */ 55 + hysteresis = <2000>; /* milliCelsius */ 56 + type = "critical"; 57 + }; 58 + }; 59 + }; 60 + 61 + main2_thermal: main2-thermal { 62 + polling-delay-passive = <250>; /* milliseconds */ 63 + polling-delay = <500>; /* milliseconds */ 64 + thermal-sensors = <&wkup_vtm0 4>; 65 + 66 + trips { 67 + main2_crit: main2-crit { 68 + temperature = <125000>; /* milliCelsius */ 69 + hysteresis = <2000>; /* milliCelsius */ 70 + type = "critical"; 71 + }; 72 + }; 73 + }; 74 + 75 + main3_thermal: main3-thermal { 76 + polling-delay-passive = <250>; /* milliseconds */ 77 + polling-delay = <500>; /* milliseconds */ 78 + thermal-sensors = <&wkup_vtm0 5>; 79 + 80 + trips { 81 + main3_crit: main3-crit { 82 + temperature = <125000>; /* milliCelsius */ 83 + hysteresis = <2000>; /* milliCelsius */ 84 + type = "critical"; 85 + }; 86 + }; 87 + }; 88 + 89 + main4_thermal: main4-thermal { 90 + polling-delay-passive = <250>; /* milliseconds */ 91 + polling-delay = <500>; /* milliseconds */ 92 + thermal-sensors = <&wkup_vtm0 6>; 93 + 94 + trips { 95 + main4_crit: main4-crit { 96 + temperature = <125000>; /* milliCelsius */ 97 + hysteresis = <2000>; /* milliCelsius */ 98 + type = "critical"; 99 + }; 100 + }; 101 + };
+5 -1
arch/arm64/boot/dts/ti/k3-j784s4.dtsi
··· 2 2 /* 3 3 * Device Tree Source for J784S4 SoC Family 4 4 * 5 - * TRM (SPRUJ43 JULY 2022) : http://www.ti.com/lit/zip/spruj52 5 + * TRM (SPRUJ43 JULY 2022): https://www.ti.com/lit/zip/spruj52 6 6 * 7 7 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 8 8 * ··· 280 280 <0x05 0x00000000 0x05 0x00000000 0x01 0x00000000>, /* FSS OSPI0 data region 3 */ 281 281 <0x07 0x00000000 0x07 0x00000000 0x01 0x00000000>; /* FSS OSPI1 data region 3*/ 282 282 }; 283 + }; 284 + 285 + thermal_zones: thermal-zones { 286 + #include "k3-j784s4-thermal.dtsi" 283 287 }; 284 288 }; 285 289