// SPDX-License-Identifier: GPL-2.0 /dts-v1/; #include "tegra30-lg-x3.dtsi" / { model = "LG Optimus 4X HD"; compatible = "lge,p880", "nvidia,tegra30"; aliases { mmc1 = &sdmmc3; /* uSD slot */ }; pinmux@70000868 { state_default: pinmux { /* WLAN SDIO pinmux */ host_wlan_wake { nvidia,pins = "pu4"; nvidia,function = "pwm1"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; /* GNSS UART-B pinmux */ uartb_rxd { nvidia,pins = "uart2_rxd_pc3"; nvidia,function = "uartb"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; uartb_txd { nvidia,pins = "uart2_txd_pc2"; nvidia,function = "uartb"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; gps_reset { nvidia,pins = "kb_row7_pr7"; nvidia,function = "kbc"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; /* MicroSD pinmux */ sdmmc3_clk { nvidia,pins = "sdmmc3_clk_pa6"; nvidia,function = "sdmmc3"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; sdmmc3_data { nvidia,pins = "sdmmc3_cmd_pa7", "sdmmc3_dat0_pb7", "sdmmc3_dat1_pb6", "sdmmc3_dat2_pb5", "sdmmc3_dat3_pb4"; nvidia,function = "sdmmc3"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; microsd_detect { nvidia,pins = "clk2_out_pw5"; nvidia,function = "rsvd2"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; /* GPIO keys pinmux */ volume_up { nvidia,pins = "ulpi_data6_po7"; nvidia,function = "spi2"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; /* Sensors pinmux */ current_alert_irq { nvidia,pins = "uart2_rts_n_pj6"; nvidia,function = "uartb"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; /* AUDIO pinmux */ sub_mic_ldo { nvidia,pins = "gmi_cs7_n_pi6"; nvidia,function = "gmi"; nvidia,pull = ; nvidia,tristate = ; nvidia,enable-input = ; }; }; }; sdmmc3: sdhci@78000400 { status = "okay"; bus-width = <4>; cd-gpios = <&gpio TEGRA_GPIO(W, 5) GPIO_ACTIVE_LOW>; vmmc-supply = <&vdd_usd>; vqmmc-supply = <&vdd_1v8_vio>; }; gpio-keys { key-volume-up { label = "Volume Up"; gpios = <&gpio TEGRA_GPIO(O, 7) GPIO_ACTIVE_LOW>; linux,code = ; }; }; panel: panel { compatible = "jdi,dx12d100vm0eaa"; enable-gpios = <&gpio TEGRA_GPIO(Y, 0) GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; backlight = <&backlight>; }; };