Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "tegra30-asus-transformer.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "ASUS Transformer Infinity TF700T"; |
| 8 | compatible = "asus,tf700t", "nvidia,tegra30"; |
| 9 | |
Svyatoslav Ryhel | 62dcf42 | 2023-04-25 18:21:32 +0300 | [diff] [blame] | 10 | host1x@50000000 { |
| 11 | dc@54200000 { |
| 12 | clocks = <&tegra_car TEGRA30_CLK_DISP1>, |
| 13 | <&tegra_car TEGRA30_CLK_PLL_D_OUT0>; |
| 14 | |
| 15 | rgb { |
| 16 | status = "okay"; |
| 17 | |
| 18 | nvidia,panel = <&tc358768>; |
| 19 | }; |
| 20 | }; |
| 21 | }; |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 22 | |
Svyatoslav Ryhel | f3947d4 | 2023-11-27 19:20:21 +0200 | [diff] [blame] | 23 | pinmux@70000868 { |
| 24 | state_default: pinmux { |
| 25 | lcd_pwr2_pc6 { |
| 26 | nvidia,pins = "lcd_pwr2_pc6", |
| 27 | "lcd_dc1_pd2"; |
| 28 | nvidia,function = "displaya"; |
| 29 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 30 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 31 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 32 | }; |
| 33 | |
| 34 | pbb3 { |
| 35 | nvidia,pins = "pbb3"; |
| 36 | nvidia,function = "vgp3"; |
| 37 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 38 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 39 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 40 | }; |
| 41 | |
| 42 | spi2_mosi_px0 { |
| 43 | nvidia,pins = "spi2_mosi_px0"; |
| 44 | nvidia,function = "spi2"; |
| 45 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 46 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 47 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 48 | }; |
| 49 | |
| 50 | pbb7 { |
| 51 | nvidia,pins = "pbb7"; |
| 52 | nvidia,function = "i2s4"; |
| 53 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 54 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 55 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 56 | }; |
| 57 | |
| 58 | kb_row7_pr7 { |
| 59 | nvidia,pins = "kb_row7_pr7"; |
| 60 | nvidia,function = "kbc"; |
| 61 | nvidia,pull = <TEGRA_PIN_PULL_NONE>; |
| 62 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 63 | nvidia,enable-input = <TEGRA_PIN_DISABLE>; |
| 64 | }; |
| 65 | |
| 66 | gmi_cs4_n_pk2 { |
| 67 | nvidia,pins = "gmi_cs4_n_pk2"; |
| 68 | nvidia,function = "gmi"; |
| 69 | nvidia,pull = <TEGRA_PIN_PULL_UP>; |
| 70 | nvidia,tristate = <TEGRA_PIN_DISABLE>; |
| 71 | nvidia,enable-input = <TEGRA_PIN_ENABLE>; |
| 72 | }; |
| 73 | }; |
| 74 | }; |
| 75 | |
Svyatoslav Ryhel | 62dcf42 | 2023-04-25 18:21:32 +0300 | [diff] [blame] | 76 | tc358768_refclk: clock-tc358768 { |
| 77 | compatible = "fixed-clock"; |
| 78 | clock-frequency = <23100000>; |
| 79 | clock-accuracy = <100>; |
| 80 | #clock-cells = <0>; |
| 81 | }; |
| 82 | |
| 83 | tc358768_osc: clock-tc358768-osc-gate { |
| 84 | compatible = "gpio-gate-clock"; |
| 85 | enable-gpios = <&gpio TEGRA_GPIO(D, 2) GPIO_ACTIVE_HIGH>; |
| 86 | clocks = <&tc358768_refclk>; |
| 87 | #clock-cells = <0>; |
| 88 | }; |
| 89 | |
| 90 | i2c-mux { |
| 91 | compatible = "i2c-mux-gpio"; |
| 92 | |
| 93 | mux-gpios = <&gpio TEGRA_GPIO(X, 0) GPIO_ACTIVE_HIGH>; |
| 94 | i2c-parent = <&gen1_i2c>; |
| 95 | idle-state = <0x0>; |
| 96 | |
| 97 | #address-cells = <1>; |
| 98 | #size-cells = <0>; |
| 99 | |
| 100 | i2c@1 { |
| 101 | reg = <1>; |
| 102 | #address-cells = <1>; |
| 103 | #size-cells = <0>; |
| 104 | |
| 105 | tc358768: dsi@7 { |
| 106 | compatible = "toshiba,tc358768"; |
| 107 | reg = <0x7>; |
| 108 | |
| 109 | #address-cells = <1>; |
| 110 | #size-cells = <0>; |
| 111 | |
| 112 | clocks = <&tc358768_osc>; |
| 113 | clock-names = "refclk"; |
| 114 | |
| 115 | reset-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_LOW>; |
| 116 | |
| 117 | vddc-supply = <&vdd_1v2_mipi>; |
| 118 | vddio-supply = <&vdd_1v8_vio>; |
| 119 | vddmipi-supply = <&vdd_1v2_mipi>; |
| 120 | |
| 121 | panel = <&panel>; |
| 122 | }; |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | panel: panel { |
| 127 | compatible = "panasonic,vvx10f004b00"; |
| 128 | |
| 129 | power-supply = <&vdd_pnl_reg>; |
| 130 | backlight = <&backlight>; |
| 131 | |
| 132 | /delete-property/ enable-gpios; |
| 133 | |
| 134 | display-timings { |
| 135 | timing@0 { |
| 136 | /* 1920x1200@60Hz */ |
| 137 | clock-frequency = <154000000>; |
| 138 | |
| 139 | hactive = <1920>; |
| 140 | hfront-porch = <48>; |
| 141 | hback-porch = <80>; |
| 142 | hsync-len = <32>; |
| 143 | hsync-active = <1>; |
| 144 | |
| 145 | vactive = <1200>; |
| 146 | vfront-porch = <3>; |
| 147 | vback-porch = <26>; |
| 148 | vsync-len = <6>; |
| 149 | vsync-active = <1>; |
| 150 | }; |
| 151 | }; |
| 152 | }; |
| 153 | |
| 154 | vdd_1v2_mipi: regulator-mipi { |
| 155 | compatible = "regulator-fixed"; |
| 156 | regulator-name = "tc358768_1v2_vdd"; |
| 157 | regulator-min-microvolt = <1200000>; |
| 158 | regulator-max-microvolt = <1200000>; |
| 159 | regulator-enable-ramp-delay = <10000>; |
| 160 | regulator-boot-on; |
| 161 | gpio = <&gpio TEGRA_GPIO(BB, 3) GPIO_ACTIVE_HIGH>; |
| 162 | enable-active-high; |
| 163 | }; |
Svyatoslav Ryhel | 7a25c38 | 2023-06-30 10:29:03 +0300 | [diff] [blame] | 164 | }; |