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.10' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux into soc/dt

TI K3 device tree updates for v6.10

Generic Cleanups/Fixes:
- fixup of generated dtb imx219 overlay file names
- Remove UART baud rate selection in device tree.
- Use exact ranges for FSS.

SoC specific Fixes/Features:

AM625:
- Add USB PHY2 region and usb phy control registers

AM62A
- Add USB PHY2 region and usb phy control registers, Disable USB LPM.
- Add wave-512 video encoder/decoder support
- Enable UHS mode for SD

AM62P:
- Disable ethernet by default
- Add USB support

AM654
- Serdes fixups
- SDHCI fixups.

AM67/j722s:
- Disable ethernet by default
- Add USB support

AM68/J721s2:
- Add main ESM range
- Add support for SDR104

AM69/J784S4:
- Add main ESM range
- Enable support for UHS mode

Board specific fixes/Features:

AM625:
- BeaglePlay: Fixes for wlan mmc-pwrseq and ethernet phy reset
- phyboard-lyra: Add Audio codec, USB-C, increase CAN bit rate and enable
ability to apply overlays
- verdin: GPIO pinctrl fixups, Switch SD carddetect to GPIO, fixup memory
to 2GB, and audio clock, PCIe reset GPIO hog, sleep-moci
- lp-sk: Drop power button
- sk: minor white space cleanup.

AM64
- phyboard-electra: Increase CAN bit rate, enable overlay to enable GPIO fan

AM65:
- iot2050: Add icssg-prueth for PG1

AM67/j722s:
- evm: Enable UHS support for SD card and eMMC support.

AM69/J784s4:
- evm/sk: Fix uart pins and pinctrl macro usage.

* tag 'ti-k3-dt-for-v6.10' of https://git.kernel.org/pub/scm/linux/kernel/git/ti/linux: (48 commits)
arm64: dts: ti: Fix csi2-dual-imx219 dtb names
arm64: dts: ti: k3-am625-beagleplay: Fix Ethernet PHY RESET GPIOs
arm64: dts: ti: k3-am625-phyboard-lyra-rdk: Add USB-C
arm64: dts: ti: k3-j784s4: Add main esm address range
arm64: dts: ti: k3-j721s2: Add main esm address range
arm64: dts: ti: k3-am62-verdin-dahlia: support sleep-moci
arm64: dts: ti: k3-am62-verdin: replace sleep-moci hog with regulator
arm64: dts: ti: k3-j722s-evm: Enable UHS support for MMCSD
arm64: dts: ti: k3-j784s4-main: Enable support for UHS mode
arm64: dts: ti: k3-j721s2-main: Enable support for SDR104 speed mode
arm64: dts: ti: k3-am62a: Enable UHS mode support for SD cards
arm64: dts: ti: k3-am65-main: Remove unused properties in sdhci nodes
arm64: dts: ti: k3-am65-main: Fix sdhci node properties
arm64: dts: ti: Enable overlays for the am625-phyboard-lyra
arm64: dts: ti: am64-phyboard-electra: Add overlay to enable a GPIO fan
arm64: dts: ti: k3-am62a-main: Add Wave5 Video Encoder/Decoder Node
arm64: dts: ti: k3-am69-sk: Fix UART pin type and macro type
arm64: dts: ti: k3-j784s4-evm: Fix UART pin type and macro type
arm64: dts: ti: k3-am62a: Disable USB LPM
arm64: dts: ti: k3-am62p: add the USB sub-system
...

Link: https://lore.kernel.org/r/20240501124319.ake5j2oc5pbnn5nb@contour
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

+597 -167
+8 -3
arch/arm64/boot/dts/ti/Makefile
··· 48 48 dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-pcie.dtb 49 49 dtb-$(CONFIG_ARCH_K3) += k3-am642-hummingboard-t-usb3.dtb 50 50 dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-rdk.dtb 51 + dtb-$(CONFIG_ARCH_K3) += k3-am642-phyboard-electra-gpio-fan.dtbo 51 52 dtb-$(CONFIG_ARCH_K3) += k3-am642-sk.dtb 52 53 dtb-$(CONFIG_ARCH_K3) += k3-am642-tqma64xxl-mbax4xxl.dtb 53 54 dtb-$(CONFIG_ARCH_K3) += k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo ··· 132 131 k3-am62x-sk-csi2-tevi-ov5640.dtbo 133 132 k3-am642-evm-icssg1-dualemac-dtbs := \ 134 133 k3-am642-evm.dtb k3-am642-evm-icssg1-dualemac.dtbo 134 + k3-am642-phyboard-electra-gpio-fan-dtbs := \ 135 + k3-am642-phyboard-electra-rdk.dtb k3-am642-phyboard-electra-gpio-fan.dtbo 135 136 k3-am642-tqma64xxl-mbax4xxl-sdcard-dtbs := \ 136 137 k3-am642-tqma64xxl-mbax4xxl.dtb k3-am64-tqma64xxl-mbax4xxl-sdcard.dtbo 137 138 k3-am642-tqma64xxl-mbax4xxl-wlan-dtbs := \ ··· 164 161 k3-am642-evm-icssg1-dualemac.dtb \ 165 162 k3-am642-tqma64xxl-mbax4xxl-sdcard.dtb \ 166 163 k3-am642-tqma64xxl-mbax4xxl-wlan.dtb \ 167 - k3-am68-sk-base-board-csi2-dual-imx219-dtbs \ 168 - k3-am69-sk-csi2-dual-imx219-dtbs \ 164 + k3-am68-sk-base-board-csi2-dual-imx219.dtb \ 165 + k3-am69-sk-csi2-dual-imx219.dtb \ 169 166 k3-j721e-evm-pcie0-ep.dtb \ 170 - k3-j721e-sk-csi2-dual-imx219-dtbs \ 167 + k3-j721e-sk-csi2-dual-imx219.dtb \ 171 168 k3-j721s2-evm-pcie1-ep.dtb 172 169 173 170 # Enable support for device-tree overlays 174 171 DTC_FLAGS_k3-am625-beagleplay += -@ 172 + DTC_FLAGS_k3-am625-phyboard-lyra-rdk += -@ 175 173 DTC_FLAGS_k3-am625-sk += -@ 176 174 DTC_FLAGS_k3-am62-lp-sk += -@ 177 175 DTC_FLAGS_k3-am62a7-sk += -@ 178 176 DTC_FLAGS_k3-am62p5-sk += -@ 179 177 DTC_FLAGS_k3-am642-evm += -@ 178 + DTC_FLAGS_k3-am642-phyboard-electra-rdk += -@ 180 179 DTC_FLAGS_k3-am642-tqma64xxl-mbax4xxl += -@ 181 180 DTC_FLAGS_k3-am6548-iot2050-advanced-m2 += -@ 182 181 DTC_FLAGS_k3-am68-sk-base-board += -@
-1
arch/arm64/boot/dts/ti/k3-am62-lp-sk.dts
··· 166 166 167 167 interrupt-parent = <&gic500>; 168 168 interrupts = <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>; 169 - ti,power-button; 170 169 171 170 regulators { 172 171 buck1_reg: buck1 {
+6 -4
arch/arm64/boot/dts/ti/k3-am62-main.dtsi
··· 619 619 620 620 usbss0: dwc3-usb@f900000 { 621 621 compatible = "ti,am62-usb"; 622 - reg = <0x00 0x0f900000 0x00 0x800>; 622 + reg = <0x00 0x0f900000 0x00 0x800>, 623 + <0x00 0x0f908000 0x00 0x400>; 623 624 clocks = <&k3_clks 161 3>; 624 625 clock-names = "ref"; 625 - ti,syscon-phy-pll-refclk = <&wkup_conf 0x4008>; 626 + ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; 626 627 #address-cells = <2>; 627 628 #size-cells = <2>; 628 629 power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>; ··· 645 644 646 645 usbss1: dwc3-usb@f910000 { 647 646 compatible = "ti,am62-usb"; 648 - reg = <0x00 0x0f910000 0x00 0x800>; 647 + reg = <0x00 0x0f910000 0x00 0x800>, 648 + <0x00 0x0f918000 0x00 0x400>; 649 649 clocks = <&k3_clks 162 3>; 650 650 clock-names = "ref"; 651 - ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>; 651 + ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; 652 652 #address-cells = <2>; 653 653 #size-cells = <2>; 654 654 power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>;
+30 -2
arch/arm64/boot/dts/ti/k3-am62-verdin-dahlia.dtsi
··· 22 22 simple-audio-card,format = "i2s"; 23 23 simple-audio-card,frame-master = <&codec_dai>; 24 24 simple-audio-card,name = "verdin-wm8904"; 25 + simple-audio-card,mclk-fs = <256>; 25 26 simple-audio-card,routing = 26 27 "Headphone Jack", "HPOUTL", 27 28 "Headphone Jack", "HPOUTR", ··· 36 35 "Line", "Line In Jack"; 37 36 38 37 codec_dai: simple-audio-card,codec { 39 - clocks = <&audio_refclk1>; 40 38 sound-dai = <&wm8904_1a>; 41 39 }; 42 40 43 41 simple-audio-card,cpu { 44 42 sound-dai = <&mcasp0>; 45 43 }; 44 + }; 45 + 46 + reg_usb_hub: regulator-usb-hub { 47 + compatible = "regulator-fixed"; 48 + enable-active-high; 49 + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 50 + gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 51 + regulator-boot-on; 52 + regulator-name = "HUB_PWR_EN"; 46 53 }; 47 54 }; 48 55 ··· 169 160 pinctrl-0 = <&pinctrl_gpio_1>, 170 161 <&pinctrl_gpio_2>, 171 162 <&pinctrl_gpio_3>, 172 - <&pinctrl_gpio_4>; 163 + <&pinctrl_gpio_4>, 164 + <&pinctrl_pcie_1_reset>; 173 165 }; 174 166 175 167 /* Verdin I2C_3_HDMI */ ··· 193 183 status = "okay"; 194 184 }; 195 185 186 + /* Do not force CTRL_SLEEP_MOCI# always enabled */ 187 + &reg_force_sleep_moci { 188 + status = "disabled"; 189 + }; 190 + 196 191 /* Verdin SD_1 */ 197 192 &sdhci1 { 198 193 status = "okay"; ··· 218 203 }; 219 204 220 205 &usb1 { 206 + #address-cells = <1>; 207 + #size-cells = <0>; 221 208 status = "okay"; 209 + 210 + usb-hub@1 { 211 + compatible = "usb424,2744"; 212 + reg = <1>; 213 + vdd-supply = <&reg_usb_hub>; 214 + }; 222 215 }; 223 216 224 217 /* Verdin CTRL_WAKE1_MICO# */ 225 218 &verdin_gpio_keys { 219 + status = "okay"; 220 + }; 221 + 222 + /* Verdin PCIE_1_RESET# */ 223 + &verdin_pcie_1_reset_hog { 226 224 status = "okay"; 227 225 }; 228 226
+7 -1
arch/arm64/boot/dts/ti/k3-am62-verdin-dev.dtsi
··· 181 181 pinctrl-0 = <&pinctrl_gpio_1>, 182 182 <&pinctrl_gpio_2>, 183 183 <&pinctrl_gpio_3>, 184 - <&pinctrl_gpio_4>; 184 + <&pinctrl_gpio_4>, 185 + <&pinctrl_pcie_1_reset>; 185 186 }; 186 187 187 188 /* Verdin I2C_3_HDMI */ ··· 230 229 231 230 /* Verdin CTRL_WAKE1_MICO# */ 232 231 &verdin_gpio_keys { 232 + status = "okay"; 233 + }; 234 + 235 + /* Verdin PCIE_1_RESET# */ 236 + &verdin_pcie_1_reset_hog { 233 237 status = "okay"; 234 238 }; 235 239
+18 -4
arch/arm64/boot/dts/ti/k3-am62-verdin-mallow.dtsi
··· 81 81 &main_gpio0 { 82 82 pinctrl-names = "default"; 83 83 pinctrl-0 = <&pinctrl_ctrl_sleep_moci>, 84 - <&pinctrl_gpio_1>, 85 - <&pinctrl_gpio_2>, 86 - <&pinctrl_gpio_3>, 87 - <&pinctrl_gpio_4>; 84 + <&pinctrl_gpio_5>, 85 + <&pinctrl_gpio_6>, 86 + <&pinctrl_gpio_7>, 87 + <&pinctrl_gpio_8>; 88 88 }; 89 89 90 90 /* Verdin I2C_1 */ ··· 149 149 status = "okay"; 150 150 }; 151 151 152 + &mcu_gpio0 { 153 + pinctrl-names = "default"; 154 + pinctrl-0 = <&pinctrl_gpio_1>, 155 + <&pinctrl_gpio_2>, 156 + <&pinctrl_gpio_3>, 157 + <&pinctrl_gpio_4>, 158 + <&pinctrl_pcie_1_reset>; 159 + }; 160 + 152 161 /* Verdin I2C_3_HDMI */ 153 162 &mcu_i2c0 { 154 163 status = "okay"; ··· 198 189 199 190 /* Verdin CTRL_WAKE1_MICO# */ 200 191 &verdin_gpio_keys { 192 + status = "okay"; 193 + }; 194 + 195 + /* Verdin PCIE_1_RESET# */ 196 + &verdin_pcie_1_reset_hog { 201 197 status = "okay"; 202 198 }; 203 199
+7 -1
arch/arm64/boot/dts/ti/k3-am62-verdin-yavia.dtsi
··· 159 159 pinctrl-0 = <&pinctrl_gpio_1>, 160 160 <&pinctrl_gpio_2>, 161 161 <&pinctrl_gpio_3>, 162 - <&pinctrl_gpio_4>; 162 + <&pinctrl_gpio_4>, 163 + <&pinctrl_pcie_1_reset>; 163 164 }; 164 165 165 166 /* Verdin I2C_3_HDMI */ ··· 203 202 204 203 /* Verdin CTRL_WAKE1_MICO# */ 205 204 &verdin_gpio_keys { 205 + status = "okay"; 206 + }; 207 + 208 + /* Verdin PCIE_1_RESET# */ 209 + &verdin_pcie_1_reset_hog { 206 210 status = "okay"; 207 211 }; 208 212
+36 -11
arch/arm64/boot/dts/ti/k3-am62-verdin.dtsi
··· 76 76 77 77 memory@80000000 { 78 78 device_type = "memory"; 79 - reg = <0x00000000 0x80000000 0x00000000 0x40000000>; /* 1G RAM */ 79 + reg = <0x00000000 0x80000000 0x00000000 0x80000000>; /* 2G RAM */ 80 80 }; 81 81 82 82 opp-table { ··· 136 136 regulator-min-microvolt = <1800000>; 137 137 regulator-name = "On-module +V1.8_ETH"; 138 138 vin-supply = <&reg_1v8>; 139 + }; 140 + 141 + /* 142 + * By default we enable CTRL_SLEEP_MOCI#, this is required to have 143 + * peripherals on the carrier board powered. 144 + * If more granularity or power saving is required this can be disabled 145 + * in the carrier board device tree files. 146 + */ 147 + reg_force_sleep_moci: regulator-force-sleep-moci { 148 + compatible = "regulator-fixed"; 149 + enable-active-high; 150 + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 151 + gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 152 + regulator-always-on; 153 + regulator-boot-on; 154 + regulator-name = "CTRL_SLEEP_MOCI#"; 139 155 }; 140 156 141 157 /* Verdin SD_1 Power Supply */ ··· 473 457 >; 474 458 }; 475 459 460 + /* Verdin SD_1_CD# as GPIO */ 461 + pinctrl_sd1_cd_gpio: main-gpio1-48-default-pins { 462 + pinctrl-single,pins = < 463 + AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 7) /* (D17) MMC1_SDCD.GPIO1_48 */ /* SODIMM 84 */ 464 + >; 465 + }; 466 + 476 467 /* Verdin DSI_1_INT# (pulled-up as active-low) */ 477 468 pinctrl_dsi1_int: main-gpio1-49-default-pins { 478 469 pinctrl-single,pins = < ··· 594 571 AM62X_IOPAD(0x22c, PIN_INPUT, 0) /* (B21) MMC1_DAT1 */ /* SODIMM 82 */ 595 572 AM62X_IOPAD(0x228, PIN_INPUT, 0) /* (C21) MMC1_DAT2 */ /* SODIMM 70 */ 596 573 AM62X_IOPAD(0x224, PIN_INPUT, 0) /* (D22) MMC1_DAT3 */ /* SODIMM 72 */ 597 - AM62X_IOPAD(0x240, PIN_INPUT_PULLUP, 0) /* (D17) MMC1_SDCD */ /* SODIMM 84 */ 598 574 >; 599 575 }; 600 576 ··· 1001 979 "", 1002 980 "", 1003 981 ""; 1004 - 1005 - verdin_ctrl_sleep_moci: ctrl-sleep-moci-hog { 1006 - gpio-hog; 1007 - /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ 1008 - gpios = <31 GPIO_ACTIVE_HIGH>; 1009 - line-name = "CTRL_SLEEP_MOCI#"; 1010 - output-high; 1011 - }; 1012 982 }; 1013 983 1014 984 &main_gpio1 { ··· 1421 1407 "", 1422 1408 "", 1423 1409 ""; 1410 + 1411 + verdin_pcie_1_reset_hog: pcie-1-reset-hog { 1412 + gpio-hog; 1413 + /* Verdin PCIE_1_RESET# (SODIMM 244) */ 1414 + gpios = <0 GPIO_ACTIVE_LOW>; 1415 + line-name = "PCIE_1_RESET#"; 1416 + output-low; 1417 + status = "disabled"; 1418 + }; 1424 1419 }; 1425 1420 1426 1421 /* Verdin CAN_2 */ ··· 1464 1441 /* Verdin SD_1 */ 1465 1442 &sdhci1 { 1466 1443 pinctrl-names = "default"; 1467 - pinctrl-0 = <&pinctrl_sdhci1>; 1444 + pinctrl-0 = <&pinctrl_sdhci1>, <&pinctrl_sd1_cd_gpio>; 1445 + cd-gpios = <&main_gpio1 48 GPIO_ACTIVE_LOW>; 1468 1446 disable-wp; 1469 1447 vmmc-supply = <&reg_sdhc1_vmmc>; 1470 1448 vqmmc-supply = <&reg_sdhc1_vqmmc>; 1449 + ti,fails-without-test-cd; 1471 1450 status = "disabled"; 1472 1451 }; 1473 1452
+10
arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi
··· 21 21 compatible = "ti,am654-chipid"; 22 22 reg = <0x14 0x4>; 23 23 }; 24 + 25 + usb0_phy_ctrl: syscon@4008 { 26 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 27 + reg = <0x4008 0x4>; 28 + }; 29 + 30 + usb1_phy_ctrl: syscon@4018 { 31 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 32 + reg = <0x4018 0x4>; 33 + }; 24 34 }; 25 35 26 36 target-module@2b300050 {
+18 -17
arch/arm64/boot/dts/ti/k3-am625-beagleplay.dts
··· 82 82 }; 83 83 }; 84 84 85 + sdio_pwrseq: sdio-pwrseq { 86 + compatible = "mmc-pwrseq-simple"; 87 + pinctrl-names = "default"; 88 + pinctrl-0 = <&wifi_en_pins_default>; 89 + /* Internal power on time(Figure 8-3) * 2 */ 90 + post-power-on-delay-ms = <10>; 91 + /* Re-enable time(Figure 8-2) + 20uS */ 92 + power-off-delay-us = <80>; 93 + reset-gpios = <&main_gpio0 38 GPIO_ACTIVE_LOW>; 94 + }; 95 + 85 96 vsys_5v0: regulator-1 { 86 97 bootph-all; 87 98 compatible = "regulator-fixed"; ··· 113 102 vin-supply = <&vsys_5v0>; 114 103 regulator-always-on; 115 104 regulator-boot-on; 116 - }; 117 - 118 - wlan_en: regulator-3 { 119 - /* OUTPUT of SN74AVC2T244DQMR */ 120 - compatible = "regulator-fixed"; 121 - regulator-name = "wlan_en"; 122 - regulator-min-microvolt = <1800000>; 123 - regulator-max-microvolt = <1800000>; 124 - enable-active-high; 125 - regulator-always-on; 126 - vin-supply = <&vdd_3v3>; 127 - gpio = <&main_gpio0 38 GPIO_ACTIVE_HIGH>; 128 - pinctrl-names = "default"; 129 - pinctrl-0 = <&wifi_en_pins_default>; 130 105 }; 131 106 132 107 vdd_3v3_sd: regulator-4 { ··· 289 292 pinctrl-single,pins = < 290 293 AM62X_IOPAD(0x0160, PIN_OUTPUT, 0) /* (AD24) MDIO0_MDC */ 291 294 AM62X_IOPAD(0x015c, PIN_INPUT, 0) /* (AB22) MDIO0_MDIO */ 295 + AM62X_IOPAD(0x003c, PIN_INPUT, 7) /* (M25) GPMC0_AD0.GPIO0_15 */ 296 + AM62X_IOPAD(0x018c, PIN_INPUT, 7) /* (AC21) RGMII2_RD2.GPIO1_5 */ 292 297 >; 293 298 }; 294 299 ··· 382 383 AM62X_IOPAD(0x016c, PIN_INPUT, 1) /* (Y18) RGMII2_TD0.RMII2_TXD0 */ 383 384 AM62X_IOPAD(0x0170, PIN_INPUT, 1) /* (AA18) RGMII2_TD1.RMII2_TXD1 */ 384 385 AM62X_IOPAD(0x0164, PIN_INPUT, 1) /* (AA19) RGMII2_TX_CTL.RMII2_TX_EN */ 385 - AM62X_IOPAD(0x018c, PIN_OUTPUT, 7) /* (AC21) RGMII2_RD2.GPIO1_5 */ 386 386 AM62X_IOPAD(0x0190, PIN_INPUT, 7) /* (AE22) RGMII2_RD3.GPIO1_6 */ 387 387 AM62X_IOPAD(0x01f0, PIN_OUTPUT, 5) /* (A18) EXT_REFCLK1.CLKOUT0 */ 388 388 >; ··· 595 597 596 598 cpsw3g_phy0: ethernet-phy@0 { 597 599 reg = <0>; 600 + reset-gpios = <&main_gpio0 15 GPIO_ACTIVE_LOW>; 601 + reset-assert-us = <10000>; 602 + reset-deassert-us = <50000>; 598 603 }; 599 604 600 605 cpsw3g_phy1: ethernet-phy@1 { ··· 616 615 "USR0", "USR1", "USR2", "USR3", "", "", "USR4", /* 3-9 */ 617 616 "EEPROM_WP", /* 10 */ 618 617 "CSI2_CAMERA_GPIO1", "CSI2_CAMERA_GPIO2", /* 11-12 */ 619 - "CC1352P7_BOOT", "CC1352P7_RSTN", "", "", "", /* 13-17 */ 618 + "CC1352P7_BOOT", "CC1352P7_RSTN", "GBE_RSTN", "", "", /* 13-17 */ 620 619 "USR_BUTTON", "", "", "", "", "", "", "", "", /* 18-26 */ 621 620 "", "", "", "", "", "", "", "", "", "HDMI_INT", /* 27-36 */ 622 621 "", "VDD_WLAN_EN", "", "", "WL_IRQ", "GBE_INTN",/* 37-42 */ ··· 840 839 }; 841 840 842 841 &sdhci2 { 843 - vmmc-supply = <&wlan_en>; 844 842 pinctrl-names = "default"; 845 843 pinctrl-0 = <&wifi_pins_default>, <&wifi_32k_clk>; 846 844 non-removable; 847 845 ti,fails-without-test-cd; 848 846 cap-power-off-card; 849 847 keep-power-in-suspend; 848 + mmc-pwrseq = <&sdio_pwrseq>; 850 849 assigned-clocks = <&k3_clks 157 158>; 851 850 assigned-clock-parents = <&k3_clks 157 160>; 852 851 #address-cells = <1>;
+125 -2
arch/arm64/boot/dts/ti/k3-am625-phyboard-lyra-rdk.dts
··· 31 31 can_tc1: can-phy0 { 32 32 compatible = "ti,tcan1042"; 33 33 #phy-cells = <0>; 34 - max-bitrate = <5000000>; 34 + max-bitrate = <8000000>; 35 35 standby-gpios = <&gpio_exp 1 GPIO_ACTIVE_HIGH>; 36 36 }; 37 37 ··· 66 66 }; 67 67 }; 68 68 69 + sound { 70 + compatible = "simple-audio-card"; 71 + simple-audio-card,name = "phyBOARD-Lyra"; 72 + simple-audio-card,widgets = 73 + "Microphone", "Mic Jack", 74 + "Headphone", "Headphone Jack", 75 + "Speaker", "External Speaker"; 76 + simple-audio-card,routing = 77 + "MIC3R", "Mic Jack", 78 + "Mic Jack", "Mic Bias", 79 + "Headphone Jack", "HPLOUT", 80 + "Headphone Jack", "HPROUT", 81 + "External Speaker", "SPOP", 82 + "External Speaker", "SPOM"; 83 + simple-audio-card,format = "dsp_b"; 84 + simple-audio-card,bitclock-master = <&sound_master>; 85 + simple-audio-card,frame-master = <&sound_master>; 86 + simple-audio-card,bitclock-inversion; 87 + 88 + simple-audio-card,cpu { 89 + sound-dai = <&mcasp2>; 90 + }; 91 + 92 + sound_master: simple-audio-card,codec { 93 + sound-dai = <&audio_codec>; 94 + clocks = <&audio_refclk1>; 95 + }; 96 + }; 97 + 69 98 leds { 70 99 compatible = "gpio-leds"; 71 100 pinctrl-names = "default"; ··· 111 82 }; 112 83 }; 113 84 85 + vcc_1v8: regulator-vcc-1v8 { 86 + compatible = "regulator-fixed"; 87 + regulator-name = "VCC_1V8"; 88 + regulator-min-microvolt = <1800000>; 89 + regulator-max-microvolt = <1800000>; 90 + regulator-always-on; 91 + regulator-boot-on; 92 + }; 93 + 114 94 vcc_3v3_mmc: regulator-vcc-3v3-mmc { 115 95 compatible = "regulator-fixed"; 116 96 regulator-name = "VCC_3V3_MMC"; ··· 128 90 regulator-always-on; 129 91 regulator-boot-on; 130 92 }; 93 + 94 + vcc_3v3_sw: regulator-vcc-3v3-sw { 95 + compatible = "regulator-fixed"; 96 + regulator-name = "VCC_3V3_SW"; 97 + regulator-min-microvolt = <3300000>; 98 + regulator-max-microvolt = <3300000>; 99 + regulator-always-on; 100 + regulator-boot-on; 101 + }; 131 102 }; 132 103 133 104 &main_pmx0 { 105 + audio_ext_refclk1_pins_default: audio-ext-refclk1-default-pins { 106 + pinctrl-single,pins = < 107 + AM62X_IOPAD(0x0a0, PIN_OUTPUT, 1) /* (K25) GPMC0_WPn.AUDIO_EXT_REFCLK1 */ 108 + >; 109 + }; 110 + 134 111 gpio_keys_pins_default: gpio-keys-default-pins { 135 112 pinctrl-single,pins = < 136 113 AM62X_IOPAD(0x1d4, PIN_INPUT, 7) /* (B15) UART0_RTSn.GPIO1_23 */ ··· 200 147 pinctrl-single,pins = < 201 148 AM62X_IOPAD(0x1dc, PIN_INPUT, 0) /* (E15) MCAN0_RX */ 202 149 AM62X_IOPAD(0x1d8, PIN_OUTPUT, 0) /* (C15) MCAN0_TX */ 150 + >; 151 + }; 152 + 153 + main_mcasp2_pins_default: main-mcasp2-default-pins { 154 + pinctrl-single,pins = < 155 + AM62X_IOPAD(0x070, PIN_INPUT, 3) /* (T24) GPMC0_AD13.MCASP2_ACLKX */ 156 + AM62X_IOPAD(0x06c, PIN_INPUT, 3) /* (T22) GPMC0_AD12.MCASP2_AFSX */ 157 + AM62X_IOPAD(0x064, PIN_OUTPUT, 3) /* (T25) GPMC0_AD10.MCASP2_AXR2 */ 158 + AM62X_IOPAD(0x068, PIN_INPUT, 3) /* (R21) GPMC0_AD11.MCASP2_AXR3 */ 203 159 >; 204 160 }; 205 161 ··· 316 254 clock-frequency = <100000>; 317 255 status = "okay"; 318 256 257 + audio_codec: audio-codec@18 { 258 + pinctrl-names = "default"; 259 + pinctrl-0 = <&audio_ext_refclk1_pins_default>; 260 + 261 + #sound-dai-cells = <0>; 262 + compatible = "ti,tlv320aic3007"; 263 + reg = <0x18>; 264 + ai3x-micbias-vg = <2>; 265 + 266 + AVDD-supply = <&vcc_3v3_sw>; 267 + IOVDD-supply = <&vcc_3v3_sw>; 268 + DRVDD-supply = <&vcc_3v3_sw>; 269 + DVDD-supply = <&vcc_1v8>; 270 + }; 271 + 319 272 gpio_exp: gpio-expander@21 { 320 273 pinctrl-names = "default"; 321 274 pinctrl-0 = <&gpio_exp_int_pins_default>; ··· 346 269 "GPIO2_LED2", "GPIO3_LVDS_GPIO", 347 270 "GPIO4_BUT2", "GPIO5_LVDS_BKLT_EN", 348 271 "GPIO6_ETH1_USER_RESET", "GPIO7_AUDIO_USER_RESET"; 272 + }; 273 + 274 + usb-pd@22 { 275 + compatible = "ti,tps6598x"; 276 + reg = <0x22>; 277 + 278 + connector { 279 + compatible = "usb-c-connector"; 280 + label = "USB-C"; 281 + self-powered; 282 + data-role = "dual"; 283 + power-role = "sink"; 284 + port { 285 + usb_con_hs: endpoint { 286 + remote-endpoint = <&typec_hs>; 287 + }; 288 + }; 289 + }; 349 290 }; 350 291 351 292 sii9022: bridge-hdmi@39 { ··· 424 329 status = "okay"; 425 330 }; 426 331 332 + &mcasp2 { 333 + #sound-dai-cells = <0>; 334 + 335 + pinctrl-names = "default"; 336 + pinctrl-0 = <&main_mcasp2_pins_default>; 337 + 338 + /* MCASP_IIS_MODE */ 339 + op-mode = <0>; 340 + tdm-slots = <2>; 341 + 342 + /* 0: INACTIVE, 1: TX, 2: RX */ 343 + serial-dir = < 344 + 0 0 1 2 345 + 0 0 0 0 346 + 0 0 0 0 347 + 0 0 0 0 348 + >; 349 + tx-num-evt = <32>; 350 + rx-num-evt = <32>; 351 + status = "okay"; 352 + }; 353 + 427 354 &sdhci1 { 428 355 vmmc-supply = <&vcc_3v3_mmc>; 429 356 vqmmc-supply = <&vddshv5_sdio>; ··· 467 350 }; 468 351 469 352 &usb0 { 470 - dr_mode = "peripheral"; 353 + usb-role-switch; 354 + 355 + port { 356 + typec_hs: endpoint { 357 + remote-endpoint = <&usb_con_hs>; 358 + }; 359 + }; 471 360 }; 472 361 473 362 &usb1 {
+17 -6
arch/arm64/boot/dts/ti/k3-am62a-main.dtsi
··· 573 573 ti,itap-del-sel-sd-hs = <0x0>; 574 574 ti,itap-del-sel-sdr12 = <0x0>; 575 575 ti,itap-del-sel-sdr25 = <0x0>; 576 - no-1-8-v; 577 576 status = "disabled"; 578 577 }; 579 578 ··· 596 597 ti,itap-del-sel-sd-hs = <0x0>; 597 598 ti,itap-del-sel-sdr12 = <0x0>; 598 599 ti,itap-del-sel-sdr25 = <0x0>; 599 - no-1-8-v; 600 600 status = "disabled"; 601 601 }; 602 602 603 603 usbss0: dwc3-usb@f900000 { 604 604 compatible = "ti,am62-usb"; 605 - reg = <0x00 0x0f900000 0x00 0x800>; 605 + reg = <0x00 0x0f900000 0x00 0x800>, 606 + <0x00 0x0f908000 0x00 0x400>; 606 607 clocks = <&k3_clks 161 3>; 607 608 clock-names = "ref"; 608 - ti,syscon-phy-pll-refclk = <&wkup_conf 0x4008>; 609 + ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; 609 610 #address-cells = <2>; 610 611 #size-cells = <2>; 611 612 power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>; ··· 620 621 interrupt-names = "host", "peripheral"; 621 622 maximum-speed = "high-speed"; 622 623 dr_mode = "otg"; 624 + snps,usb2-gadget-lpm-disable; 625 + snps,usb2-lpm-disable; 623 626 }; 624 627 }; 625 628 626 629 usbss1: dwc3-usb@f910000 { 627 630 compatible = "ti,am62-usb"; 628 - reg = <0x00 0x0f910000 0x00 0x800>; 631 + reg = <0x00 0x0f910000 0x00 0x800>, 632 + <0x00 0x0f918000 0x00 0x400>; 629 633 clocks = <&k3_clks 162 3>; 630 634 clock-names = "ref"; 631 - ti,syscon-phy-pll-refclk = <&wkup_conf 0x4018>; 635 + ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; 632 636 #address-cells = <2>; 633 637 #size-cells = <2>; 634 638 power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; ··· 646 644 interrupt-names = "host", "peripheral"; 647 645 maximum-speed = "high-speed"; 648 646 dr_mode = "otg"; 647 + snps,usb2-gadget-lpm-disable; 648 + snps,usb2-lpm-disable; 649 649 }; 650 650 }; 651 651 ··· 1054 1050 #address-cells = <1>; 1055 1051 #size-cells = <0>; 1056 1052 }; 1053 + }; 1054 + 1055 + vpu: video-codec@30210000 { 1056 + compatible = "ti,j721s2-wave521c", "cnm,wave521c"; 1057 + reg = <0x00 0x30210000 0x00 0x10000>; 1058 + clocks = <&k3_clks 204 2>; 1059 + power-domains = <&k3_pds 204 TI_SCI_PD_EXCLUSIVE>; 1057 1060 }; 1058 1061 };
+10
arch/arm64/boot/dts/ti/k3-am62a-wakeup.dtsi
··· 17 17 compatible = "ti,am654-chipid"; 18 18 reg = <0x14 0x4>; 19 19 }; 20 + 21 + usb0_phy_ctrl: syscon@4008 { 22 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 23 + reg = <0x4008 0x4>; 24 + }; 25 + 26 + usb1_phy_ctrl: syscon@4018 { 27 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 28 + reg = <0x4018 0x4>; 29 + }; 20 30 }; 21 31 22 32 wkup_uart0: serial@2b300000 {
+21
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts
··· 113 113 regulator-boot-on; 114 114 }; 115 115 116 + vddshv_sdio: regulator-5 { 117 + compatible = "regulator-gpio"; 118 + regulator-name = "vddshv_sdio"; 119 + pinctrl-names = "default"; 120 + pinctrl-0 = <&vddshv_sdio_pins_default>; 121 + regulator-min-microvolt = <1800000>; 122 + regulator-max-microvolt = <3300000>; 123 + regulator-boot-on; 124 + vin-supply = <&ldo1>; 125 + gpios = <&main_gpio0 31 GPIO_ACTIVE_HIGH>; 126 + states = <1800000 0x0>, 127 + <3300000 0x1>; 128 + }; 129 + 116 130 leds { 117 131 compatible = "gpio-leds"; 118 132 pinctrl-names = "default"; ··· 354 340 main_gpio1_ioexp_intr_pins_default: main-gpio1-ioexp-intr-default-pins { 355 341 pinctrl-single,pins = < 356 342 AM62AX_IOPAD(0x01d4, PIN_INPUT, 7) /* (C15) UART0_RTSn.GPIO1_23 */ 343 + >; 344 + }; 345 + 346 + vddshv_sdio_pins_default: vddshv-sdio-default-pins { 347 + pinctrl-single,pins = < 348 + AM62AX_IOPAD(0x07c, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO0_31 */ 357 349 >; 358 350 }; 359 351 }; ··· 600 580 /* SD/MMC */ 601 581 status = "okay"; 602 582 vmmc-supply = <&vdd_mmc1>; 583 + vqmmc-supply = <&vddshv_sdio>; 603 584 pinctrl-names = "default"; 604 585 pinctrl-0 = <&main_mmc1_pins_default>; 605 586 disable-wp;
+55
arch/arm64/boot/dts/ti/k3-am62p-main.dtsi
··· 635 635 status = "disabled"; 636 636 }; 637 637 638 + usbss0: usb@f900000 { 639 + compatible = "ti,am62-usb"; 640 + reg = <0x00 0x0f900000 0x00 0x800>, 641 + <0x00 0x0f908000 0x00 0x400>; 642 + clocks = <&k3_clks 161 3>; 643 + clock-names = "ref"; 644 + ti,syscon-phy-pll-refclk = <&usb0_phy_ctrl 0x0>; 645 + #address-cells = <2>; 646 + #size-cells = <2>; 647 + power-domains = <&k3_pds 178 TI_SCI_PD_EXCLUSIVE>; 648 + ranges; 649 + status = "disabled"; 650 + 651 + usb0: usb@31000000 { 652 + compatible = "snps,dwc3"; 653 + reg = <0x00 0x31000000 0x00 0x50000>; 654 + interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */ 655 + <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */ 656 + interrupt-names = "host", "peripheral"; 657 + maximum-speed = "high-speed"; 658 + dr_mode = "otg"; 659 + snps,usb2-gadget-lpm-disable; 660 + snps,usb2-lpm-disable; 661 + }; 662 + }; 663 + 664 + usbss1: usb@f910000 { 665 + compatible = "ti,am62-usb"; 666 + reg = <0x00 0x0f910000 0x00 0x800>, 667 + <0x00 0x0f918000 0x00 0x400>; 668 + clocks = <&k3_clks 162 3>; 669 + clock-names = "ref"; 670 + ti,syscon-phy-pll-refclk = <&usb1_phy_ctrl 0x0>; 671 + #address-cells = <2>; 672 + #size-cells = <2>; 673 + power-domains = <&k3_pds 179 TI_SCI_PD_EXCLUSIVE>; 674 + ranges; 675 + status = "disabled"; 676 + 677 + usb1: usb@31100000 { 678 + compatible = "snps,dwc3"; 679 + reg = <0x00 0x31100000 0x00 0x50000>; 680 + interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>, /* irq.0 */ 681 + <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>; /* irq.0 */ 682 + interrupt-names = "host", "peripheral"; 683 + maximum-speed = "high-speed"; 684 + dr_mode = "otg"; 685 + snps,usb2-gadget-lpm-disable; 686 + snps,usb2-lpm-disable; 687 + }; 688 + }; 689 + 638 690 fss: bus@fc00000 { 639 691 compatible = "simple-bus"; 640 692 reg = <0x00 0x0fc00000 0x00 0x70000>; ··· 725 673 assigned-clock-parents = <&k3_clks 13 11>; 726 674 clock-names = "fck"; 727 675 power-domains = <&k3_pds 13 TI_SCI_PD_EXCLUSIVE>; 676 + status = "disabled"; 728 677 729 678 dmas = <&main_pktdma 0xc600 15>, 730 679 <&main_pktdma 0xc601 15>, ··· 749 696 label = "port1"; 750 697 phys = <&phy_gmii_sel 1>; 751 698 mac-address = [00 00 00 00 00 00]; 699 + status = "disabled"; 752 700 }; 753 701 754 702 cpsw_port2: port@2 { ··· 758 704 label = "port2"; 759 705 phys = <&phy_gmii_sel 2>; 760 706 mac-address = [00 00 00 00 00 00]; 707 + status = "disabled"; 761 708 }; 762 709 }; 763 710
+10
arch/arm64/boot/dts/ti/k3-am62p-wakeup.dtsi
··· 18 18 reg = <0x14 0x4>; 19 19 bootph-all; 20 20 }; 21 + 22 + usb0_phy_ctrl: syscon@4008 { 23 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 24 + reg = <0x4008 0x4>; 25 + }; 26 + 27 + usb1_phy_ctrl: syscon@4018 { 28 + compatible = "ti,am62-usb-phy-ctrl", "syscon"; 29 + reg = <0x4018 0x4>; 30 + }; 21 31 }; 22 32 23 33 wkup_uart0: serial@2b300000 {
+71 -1
arch/arm64/boot/dts/ti/k3-am62p5-sk.dts
··· 27 27 spi0 = &ospi0; 28 28 ethernet0 = &cpsw_port1; 29 29 ethernet1 = &cpsw_port2; 30 + usb0 = &usb0; 31 + usb1 = &usb1; 30 32 }; 31 33 32 34 chosen { ··· 299 297 bootph-all; 300 298 }; 301 299 300 + main_usb1_pins_default: main-usb1-default-pins { 301 + pinctrl-single,pins = < 302 + AM62PX_IOPAD(0x0258, PIN_INPUT, 0) /* (G21) USB1_DRVVBUS */ 303 + >; 304 + }; 305 + 302 306 main_wlirq_pins_default: main-wlirq-default-pins { 303 307 pinctrl-single,pins = < 304 308 AM62PX_IOPAD(0x0128, PIN_INPUT, 7) /* (K25) MMC2_SDWP.GPIO0_72 */ ··· 345 337 pinctrl-single,pins = < 346 338 AM62PX_IOPAD(0x0124, PIN_INPUT, 7) /* (J25) MMC2_SDCD.GPIO0_71 */ 347 339 >; 340 + }; 341 + }; 342 + 343 + &main_i2c0 { 344 + status = "okay"; 345 + pinctrl-names = "default"; 346 + pinctrl-0 = <&main_i2c0_pins_default>; 347 + clock-frequency = <400000>; 348 + 349 + typec_pd0: usb-power-controller@3f { 350 + compatible = "ti,tps6598x"; 351 + reg = <0x3f>; 352 + 353 + connector { 354 + compatible = "usb-c-connector"; 355 + label = "USB-C"; 356 + self-powered; 357 + data-role = "dual"; 358 + power-role = "sink"; 359 + ports { 360 + #address-cells = <1>; 361 + #size-cells = <0>; 362 + port@0 { 363 + reg = <0>; 364 + usb_con_hs: endpoint { 365 + remote-endpoint = <&usb0_hs_ep>; 366 + }; 367 + }; 368 + }; 369 + }; 348 370 }; 349 371 }; 350 372 ··· 469 431 pinctrl-names = "default"; 470 432 pinctrl-0 = <&main_rgmii1_pins_default>, 471 433 <&main_rgmii2_pins_default>; 434 + status = "okay"; 472 435 }; 473 436 474 437 &cpsw_port1 { 475 438 phy-mode = "rgmii-rxid"; 476 439 phy-handle = <&cpsw3g_phy0>; 440 + status = "okay"; 477 441 }; 478 442 479 443 &cpsw_port2 { 480 444 phy-mode = "rgmii-rxid"; 481 445 phy-handle = <&cpsw3g_phy1>; 446 + status = "okay"; 482 447 }; 483 448 484 449 &cpsw3g_mdio { ··· 502 461 ti,fifo-depth = <DP83867_PHYCR_FIFO_DEPTH_4_B_NIB>; 503 462 ti,min-output-impedance; 504 463 }; 464 + }; 465 + 466 + &usbss0 { 467 + status = "okay"; 468 + ti,vbus-divider; 469 + }; 470 + 471 + &usbss1 { 472 + status = "okay"; 473 + ti,vbus-divider; 474 + }; 475 + 476 + &usb0 { 477 + usb-role-switch; 478 + #address-cells = <1>; 479 + #size-cells = <0>; 480 + 481 + port@0 { 482 + reg = <0>; 483 + usb0_hs_ep: endpoint { 484 + remote-endpoint = <&usb_con_hs>; 485 + }; 486 + }; 487 + }; 488 + 489 + &usb1 { 490 + dr_mode = "host"; 491 + pinctrl-names = "default"; 492 + pinctrl-0 = <&main_usb1_pins_default>; 505 493 }; 506 494 507 495 &mcasp1 { ··· 563 493 pinctrl-0 = <&ospi0_pins_default>; 564 494 bootph-all; 565 495 566 - flash@0{ 496 + flash@0 { 567 497 compatible = "jedec,spi-nor"; 568 498 reg = <0x0>; 569 499 spi-tx-bus-width = <8>;
-1
arch/arm64/boot/dts/ti/k3-am642-evm.dts
··· 473 473 status = "okay"; 474 474 pinctrl-names = "default"; 475 475 pinctrl-0 = <&main_uart0_pins_default>; 476 - current-speed = <115200>; 477 476 }; 478 477 479 478 /* main_uart1 is reserved for firmware usage */
+50
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-gpio-fan.dtso
··· 1 + // SPDX-License-Identifier: GPL-2.0-only OR MIT 2 + /* 3 + * Copyright (C) 2024 PHYTEC America LLC 4 + * Author: Nathan Morrisson <nmorrisson@phytec.com> 5 + */ 6 + 7 + /dts-v1/; 8 + /plugin/; 9 + 10 + #include <dt-bindings/gpio/gpio.h> 11 + #include <dt-bindings/thermal/thermal.h> 12 + #include "k3-pinctrl.h" 13 + 14 + &{/} { 15 + fan: gpio-fan { 16 + compatible = "gpio-fan"; 17 + gpio-fan,speed-map = <0 0 8600 1>; 18 + gpios = <&main_gpio0 28 GPIO_ACTIVE_LOW>; 19 + #cooling-cells = <2>; 20 + pinctrl-names = "default"; 21 + pinctrl-0 = <&gpio_fan_pins_default>; 22 + }; 23 + }; 24 + 25 + &main_pmx0 { 26 + gpio_fan_pins_default: gpio-fan-default-pins { 27 + pinctrl-single,pins = < 28 + AM64X_IOPAD(0x070, PIN_OUTPUT, 7) /* (V18) GPMC0_AD13.GPIO0_28 */ 29 + >; 30 + }; 31 + }; 32 + 33 + &thermal_zones { 34 + main0_thermal: main0-thermal { 35 + trips { 36 + main0_thermal_trip0: main0-thermal-trip { 37 + temperature = <65000>; /* millicelsius */ 38 + hysteresis = <2000>; /* millicelsius */ 39 + type = "active"; 40 + }; 41 + }; 42 + 43 + cooling-maps { 44 + map0 { 45 + trip = <&main0_thermal_trip0>; 46 + cooling-device = <&fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>; 47 + }; 48 + }; 49 + }; 50 + };
+2 -4
arch/arm64/boot/dts/ti/k3-am642-phyboard-electra-rdk.dts
··· 42 42 pinctrl-names = "default"; 43 43 pinctrl-0 = <&can_tc1_pins_default>; 44 44 #phy-cells = <0>; 45 - max-bitrate = <5000000>; 45 + max-bitrate = <8000000>; 46 46 standby-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; 47 47 }; 48 48 ··· 51 51 pinctrl-names = "default"; 52 52 pinctrl-0 = <&can_tc2_pins_default>; 53 53 #phy-cells = <0>; 54 - max-bitrate = <5000000>; 54 + max-bitrate = <8000000>; 55 55 standby-gpios = <&main_gpio0 35 GPIO_ACTIVE_HIGH>; 56 56 }; 57 57 ··· 275 275 status = "okay"; 276 276 pinctrl-names = "default"; 277 277 pinctrl-0 = <&main_uart0_pins_default>; 278 - current-speed = <115200>; 279 278 }; 280 279 281 280 &main_uart1 { ··· 282 283 pinctrl-names = "default"; 283 284 pinctrl-0 = <&main_uart1_pins_default>; 284 285 uart-has-rtscts; 285 - current-speed = <115200>; 286 286 }; 287 287 288 288 &sdhci1 {
-1
arch/arm64/boot/dts/ti/k3-am642-sk.dts
··· 381 381 status = "okay"; 382 382 pinctrl-names = "default"; 383 383 pinctrl-0 = <&main_uart0_pins_default>; 384 - current-speed = <115200>; 385 384 }; 386 385 387 386 &main_uart1 {
+28 -4
arch/arm64/boot/dts/ti/k3-am65-iot2050-common-pg1.dtsi
··· 43 43 }; 44 44 45 45 &icssg0_eth { 46 - status = "disabled"; 47 - }; 46 + compatible = "ti,am654-sr1-icssg-prueth"; 48 47 49 - &icssg0_mdio { 50 - status = "disabled"; 48 + ti,prus = <&pru0_0>, <&rtu0_0>, <&pru0_1>, <&rtu0_1>; 49 + firmware-name = "ti-pruss/am65x-pru0-prueth-fw.elf", 50 + "ti-pruss/am65x-rtu0-prueth-fw.elf", 51 + "ti-pruss/am65x-pru1-prueth-fw.elf", 52 + "ti-pruss/am65x-rtu1-prueth-fw.elf"; 53 + 54 + ti,pruss-gp-mux-sel = <2>, /* MII mode */ 55 + <2>, 56 + <2>, /* MII mode */ 57 + <2>; 58 + 59 + dmas = <&main_udmap 0xc100>, /* egress slice 0 */ 60 + <&main_udmap 0xc101>, /* egress slice 0 */ 61 + <&main_udmap 0xc102>, /* egress slice 0 */ 62 + <&main_udmap 0xc103>, /* egress slice 0 */ 63 + <&main_udmap 0xc104>, /* egress slice 1 */ 64 + <&main_udmap 0xc105>, /* egress slice 1 */ 65 + <&main_udmap 0xc106>, /* egress slice 1 */ 66 + <&main_udmap 0xc107>, /* egress slice 1 */ 67 + <&main_udmap 0x4100>, /* ingress slice 0 */ 68 + <&main_udmap 0x4101>, /* ingress slice 1 */ 69 + <&main_udmap 0x4102>, /* mgmnt rsp slice 0 */ 70 + <&main_udmap 0x4103>; /* mgmnt rsp slice 1 */ 71 + dma-names = "tx0-0", "tx0-1", "tx0-2", "tx0-3", 72 + "tx1-0", "tx1-1", "tx1-2", "tx1-3", 73 + "rx0", "rx1", 74 + "rxmgm0", "rxmgm1"; 51 75 };
+28 -28
arch/arm64/boot/dts/ti/k3-am65-main.dtsi
··· 66 66 assigned-clock-parents = <&k3_clks 153 8>, <&k3_clks 153 4>; 67 67 ti,serdes-clk = <&serdes0_clk>; 68 68 #clock-cells = <1>; 69 - mux-controls = <&serdes_mux 0>; 69 + mux-controls = <&serdes0_mux 0>; 70 70 }; 71 71 72 72 serdes1: serdes@910000 { ··· 81 81 assigned-clock-parents = <&k3_clks 154 9>, <&k3_clks 154 5>; 82 82 ti,serdes-clk = <&serdes1_clk>; 83 83 #clock-cells = <1>; 84 - mux-controls = <&serdes_mux 1>; 84 + mux-controls = <&serdes1_mux 0>; 85 85 }; 86 86 87 87 main_uart0: serial@2800000 { ··· 89 89 reg = <0x00 0x02800000 0x00 0x100>; 90 90 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 91 91 clock-frequency = <48000000>; 92 - current-speed = <115200>; 93 92 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 94 93 status = "disabled"; 95 94 }; ··· 435 436 interrupts = <GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>; 436 437 mmc-ddr-1_8v; 437 438 mmc-hs200-1_8v; 439 + ti,clkbuf-sel = <0x7>; 440 + ti,trm-icp = <0x8>; 438 441 ti,otap-del-sel-legacy = <0x0>; 439 442 ti,otap-del-sel-mmc-hs = <0x0>; 440 - ti,otap-del-sel-sd-hs = <0x0>; 441 - ti,otap-del-sel-sdr12 = <0x0>; 442 - ti,otap-del-sel-sdr25 = <0x0>; 443 - ti,otap-del-sel-sdr50 = <0x8>; 444 - ti,otap-del-sel-sdr104 = <0x7>; 445 - ti,otap-del-sel-ddr50 = <0x5>; 446 443 ti,otap-del-sel-ddr52 = <0x5>; 447 444 ti,otap-del-sel-hs200 = <0x5>; 448 - ti,otap-del-sel-hs400 = <0x0>; 449 - ti,trm-icp = <0x8>; 445 + ti,itap-del-sel-ddr52 = <0x0>; 450 446 dma-coherent; 451 447 status = "disabled"; 452 448 }; ··· 453 459 clocks = <&k3_clks 48 0>, <&k3_clks 48 1>; 454 460 clock-names = "clk_ahb", "clk_xin"; 455 461 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>; 462 + ti,clkbuf-sel = <0x7>; 463 + ti,trm-icp = <0x8>; 456 464 ti,otap-del-sel-legacy = <0x0>; 457 - ti,otap-del-sel-mmc-hs = <0x0>; 458 465 ti,otap-del-sel-sd-hs = <0x0>; 459 - ti,otap-del-sel-sdr12 = <0x0>; 460 - ti,otap-del-sel-sdr25 = <0x0>; 466 + ti,otap-del-sel-sdr12 = <0xf>; 467 + ti,otap-del-sel-sdr25 = <0xf>; 461 468 ti,otap-del-sel-sdr50 = <0x8>; 462 469 ti,otap-del-sel-sdr104 = <0x7>; 463 470 ti,otap-del-sel-ddr50 = <0x4>; 464 - ti,otap-del-sel-ddr52 = <0x4>; 465 - ti,otap-del-sel-hs200 = <0x7>; 466 - ti,clkbuf-sel = <0x7>; 467 - ti,trm-icp = <0x8>; 471 + ti,itap-del-sel-legacy = <0xa>; 472 + ti,itap-del-sel-sd-hs = <0x1>; 473 + ti,itap-del-sel-sdr12 = <0xa>; 474 + ti,itap-del-sel-sdr25 = <0x1>; 468 475 dma-coherent; 469 476 status = "disabled"; 470 477 }; ··· 478 483 ranges = <0x0 0x0 0x00100000 0x1c000>; 479 484 480 485 serdes0_clk: clock@4080 { 481 - compatible = "syscon"; 482 - reg = <0x00004080 0x4>; 486 + compatible = "ti,am654-serdes-ctrl", "syscon"; 487 + reg = <0x4080 0x4>; 488 + 489 + serdes0_mux: mux-controller { 490 + compatible = "mmio-mux"; 491 + #mux-control-cells = <1>; 492 + mux-reg-masks = <0x0 0x3>; /* lane select */ 493 + }; 483 494 }; 484 495 485 496 serdes1_clk: clock@4090 { 486 - compatible = "syscon"; 487 - reg = <0x00004090 0x4>; 488 - }; 497 + compatible = "ti,am654-serdes-ctrl", "syscon"; 498 + reg = <0x4090 0x4>; 489 499 490 - serdes_mux: mux-controller { 491 - compatible = "mmio-mux"; 492 - #mux-control-cells = <1>; 493 - mux-reg-masks = <0x4080 0x3>, /* SERDES0 lane select */ 494 - <0x4090 0x3>; /* SERDES1 lane select */ 500 + serdes1_mux: mux-controller { 501 + compatible = "mmio-mux"; 502 + #mux-control-cells = <1>; 503 + mux-reg-masks = <0x0 0x3>; /* lane select */ 504 + }; 495 505 }; 496 506 497 507 dss_oldi_io_ctrl: dss-oldi-io-ctrl@41e0 {
+5 -2
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
··· 43 43 reg = <0x00 0x40a00000 0x00 0x100>; 44 44 interrupts = <GIC_SPI 565 IRQ_TYPE_LEVEL_HIGH>; 45 45 clock-frequency = <96000000>; 46 - current-speed = <115200>; 47 46 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 48 47 status = "disabled"; 49 48 }; ··· 285 286 compatible = "simple-bus"; 286 287 #address-cells = <2>; 287 288 #size-cells = <2>; 288 - ranges; 289 + ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */ 290 + <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */ 291 + <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */ 292 + <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>, /* OSPI0 Memory */ 293 + <0x7 0x00000000 0x7 0x00000000 0x1 0x0000000>; /* OSPI1 Memory */ 289 294 290 295 ospi0: spi@47040000 { 291 296 compatible = "ti,am654-ospi", "cdns,qspi-nor";
-1
arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi
··· 59 59 reg = <0x42300000 0x100>; 60 60 interrupts = <GIC_SPI 697 IRQ_TYPE_LEVEL_HIGH>; 61 61 clock-frequency = <48000000>; 62 - current-speed = <115200>; 63 62 power-domains = <&k3_pds 150 TI_SCI_PD_EXCLUSIVE>; 64 63 status = "disabled"; 65 64 };
+6 -6
arch/arm64/boot/dts/ti/k3-am69-sk.dts
··· 517 517 wkup_uart0_pins_default: wkup-uart0-default-pins { 518 518 bootph-all; 519 519 pinctrl-single,pins = < 520 - J721S2_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (L37) WKUP_GPIO0_6.WKUP_UART0_CTSn */ 521 - J721S2_WKUP_IOPAD(0x074, PIN_INPUT, 0) /* (L36) WKUP_GPIO0_7.WKUP_UART0_RTSn */ 522 - J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 523 - J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (K34) WKUP_UART0_TXD */ 520 + J784S4_WKUP_IOPAD(0x070, PIN_INPUT, 0) /* (L37) WKUP_UART0_CTSn */ 521 + J784S4_WKUP_IOPAD(0x074, PIN_OUTPUT, 0) /* (L36) WKUP_UART0_RTSn */ 522 + J784S4_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 523 + J784S4_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (K34) WKUP_UART0_TXD */ 524 524 >; 525 525 }; 526 526 527 527 wkup_i2c0_pins_default: wkup-i2c0-default-pins { 528 528 bootph-all; 529 529 pinctrl-single,pins = < 530 - J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 531 - J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 530 + J784S4_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 531 + J784S4_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 532 532 >; 533 533 }; 534 534
-10
arch/arm64/boot/dts/ti/k3-j7200-main.dtsi
··· 440 440 reg = <0x00 0x02800000 0x00 0x100>; 441 441 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 442 442 clock-frequency = <48000000>; 443 - current-speed = <115200>; 444 443 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 445 444 clocks = <&k3_clks 146 2>; 446 445 clock-names = "fclk"; ··· 451 452 reg = <0x00 0x02810000 0x00 0x100>; 452 453 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 453 454 clock-frequency = <48000000>; 454 - current-speed = <115200>; 455 455 power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; 456 456 clocks = <&k3_clks 278 2>; 457 457 clock-names = "fclk"; ··· 462 464 reg = <0x00 0x02820000 0x00 0x100>; 463 465 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 464 466 clock-frequency = <48000000>; 465 - current-speed = <115200>; 466 467 power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>; 467 468 clocks = <&k3_clks 279 2>; 468 469 clock-names = "fclk"; ··· 473 476 reg = <0x00 0x02830000 0x00 0x100>; 474 477 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 475 478 clock-frequency = <48000000>; 476 - current-speed = <115200>; 477 479 power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>; 478 480 clocks = <&k3_clks 280 2>; 479 481 clock-names = "fclk"; ··· 484 488 reg = <0x00 0x02840000 0x00 0x100>; 485 489 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 486 490 clock-frequency = <48000000>; 487 - current-speed = <115200>; 488 491 power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>; 489 492 clocks = <&k3_clks 281 2>; 490 493 clock-names = "fclk"; ··· 495 500 reg = <0x00 0x02850000 0x00 0x100>; 496 501 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; 497 502 clock-frequency = <48000000>; 498 - current-speed = <115200>; 499 503 power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>; 500 504 clocks = <&k3_clks 282 2>; 501 505 clock-names = "fclk"; ··· 506 512 reg = <0x00 0x02860000 0x00 0x100>; 507 513 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>; 508 514 clock-frequency = <48000000>; 509 - current-speed = <115200>; 510 515 power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>; 511 516 clocks = <&k3_clks 283 2>; 512 517 clock-names = "fclk"; ··· 517 524 reg = <0x00 0x02870000 0x00 0x100>; 518 525 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; 519 526 clock-frequency = <48000000>; 520 - current-speed = <115200>; 521 527 power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>; 522 528 clocks = <&k3_clks 284 2>; 523 529 clock-names = "fclk"; ··· 528 536 reg = <0x00 0x02880000 0x00 0x100>; 529 537 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; 530 538 clock-frequency = <48000000>; 531 - current-speed = <115200>; 532 539 power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>; 533 540 clocks = <&k3_clks 285 2>; 534 541 clock-names = "fclk"; ··· 539 548 reg = <0x00 0x02890000 0x00 0x100>; 540 549 interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; 541 550 clock-frequency = <48000000>; 542 - current-speed = <115200>; 543 551 power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>; 544 552 clocks = <&k3_clks 286 2>; 545 553 clock-names = "fclk";
+4 -4
arch/arm64/boot/dts/ti/k3-j7200-mcu-wakeup.dtsi
··· 259 259 reg = <0x00 0x42300000 0x00 0x100>; 260 260 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 261 261 clock-frequency = <48000000>; 262 - current-speed = <115200>; 263 262 power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>; 264 263 clocks = <&k3_clks 287 2>; 265 264 clock-names = "fclk"; ··· 270 271 reg = <0x00 0x40a00000 0x00 0x100>; 271 272 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 272 273 clock-frequency = <96000000>; 273 - current-speed = <115200>; 274 274 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 275 275 clocks = <&k3_clks 149 2>; 276 276 clock-names = "fclk"; ··· 518 520 519 521 fss: bus@47000000 { 520 522 compatible = "simple-bus"; 521 - reg = <0x00 0x47000000 0x00 0x100>; 522 523 #address-cells = <2>; 523 524 #size-cells = <2>; 524 - ranges; 525 + ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */ 526 + <0x0 0x47034000 0x0 0x47040000 0x0 0x100>, /* HBMC Control */ 527 + <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */ 528 + <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>; /* HBMC/OSPI0 Memory */ 525 529 526 530 hbmc_mux: mux-controller@47000004 { 527 531 compatible = "reg-mux";
-10
arch/arm64/boot/dts/ti/k3-j721e-main.dtsi
··· 1337 1337 reg = <0x00 0x02800000 0x00 0x100>; 1338 1338 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 1339 1339 clock-frequency = <48000000>; 1340 - current-speed = <115200>; 1341 1340 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; 1342 1341 clocks = <&k3_clks 146 0>; 1343 1342 clock-names = "fclk"; ··· 1348 1349 reg = <0x00 0x02810000 0x00 0x100>; 1349 1350 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 1350 1351 clock-frequency = <48000000>; 1351 - current-speed = <115200>; 1352 1352 power-domains = <&k3_pds 278 TI_SCI_PD_EXCLUSIVE>; 1353 1353 clocks = <&k3_clks 278 0>; 1354 1354 clock-names = "fclk"; ··· 1359 1361 reg = <0x00 0x02820000 0x00 0x100>; 1360 1362 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 1361 1363 clock-frequency = <48000000>; 1362 - current-speed = <115200>; 1363 1364 power-domains = <&k3_pds 279 TI_SCI_PD_EXCLUSIVE>; 1364 1365 clocks = <&k3_clks 279 0>; 1365 1366 clock-names = "fclk"; ··· 1370 1373 reg = <0x00 0x02830000 0x00 0x100>; 1371 1374 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 1372 1375 clock-frequency = <48000000>; 1373 - current-speed = <115200>; 1374 1376 power-domains = <&k3_pds 280 TI_SCI_PD_EXCLUSIVE>; 1375 1377 clocks = <&k3_clks 280 0>; 1376 1378 clock-names = "fclk"; ··· 1381 1385 reg = <0x00 0x02840000 0x00 0x100>; 1382 1386 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 1383 1387 clock-frequency = <48000000>; 1384 - current-speed = <115200>; 1385 1388 power-domains = <&k3_pds 281 TI_SCI_PD_EXCLUSIVE>; 1386 1389 clocks = <&k3_clks 281 0>; 1387 1390 clock-names = "fclk"; ··· 1392 1397 reg = <0x00 0x02850000 0x00 0x100>; 1393 1398 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; 1394 1399 clock-frequency = <48000000>; 1395 - current-speed = <115200>; 1396 1400 power-domains = <&k3_pds 282 TI_SCI_PD_EXCLUSIVE>; 1397 1401 clocks = <&k3_clks 282 0>; 1398 1402 clock-names = "fclk"; ··· 1403 1409 reg = <0x00 0x02860000 0x00 0x100>; 1404 1410 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>; 1405 1411 clock-frequency = <48000000>; 1406 - current-speed = <115200>; 1407 1412 power-domains = <&k3_pds 283 TI_SCI_PD_EXCLUSIVE>; 1408 1413 clocks = <&k3_clks 283 0>; 1409 1414 clock-names = "fclk"; ··· 1414 1421 reg = <0x00 0x02870000 0x00 0x100>; 1415 1422 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; 1416 1423 clock-frequency = <48000000>; 1417 - current-speed = <115200>; 1418 1424 power-domains = <&k3_pds 284 TI_SCI_PD_EXCLUSIVE>; 1419 1425 clocks = <&k3_clks 284 0>; 1420 1426 clock-names = "fclk"; ··· 1425 1433 reg = <0x00 0x02880000 0x00 0x100>; 1426 1434 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; 1427 1435 clock-frequency = <48000000>; 1428 - current-speed = <115200>; 1429 1436 power-domains = <&k3_pds 285 TI_SCI_PD_EXCLUSIVE>; 1430 1437 clocks = <&k3_clks 285 0>; 1431 1438 clock-names = "fclk"; ··· 1436 1445 reg = <0x00 0x02890000 0x00 0x100>; 1437 1446 interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; 1438 1447 clock-frequency = <48000000>; 1439 - current-speed = <115200>; 1440 1448 power-domains = <&k3_pds 286 TI_SCI_PD_EXCLUSIVE>; 1441 1449 clocks = <&k3_clks 286 0>; 1442 1450 clock-names = "fclk";
+6 -4
arch/arm64/boot/dts/ti/k3-j721e-mcu-wakeup.dtsi
··· 243 243 reg = <0x00 0x42300000 0x00 0x100>; 244 244 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 245 245 clock-frequency = <48000000>; 246 - current-speed = <115200>; 247 246 power-domains = <&k3_pds 287 TI_SCI_PD_EXCLUSIVE>; 248 247 clocks = <&k3_clks 287 0>; 249 248 clock-names = "fclk"; ··· 254 255 reg = <0x00 0x40a00000 0x00 0x100>; 255 256 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 256 257 clock-frequency = <96000000>; 257 - current-speed = <115200>; 258 258 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; 259 259 clocks = <&k3_clks 149 0>; 260 260 clock-names = "fclk"; ··· 344 346 345 347 fss: bus@47000000 { 346 348 compatible = "simple-bus"; 347 - reg = <0x0 0x47000000 0x0 0x100>; 348 349 #address-cells = <2>; 349 350 #size-cells = <2>; 350 - ranges; 351 + ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */ 352 + <0x0 0x47034000 0x0 0x47034000 0x0 0x100>, /* HBMC Control */ 353 + <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */ 354 + <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */ 355 + <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>, /* HBMC/OSPI0 Memory */ 356 + <0x7 0x00000000 0x7 0x00000000 0x1 0x0000000>; /* OSPI1 Memory */ 351 357 352 358 hbmc_mux: mux-controller@47000004 { 353 359 compatible = "reg-mux";
-12
arch/arm64/boot/dts/ti/k3-j721s2-main.dtsi
··· 459 459 compatible = "ti,j721e-uart", "ti,am654-uart"; 460 460 reg = <0x00 0x02800000 0x00 0x200>; 461 461 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 462 - current-speed = <115200>; 463 462 clocks = <&k3_clks 146 3>; 464 463 clock-names = "fclk"; 465 464 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; ··· 469 470 compatible = "ti,j721e-uart", "ti,am654-uart"; 470 471 reg = <0x00 0x02810000 0x00 0x200>; 471 472 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 472 - current-speed = <115200>; 473 473 clocks = <&k3_clks 350 3>; 474 474 clock-names = "fclk"; 475 475 power-domains = <&k3_pds 350 TI_SCI_PD_EXCLUSIVE>; ··· 479 481 compatible = "ti,j721e-uart", "ti,am654-uart"; 480 482 reg = <0x00 0x02820000 0x00 0x200>; 481 483 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 482 - current-speed = <115200>; 483 484 clocks = <&k3_clks 351 3>; 484 485 clock-names = "fclk"; 485 486 power-domains = <&k3_pds 351 TI_SCI_PD_EXCLUSIVE>; ··· 489 492 compatible = "ti,j721e-uart", "ti,am654-uart"; 490 493 reg = <0x00 0x02830000 0x00 0x200>; 491 494 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 492 - current-speed = <115200>; 493 495 clocks = <&k3_clks 352 3>; 494 496 clock-names = "fclk"; 495 497 power-domains = <&k3_pds 352 TI_SCI_PD_EXCLUSIVE>; ··· 499 503 compatible = "ti,j721e-uart", "ti,am654-uart"; 500 504 reg = <0x00 0x02840000 0x00 0x200>; 501 505 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 502 - current-speed = <115200>; 503 506 clocks = <&k3_clks 353 3>; 504 507 clock-names = "fclk"; 505 508 power-domains = <&k3_pds 353 TI_SCI_PD_EXCLUSIVE>; ··· 509 514 compatible = "ti,j721e-uart", "ti,am654-uart"; 510 515 reg = <0x00 0x02850000 0x00 0x200>; 511 516 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; 512 - current-speed = <115200>; 513 517 clocks = <&k3_clks 354 3>; 514 518 clock-names = "fclk"; 515 519 power-domains = <&k3_pds 354 TI_SCI_PD_EXCLUSIVE>; ··· 519 525 compatible = "ti,j721e-uart", "ti,am654-uart"; 520 526 reg = <0x00 0x02860000 0x00 0x200>; 521 527 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>; 522 - current-speed = <115200>; 523 528 clocks = <&k3_clks 355 3>; 524 529 clock-names = "fclk"; 525 530 power-domains = <&k3_pds 355 TI_SCI_PD_EXCLUSIVE>; ··· 529 536 compatible = "ti,j721e-uart", "ti,am654-uart"; 530 537 reg = <0x00 0x02870000 0x00 0x200>; 531 538 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; 532 - current-speed = <115200>; 533 539 clocks = <&k3_clks 356 3>; 534 540 clock-names = "fclk"; 535 541 power-domains = <&k3_pds 356 TI_SCI_PD_EXCLUSIVE>; ··· 539 547 compatible = "ti,j721e-uart", "ti,am654-uart"; 540 548 reg = <0x00 0x02880000 0x00 0x200>; 541 549 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; 542 - current-speed = <115200>; 543 550 clocks = <&k3_clks 357 3>; 544 551 clock-names = "fclk"; 545 552 power-domains = <&k3_pds 357 TI_SCI_PD_EXCLUSIVE>; ··· 549 558 compatible = "ti,j721e-uart", "ti,am654-uart"; 550 559 reg = <0x00 0x02890000 0x00 0x200>; 551 560 interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; 552 - current-speed = <115200>; 553 561 clocks = <&k3_clks 358 3>; 554 562 clock-names = "fclk"; 555 563 power-domains = <&k3_pds 358 TI_SCI_PD_EXCLUSIVE>; ··· 768 778 ti,clkbuf-sel = <0x7>; 769 779 ti,trm-icp = <0x8>; 770 780 dma-coherent; 771 - /* Masking support for SDR104 capability */ 772 - sdhci-caps-mask = <0x00000003 0x00000000>; 773 781 status = "disabled"; 774 782 }; 775 783
-2
arch/arm64/boot/dts/ti/k3-j721s2-mcu-wakeup.dtsi
··· 298 298 compatible = "ti,j721e-uart", "ti,am654-uart"; 299 299 reg = <0x00 0x42300000 0x00 0x200>; 300 300 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 301 - current-speed = <115200>; 302 301 clocks = <&k3_clks 359 3>; 303 302 clock-names = "fclk"; 304 303 power-domains = <&k3_pds 359 TI_SCI_PD_EXCLUSIVE>; ··· 308 309 compatible = "ti,j721e-uart", "ti,am654-uart"; 309 310 reg = <0x00 0x40a00000 0x00 0x200>; 310 311 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 311 - current-speed = <115200>; 312 312 clocks = <&k3_clks 149 3>; 313 313 clock-names = "fclk"; 314 314 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>;
+1
arch/arm64/boot/dts/ti/k3-j721s2.dtsi
··· 117 117 #size-cells = <2>; 118 118 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ 119 119 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ 120 + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ 120 121 <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */ 121 122 <0x00 0x0d800000 0x00 0x0d800000 0x00 0x00800000>, /* PCIe Core*/ 122 123 <0x00 0x18000000 0x00 0x18000000 0x00 0x08000000>, /* PCIe1 DAT0 */
+8 -5
arch/arm64/boot/dts/ti/k3-j722s-evm.dts
··· 226 226 &cpsw_port1 { 227 227 phy-mode = "rgmii-rxid"; 228 228 phy-handle = <&cpsw3g_phy0>; 229 - }; 230 - 231 - &cpsw_port2 { 232 - status = "disabled"; 229 + status = "okay"; 233 230 }; 234 231 235 232 &main_gpio1 { ··· 366 369 367 370 }; 368 371 372 + &sdhci0 { 373 + disable-wp; 374 + bootph-all; 375 + ti,driver-strength-ohm = <50>; 376 + status = "okay"; 377 + }; 378 + 369 379 &sdhci1 { 370 380 /* SD/MMC */ 371 381 vmmc-supply = <&vdd_mmc1>; ··· 381 377 pinctrl-0 = <&main_mmc1_pins_default>; 382 378 ti,driver-strength-ohm = <50>; 383 379 disable-wp; 384 - no-1-8-v; 385 380 status = "okay"; 386 381 bootph-all; 387 382 };
+4 -4
arch/arm64/boot/dts/ti/k3-j784s4-evm.dts
··· 343 343 wkup_uart0_pins_default: wkup-uart0-default-pins { 344 344 bootph-all; 345 345 pinctrl-single,pins = < 346 - J721S2_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 347 - J721S2_WKUP_IOPAD(0x04c, PIN_INPUT, 0) /* (K34) WKUP_UART0_TXD */ 346 + J784S4_WKUP_IOPAD(0x048, PIN_INPUT, 0) /* (K35) WKUP_UART0_RXD */ 347 + J784S4_WKUP_IOPAD(0x04c, PIN_OUTPUT, 0) /* (K34) WKUP_UART0_TXD */ 348 348 >; 349 349 }; 350 350 351 351 wkup_i2c0_pins_default: wkup-i2c0-default-pins { 352 352 bootph-all; 353 353 pinctrl-single,pins = < 354 - J721S2_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 355 - J721S2_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 354 + J784S4_WKUP_IOPAD(0x98, PIN_INPUT, 0) /* (N33) WKUP_I2C0_SCL */ 355 + J784S4_WKUP_IOPAD(0x9c, PIN_INPUT, 0) /* (N35) WKUP_I2C0_SDA */ 356 356 >; 357 357 }; 358 358
-12
arch/arm64/boot/dts/ti/k3-j784s4-main.dtsi
··· 404 404 compatible = "ti,j721e-uart", "ti,am654-uart"; 405 405 reg = <0x00 0x02800000 0x00 0x200>; 406 406 interrupts = <GIC_SPI 192 IRQ_TYPE_LEVEL_HIGH>; 407 - current-speed = <115200>; 408 407 clocks = <&k3_clks 146 0>; 409 408 clock-names = "fclk"; 410 409 power-domains = <&k3_pds 146 TI_SCI_PD_EXCLUSIVE>; ··· 414 415 compatible = "ti,j721e-uart", "ti,am654-uart"; 415 416 reg = <0x00 0x02810000 0x00 0x200>; 416 417 interrupts = <GIC_SPI 193 IRQ_TYPE_LEVEL_HIGH>; 417 - current-speed = <115200>; 418 418 clocks = <&k3_clks 388 0>; 419 419 clock-names = "fclk"; 420 420 power-domains = <&k3_pds 388 TI_SCI_PD_EXCLUSIVE>; ··· 424 426 compatible = "ti,j721e-uart", "ti,am654-uart"; 425 427 reg = <0x00 0x02820000 0x00 0x200>; 426 428 interrupts = <GIC_SPI 194 IRQ_TYPE_LEVEL_HIGH>; 427 - current-speed = <115200>; 428 429 clocks = <&k3_clks 389 0>; 429 430 clock-names = "fclk"; 430 431 power-domains = <&k3_pds 389 TI_SCI_PD_EXCLUSIVE>; ··· 434 437 compatible = "ti,j721e-uart", "ti,am654-uart"; 435 438 reg = <0x00 0x02830000 0x00 0x200>; 436 439 interrupts = <GIC_SPI 195 IRQ_TYPE_LEVEL_HIGH>; 437 - current-speed = <115200>; 438 440 clocks = <&k3_clks 390 0>; 439 441 clock-names = "fclk"; 440 442 power-domains = <&k3_pds 390 TI_SCI_PD_EXCLUSIVE>; ··· 444 448 compatible = "ti,j721e-uart", "ti,am654-uart"; 445 449 reg = <0x00 0x02840000 0x00 0x200>; 446 450 interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>; 447 - current-speed = <115200>; 448 451 clocks = <&k3_clks 391 0>; 449 452 clock-names = "fclk"; 450 453 power-domains = <&k3_pds 391 TI_SCI_PD_EXCLUSIVE>; ··· 454 459 compatible = "ti,j721e-uart", "ti,am654-uart"; 455 460 reg = <0x00 0x02850000 0x00 0x200>; 456 461 interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; 457 - current-speed = <115200>; 458 462 clocks = <&k3_clks 392 0>; 459 463 clock-names = "fclk"; 460 464 power-domains = <&k3_pds 392 TI_SCI_PD_EXCLUSIVE>; ··· 464 470 compatible = "ti,j721e-uart", "ti,am654-uart"; 465 471 reg = <0x00 0x02860000 0x00 0x200>; 466 472 interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>; 467 - current-speed = <115200>; 468 473 clocks = <&k3_clks 393 0>; 469 474 clock-names = "fclk"; 470 475 power-domains = <&k3_pds 393 TI_SCI_PD_EXCLUSIVE>; ··· 474 481 compatible = "ti,j721e-uart", "ti,am654-uart"; 475 482 reg = <0x00 0x02870000 0x00 0x200>; 476 483 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>; 477 - current-speed = <115200>; 478 484 clocks = <&k3_clks 394 0>; 479 485 clock-names = "fclk"; 480 486 power-domains = <&k3_pds 394 TI_SCI_PD_EXCLUSIVE>; ··· 484 492 compatible = "ti,j721e-uart", "ti,am654-uart"; 485 493 reg = <0x00 0x02880000 0x00 0x200>; 486 494 interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>; 487 - current-speed = <115200>; 488 495 clocks = <&k3_clks 395 0>; 489 496 clock-names = "fclk"; 490 497 power-domains = <&k3_pds 395 TI_SCI_PD_EXCLUSIVE>; ··· 494 503 compatible = "ti,j721e-uart", "ti,am654-uart"; 495 504 reg = <0x00 0x02890000 0x00 0x200>; 496 505 interrupts = <GIC_SPI 249 IRQ_TYPE_LEVEL_HIGH>; 497 - current-speed = <115200>; 498 506 clocks = <&k3_clks 396 0>; 499 507 clock-names = "fclk"; 500 508 power-domains = <&k3_pds 396 TI_SCI_PD_EXCLUSIVE>; ··· 904 914 ti,clkbuf-sel = <0x7>; 905 915 ti,trm-icp = <0x8>; 906 916 dma-coherent; 907 - sdhci-caps-mask = <0x00000003 0x00000000>; 908 - no-1-8-v; 909 917 status = "disabled"; 910 918 }; 911 919
+5 -4
arch/arm64/boot/dts/ti/k3-j784s4-mcu-wakeup.dtsi
··· 304 304 compatible = "ti,j721e-uart", "ti,am654-uart"; 305 305 reg = <0x00 0x42300000 0x00 0x200>; 306 306 interrupts = <GIC_SPI 897 IRQ_TYPE_LEVEL_HIGH>; 307 - current-speed = <115200>; 308 307 clocks = <&k3_clks 397 0>; 309 308 clock-names = "fclk"; 310 309 power-domains = <&k3_pds 397 TI_SCI_PD_EXCLUSIVE>; ··· 314 315 compatible = "ti,j721e-uart", "ti,am654-uart"; 315 316 reg = <0x00 0x40a00000 0x00 0x200>; 316 317 interrupts = <GIC_SPI 846 IRQ_TYPE_LEVEL_HIGH>; 317 - current-speed = <115200>; 318 318 clocks = <&k3_clks 149 0>; 319 319 clock-names = "fclk"; 320 320 power-domains = <&k3_pds 149 TI_SCI_PD_EXCLUSIVE>; ··· 672 674 673 675 fss: bus@47000000 { 674 676 compatible = "simple-bus"; 675 - reg = <0x00 0x47000000 0x00 0x100>; 676 677 #address-cells = <2>; 677 678 #size-cells = <2>; 678 - ranges; 679 + ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x100>, /* FSS Control */ 680 + <0x0 0x47040000 0x0 0x47040000 0x0 0x100>, /* OSPI0 Control */ 681 + <0x0 0x47050000 0x0 0x47050000 0x0 0x100>, /* OSPI1 Control */ 682 + <0x5 0x00000000 0x5 0x00000000 0x1 0x0000000>, /* OSPI0 Memory */ 683 + <0x7 0x00000000 0x7 0x00000000 0x1 0x0000000>; /* OSPI1 Memory */ 679 684 680 685 ospi0: spi@47040000 { 681 686 compatible = "ti,am654-ospi", "cdns,qspi-nor";
+1
arch/arm64/boot/dts/ti/k3-j784s4.dtsi
··· 234 234 #size-cells = <2>; 235 235 ranges = <0x00 0x00100000 0x00 0x00100000 0x00 0x00020000>, /* ctrl mmr */ 236 236 <0x00 0x00600000 0x00 0x00600000 0x00 0x00031100>, /* GPIO */ 237 + <0x00 0x00700000 0x00 0x00700000 0x00 0x00001000>, /* ESM */ 237 238 <0x00 0x01000000 0x00 0x01000000 0x00 0x0d000000>, /* Most peripherals */ 238 239 <0x00 0x04210000 0x00 0x04210000 0x00 0x00010000>, /* VPU0 */ 239 240 <0x00 0x04220000 0x00 0x04220000 0x00 0x00010000>, /* VPU1 */