Svyatoslav Ryhel | 88fd156 | 2023-06-30 10:29:04 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "tegra30-asus-grouper-common.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) E1565"; |
| 8 | compatible = "asus,grouper", "nvidia,tegra30"; |
| 9 | |
Svyatoslav Ryhel | 51f70c1 | 2023-11-27 18:16:50 +0200 | [diff] [blame] | 10 | pinmux@70000868 { |
| 11 | state_default: pinmux { |
| 12 | lcd_dc1_pd2 { |
| 13 | nvidia,pins = "lcd_dc1_pd2"; |
| 14 | nvidia,function = "displaya"; |
| 15 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 16 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 17 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 18 | }; |
| 19 | lcd_pwr2_pc6 { |
| 20 | nvidia,pins = "lcd_pwr2_pc6"; |
| 21 | nvidia,function = "displaya"; |
| 22 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 23 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 24 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 25 | }; |
| 26 | spi2_cs2_n_pw3 { |
| 27 | nvidia,pins = "spi2_cs2_n_pw3"; |
| 28 | nvidia,function = "spi2"; |
| 29 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 30 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 31 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 32 | }; |
| 33 | spi1_sck_px5 { |
| 34 | nvidia,pins = "spi1_sck_px5"; |
| 35 | nvidia,function = "spi1"; |
| 36 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 37 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 38 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 39 | }; |
| 40 | pu5 { |
| 41 | nvidia,pins = "pu5"; |
| 42 | nvidia,function = "pwm2"; |
| 43 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 44 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 45 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 46 | }; |
| 47 | spi1_miso_px7 { |
| 48 | nvidia,pins = "spi1_miso_px7"; |
| 49 | nvidia,function = "spi1"; |
| 50 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 51 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 52 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 53 | }; |
| 54 | spi2_mosi_px0 { |
| 55 | nvidia,pins = "spi2_mosi_px0"; |
| 56 | nvidia,function = "spi2"; |
| 57 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 58 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 59 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 60 | }; |
| 61 | kb_row7_pr7 { |
| 62 | nvidia,pins = "kb_row7_pr7"; |
| 63 | nvidia,function = "kbc"; |
| 64 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 65 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 66 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 67 | }; |
| 68 | pu3 { |
| 69 | nvidia,pins = "pu3"; |
| 70 | nvidia,function = "rsvd4"; |
| 71 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 72 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 73 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 74 | }; |
| 75 | pu4 { |
| 76 | nvidia,pins = "pu4"; |
| 77 | nvidia,function = "pwm1"; |
| 78 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 79 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 80 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 81 | }; |
| 82 | kb_row15_ps7 { |
| 83 | nvidia,pins = "kb_row15_ps7"; |
| 84 | nvidia,function = "kbc"; |
| 85 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 86 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 87 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 88 | }; |
| 89 | kb_row3_pr3 { |
| 90 | nvidia,pins = "kb_row3_pr3"; |
| 91 | nvidia,function = "kbc"; |
| 92 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 93 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 94 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 95 | }; |
| 96 | kb_row13_ps5 { |
| 97 | nvidia,pins = "kb_row13_ps5"; |
| 98 | nvidia,function = "kbc"; |
| 99 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 100 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 101 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 102 | }; |
| 103 | gmi_wp_n_pc7 { |
| 104 | nvidia,pins = "gmi_wp_n_pc7", |
| 105 | "gmi_wait_pi7", |
| 106 | "gmi_cs4_n_pk2", |
| 107 | "gmi_cs3_n_pk4"; |
| 108 | nvidia,function = "rsvd1"; |
| 109 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 110 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 111 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 112 | }; |
| 113 | gmi_cs6_n_pi3 { |
| 114 | nvidia,pins = "gmi_cs6_n_pi3"; |
| 115 | nvidia,function = "gmi"; |
| 116 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 117 | nvidia,tristate = <TEGRA_PIN_ENABLE>; |
| 118 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 119 | }; |
| 120 | }; |
| 121 | }; |
| 122 | |
Svyatoslav Ryhel | 88fd156 | 2023-06-30 10:29:04 +0300 | [diff] [blame] | 123 | i2c@7000d000 { |
| 124 | pmic: max77663@3c { |
| 125 | compatible = "maxim,max77663"; |
| 126 | reg = <0x3c>; |
| 127 | |
| 128 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
| 129 | #interrupt-cells = <2>; |
| 130 | interrupt-controller; |
| 131 | |
| 132 | system-power-controller; |
| 133 | |
| 134 | #gpio-cells = <2>; |
| 135 | gpio-controller; |
| 136 | |
| 137 | regulators { |
Svyatoslav Ryhel | caa4a46 | 2023-10-03 09:36:41 +0300 | [diff] [blame] | 138 | vdd_1v8_vio: sd2 { |
Svyatoslav Ryhel | 88fd156 | 2023-06-30 10:29:04 +0300 | [diff] [blame] | 139 | regulator-name = "vdd_1v8_gen"; |
| 140 | regulator-min-microvolt = <1800000>; |
| 141 | regulator-max-microvolt = <1800000>; |
| 142 | regulator-always-on; |
| 143 | regulator-boot-on; |
| 144 | }; |
| 145 | |
| 146 | /* eMMC VDD */ |
| 147 | vcore_emmc: ldo3 { |
| 148 | regulator-name = "vcore_emmc"; |
| 149 | regulator-min-microvolt = <2850000>; |
Svyatoslav Ryhel | caa4a46 | 2023-10-03 09:36:41 +0300 | [diff] [blame] | 150 | regulator-max-microvolt = <2850000>; |
Svyatoslav Ryhel | 193e948 | 2023-08-26 18:46:27 +0300 | [diff] [blame] | 151 | regulator-boot-on; |
Svyatoslav Ryhel | 88fd156 | 2023-06-30 10:29:04 +0300 | [diff] [blame] | 152 | }; |
| 153 | }; |
| 154 | }; |
| 155 | }; |
| 156 | }; |