Svyatoslav Ryhel | fcb1d91 | 2023-06-30 10:29:05 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "tegra30-lg-x3.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "LG Optimus 4X HD"; |
| 8 | compatible = "lge,p880", "nvidia,tegra30"; |
| 9 | |
| 10 | aliases { |
| 11 | mmc1 = &sdmmc3; /* uSD slot */ |
| 12 | }; |
| 13 | |
| 14 | sdmmc3: sdhci@78000400 { |
| 15 | status = "okay"; |
| 16 | bus-width = <4>; |
| 17 | |
| 18 | cd-gpios = <&gpio TEGRA_GPIO(W, 5) GPIO_ACTIVE_LOW>; |
| 19 | |
| 20 | vmmc-supply = <&vdd_usd>; |
| 21 | vqmmc-supply = <&vdd_1v8_vio>; |
| 22 | }; |
| 23 | |
| 24 | gpio-keys { |
| 25 | key-volume-up { |
| 26 | label = "Volume Up"; |
| 27 | gpios = <&gpio TEGRA_GPIO(O, 7) GPIO_ACTIVE_LOW>; |
| 28 | linux,code = <KEY_UP>; |
| 29 | }; |
| 30 | }; |
| 31 | |
| 32 | panel: panel { |
| 33 | compatible = "jdi,dx12d100vm0eaa"; |
| 34 | |
| 35 | enable-gpios = <&gpio TEGRA_GPIO(Y, 0) GPIO_ACTIVE_HIGH>; |
| 36 | reset-gpios = <&gpio TEGRA_GPIO(W, 0) GPIO_ACTIVE_HIGH>; |
| 37 | |
| 38 | backlight = <&backlight>; |
| 39 | }; |
| 40 | }; |