// SPDX-License-Identifier: GPL-2.0-only /* * Project Aurora — JZ08AU-XPA-7J-R3 (MSM8916, 512 MB, ST7735S SPI panel). * RAM-BOOT USB1: kernel + UART console + USB peripheral (NCM gadget). Everything that could touch * storage, radios or power management is explicitly disabled. * * Hardware facts from stock Aurora dtb_01 (see NOTES.md S2.1/S12): * console = BLSP1 UART2 serial@78b0000, GPIO4 (TX) / GPIO5 (RX), 115200 8N1. * RAM size (memory@80000000 reg) is filled in by lk2nd from SMEM. */ /dts-v1/; #include "msm8916-pm8916.dtsi" /* + RPM regulators (USB PHY L7/L13) */ / { model = "JZ08AU Aurora (RAM boot USB1)"; compatible = "jz08au,aurora", "qcom,msm8916"; chassis-type = "embedded"; aliases { serial0 = &blsp_uart2; }; chosen { stdout-path = "serial0:115200n8"; }; }; &blsp_uart2 { pinctrl-0 = <&blsp_uart2_console_default>; pinctrl-1 = <&blsp_uart2_console_sleep>; pinctrl-names = "default", "sleep"; status = "okay"; }; /* --- RAM boot USB1 safety: no storage, no radios --- */ &sdhc_1 { status = "disabled"; }; /* eMMC: must stay untouched */ &sdhc_2 { status = "disabled"; }; /* usb: see peripheral block below */ &mpss { status = "disabled"; }; &bam_dmux { status = "disabled"; }; &bam_dmux_dma { status = "disabled"; }; &wcnss { status = "disabled"; }; /* WCNSS/pronto remoteproc */ /* * USB peripheral only (ChipIdea ci-hdrc + qcom,usb-hs-phy-msm8916, upstream bindings). * Stock Aurora: HSUSB_1p8 = L7 1.8 V, HSUSB_3p3 = L13 3.075 V, otg-control = 2 (PMIC VBUS detect), * PHY init-seq identical to upstream. VBUS detect via PM8916 USB_IN (as on JZ02). No host, no role switch. */ &pm8916_usbin { status = "okay"; }; &usb { dr_mode = "peripheral"; extcon = <&pm8916_usbin>; status = "okay"; }; &usb_hs_phy { extcon = <&pm8916_usbin>; };