]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: ti: k3-j721e-evm*: Add bootph-* properties
authorManorit Chawdhry <m-chawdhry@ti.com>
Thu, 24 Oct 2024 05:21:07 +0000 (10:51 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Mon, 28 Oct 2024 15:17:24 +0000 (20:47 +0530)
Adds bootph-* properties to the leaf nodes to enable bootloaders to
utilise them.

Following adds bootph-* to:
- main_uart0, mcu_uart0(DM), wkup_uart0(TIFS) for Traces
- mmc0, mmc1, usb0, ospi0, ospi1, hbmc for enabling various bootmodes.

Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Link: https://lore.kernel.org/r/20241024-b4-upstream-bootph-all-v6-10-2af90e3a4fe7@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts
arch/arm64/boot/dts/ti/k3-j721e-som-p0.dtsi

index 8230d53cd69609d44b4a832cf214afdc2ee90e02..4c1e02a4e7a25c8fc6f55f06fe27d0f2b41483d7 100644 (file)
                        J721E_IOPAD(0x1e8, PIN_INPUT, 0) /* (AB2) UART0_RXD */
                        J721E_IOPAD(0x1ec, PIN_OUTPUT, 0) /* (AB3) UART0_TXD */
                >;
+               bootph-all;
        };
 
        main_uart1_pins_default: main-uart1-default-pins {
                        J721E_IOPAD(0x258, PIN_INPUT, 0) /* (P23) MMC1_SDCD */
                        J721E_IOPAD(0x25c, PIN_INPUT, 0) /* (R28) MMC1_SDWP */
                >;
+               bootph-all;
        };
 
        vdd_sd_dv_alt_pins_default: vdd-sd-dv-alt-default-pins {
                        J721E_IOPAD(0x290, PIN_OUTPUT, 0) /* (U6) USB0_DRVVBUS */
                        J721E_IOPAD(0x210, PIN_INPUT, 7) /* (W3) MCAN1_RX.GPIO1_3 */
                >;
+               bootph-all;
        };
 
        main_usbss1_pins_default: main-usbss1-default-pins {
                        J721E_WKUP_IOPAD(0xa0, PIN_INPUT, 0) /* (J29) WKUP_UART0_RXD */
                        J721E_WKUP_IOPAD(0xa4, PIN_OUTPUT, 0) /* (J28) WKUP_UART0_TXD */
                >;
+               bootph-all;
        };
 
        mcu_uart0_pins_default: mcu-uart0-default-pins {
                        J721E_WKUP_IOPAD(0xe4, PIN_INPUT, 0) /* (H28) WKUP_GPIO0_13.MCU_UART0_RXD */
                        J721E_WKUP_IOPAD(0xe0, PIN_OUTPUT, 0) /* (G29) WKUP_GPIO0_12.MCU_UART0_TXD */
                >;
+               bootph-all;
        };
 
        sw11_button_pins_default: sw11-button-default-pins {
                        J721E_WKUP_IOPAD(0x3c, PIN_INPUT, 0) /* (B23) MCU_OSPI1_DQS */
                        J721E_WKUP_IOPAD(0x38, PIN_INPUT, 0) /* (A23) MCU_OSPI1_LBCLKO */
                >;
+               bootph-all;
        };
 
        mcu_cpsw_pins_default: mcu-cpsw-default-pins {
        status = "reserved";
        pinctrl-names = "default";
        pinctrl-0 = <&wkup_uart0_pins_default>;
+       bootph-all;
 };
 
 &mcu_uart0 {
        status = "okay";
        pinctrl-names = "default";
        pinctrl-0 = <&mcu_uart0_pins_default>;
+       bootph-all;
 };
 
 &main_uart0 {
        pinctrl-0 = <&main_uart0_pins_default>;
        /* Shared with ATF on this platform */
        power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
+       bootph-all;
 };
 
 &main_uart1 {
        /* eMMC */
        status = "okay";
        non-removable;
+       bootph-all;
        ti,driver-strength-ohm = <50>;
        disable-wp;
 };
        vqmmc-supply = <&vdd_sd_dv_alt>;
        pinctrl-names = "default";
        pinctrl-0 = <&main_mmc1_pins_default>;
+       bootph-all;
        ti,driver-strength-ohm = <50>;
        disable-wp;
 };
 
 &usb_serdes_mux {
        idle-states = <1>, <0>; /* USB0 to SERDES3, USB1 to SERDES1 */
+       bootph-all;
 };
 
 &serdes_ln_ctrl {
                      <J721E_SERDES3_LANE0_USB3_0_SWAP>, <J721E_SERDES3_LANE1_USB3_0>,
                      <J721E_SERDES4_LANE0_EDP_LANE0>, <J721E_SERDES4_LANE1_EDP_LANE1>,
                      <J721E_SERDES4_LANE2_EDP_LANE2>, <J721E_SERDES4_LANE3_EDP_LANE3>;
+       bootph-all;
 };
 
 &serdes_wiz3 {
 &usbss0 {
        pinctrl-names = "default";
        pinctrl-0 = <&main_usbss0_pins_default>;
+       bootph-all;
        ti,vbus-divider;
 };
 
        maximum-speed = "super-speed";
        phys = <&serdes3_usb_link>;
        phy-names = "cdns3,usb3-phy";
+       bootph-all;
 };
 
 &usbss1 {
                        partition@3fe0000 {
                                label = "qspi.phypattern";
                                reg = <0x3fe0000 0x20000>;
+                               bootph-all;
                        };
                };
        };
index cef47c67493fcc24f56f3cbd409a0268aaa5176f..0722f6361cc8b0bfd2c666cc5a9f1b70e3070859 100644 (file)
                        J721E_WKUP_IOPAD(0xf8, PIN_INPUT_PULLUP, 0) /* (J25) WKUP_I2C0_SCL */
                        J721E_WKUP_IOPAD(0xfc, PIN_INPUT_PULLUP, 0) /* (H24) WKUP_I2C0_SDA */
                >;
+               bootph-all;
        };
 
        pmic_irq_pins_default: pmic-irq-default-pins {
                        J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0)  /* MCU_OSPI0_D7 */
                        J721E_WKUP_IOPAD(0x002c, PIN_OUTPUT, 0) /* MCU_OSPI0_CSn0 */
                >;
+               bootph-all;
        };
 
        mcu_fss0_hpb0_pins_default: mcu-fss0-hpb0-default-pins {
                        J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1)  /* MCU_HYPERBUS0_DQ6 */
                        J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1)  /* MCU_HYPERBUS0_DQ7 */
                >;
+               bootph-all;
        };
 };
 
                        partition@3fe0000 {
                                label = "ospi.phypattern";
                                reg = <0x3fe0000 0x20000>;
+                               bootph-all;
                        };
                };
        };
        flash@0,0 {
                compatible = "cypress,hyperflash", "cfi-flash";
                reg = <0x00 0x00 0x4000000>;
+               bootph-all;
 
                partitions {
                        compatible = "fixed-partitions";