arm64: dts: ti: k3-j7200-evm*: Add bootph-* properties
authorManorit Chawdhry <m-chawdhry@ti.com>
Thu, 24 Oct 2024 05:21:09 +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:
- pmic regulator for enabling AVS Support
- main_uart0, mcu_uart0(DM), wkup_uart0(TIFS) for Traces
- mmc0, mmc1, usb0, ospi0, hbmc for enabling various bootmodes.

Reviewed-by: Aniket Limaye <a-limaye@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Link: https://lore.kernel.org/r/20241024-b4-upstream-bootph-all-v6-12-2af90e3a4fe7@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
arch/arm64/boot/dts/ti/k3-j7200-som-p0.dtsi

index 6593c5da82c06463c2d7cbbe01d6fa481be1aa1a..d03690b8d65230d22b3630770a6bc819409837c1 100644 (file)
                        J721E_WKUP_IOPAD(0x8c, PIN_INPUT, 0) /* (D20) MCU_UART0_RXD */
                        J721E_WKUP_IOPAD(0x88, PIN_OUTPUT, 0) /* (D19) MCU_UART0_TXD */
                >;
+               bootph-all;
        };
 
        wkup_uart0_pins_default: wkup-uart0-default-pins {
                        J721E_WKUP_IOPAD(0x48, PIN_INPUT, 0) /* (B14) WKUP_UART0_RXD */
                        J721E_WKUP_IOPAD(0x4c, PIN_OUTPUT, 0) /* (A14) WKUP_UART0_TXD */
                >;
+               bootph-all;
        };
 
        mcu_cpsw_pins_default: mcu-cpsw-default-pins {
                        J721E_IOPAD(0xc0, PIN_INPUT, 2) /* (W3) SPI0_CS0.UART0_CTSn */
                        J721E_IOPAD(0xc4, PIN_OUTPUT, 2) /* (U5) SPI0_CS1.UART0_RTSn */
                >;
+               bootph-all;
        };
 
        main_uart1_pins_default: main-uart1-default-pins {
                        J721E_IOPAD(0xec, PIN_INPUT, 0) /* (N19) MMC1_DAT3 */
                        J721E_IOPAD(0xe4, PIN_INPUT, 8) /* (V1) TIMER_IO0.MMC1_SDCD */
                >;
+               bootph-all;
        };
 
        vdd_sd_dv_pins_default: vdd-sd-dv-default-pins {
                pinctrl-single,pins = <
                        J721E_IOPAD(0x04, PIN_OUTPUT, 0) /* (T4) USB0_DRVVBUS */
                >;
+               bootph-all;
        };
 };
 
        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 {
        power-domains = <&k3_pds 146 TI_SCI_PD_SHARED>;
        pinctrl-names = "default";
        pinctrl-0 = <&main_uart0_pins_default>;
+       bootph-all;
 };
 
 &main_uart1 {
        /* eMMC */
        status = "okay";
        non-removable;
+       bootph-all;
        ti,driver-strength-ohm = <50>;
        disable-wp;
 };
        pinctrl-names = "default";
        vmmc-supply = <&vdd_mmc1>;
        vqmmc-supply = <&vdd_sd_dv>;
+       bootph-all;
        ti,driver-strength-ohm = <50>;
        disable-wp;
 };
 
 &usb_serdes_mux {
        idle-states = <1>; /* USB0 to SERDES lane 3 */
+       bootph-all;
 };
 
 &usbss0 {
        pinctrl-names = "default";
        pinctrl-0 = <&main_usbss0_pins_default>;
+       bootph-all;
        ti,vbus-divider;
        ti,usb2-only;
 };
 &usb0 {
        dr_mode = "otg";
        maximum-speed = "high-speed";
+       bootph-all;
 };
 
 &tscadc0 {
index e78b4622a7d1ff320259b17850e8f1735508f7dd..291ab9bb414d7883f102101035b19fd324767306 100644 (file)
                        J721E_WKUP_IOPAD(0x24, PIN_INPUT, 1) /* (A8) MCU_OSPI0_D6.MCU_HYPERBUS0_DQ6 */
                        J721E_WKUP_IOPAD(0x28, PIN_INPUT, 1) /* (A7) MCU_OSPI0_D7.MCU_HYPERBUS0_DQ7 */
                >;
+               bootph-all;
        };
 
        mcu_fss0_ospi0_pins_default: mcu-fss0-ospi0-default-pins {
                        J721E_WKUP_IOPAD(0x0028, PIN_INPUT, 0)  /* MCU_OSPI0_D7 */
                        J721E_WKUP_IOPAD(0x0008, PIN_INPUT, 0)  /* MCU_OSPI0_DQS */
                >;
+               bootph-all;
        };
 };
 
                        J721E_WKUP_IOPAD(0x98, PIN_INPUT_PULLUP, 0) /* (F20) WKUP_I2C0_SCL */
                        J721E_WKUP_IOPAD(0x9c, PIN_INPUT_PULLUP, 0) /* (H21) WKUP_I2C0_SDA */
                >;
+               bootph-all;
        };
 };
 
        flash@0,0 {
                compatible = "cypress,hyperflash", "cfi-flash";
                reg = <0x00 0x00 0x4000000>;
+               bootph-all;
 
                partitions {
                        compatible = "fixed-partitions";
                                regulator-max-microvolt = <1800000>;
                                regulator-boot-on;
                                regulator-always-on;
+                               bootph-all;
                        };
 
                        bucka2: buck2 {
                        partition@3fc0000 {
                                label = "ospi.phypattern";
                                reg = <0x3fc0000 0x40000>;
+                               bootph-all;
                        };
                };
        };