// SPDX-License-Identifier: GPL-2.0-only /* * Project Aurora — JZ08AU-XPA-7J-R3 (MSM8916, 512 MB, ST7735S SPI panel). * RAM-BOOT EMMC1: USB1 + internal eMMC (sdhc_1) for READ-ONLY verification. 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 EMMC1)"; compatible = "jz08au,aurora", "qcom,msm8916"; chassis-type = "embedded"; aliases { serial0 = &blsp_uart2; mmc0 = &sdhc_1; /* eMMC */ }; 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 EMMC1 safety: no SD slot, no radios --- */ /* sdhc_1 (eMMC): enabled below, READ-ONLY enforced by initramfs (blockdev --setro) */ &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>; }; /* * Internal eMMC (stock: bootdevice=7824900.sdhci, qcom,bus-width 8, nonremovable, * vdd = 8916_l8 2.85-2.9 V, vdd-io = 8916_l5 1.8 V). Upstream msm8916.dtsi already provides * bus-width = <8>, non-removable, mmc-ddr-1_8v (no HS200 = conservative), sdc1 pinctrl; * msm8916-pm8916.dtsi provides vmmc = pm8916_l8, vqmmc = pm8916_l5. Only enable it here. */ &sdhc_1 { status = "okay"; };