| .. | .. |
|---|
| 36 | 36 | regulator-min-microvolt = <5000000>; |
|---|
| 37 | 37 | regulator-max-microvolt = <5000000>; |
|---|
| 38 | 38 | |
|---|
| 39 | + /* |
|---|
| 40 | + * signal name from schematics: PWREN |
|---|
| 41 | + */ |
|---|
| 39 | 42 | gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; |
|---|
| 40 | 43 | enable-active-high; |
|---|
| 44 | + /* |
|---|
| 45 | + * signal name from schematics: USB_POWER |
|---|
| 46 | + */ |
|---|
| 47 | + vin-supply = <&p5v0>; |
|---|
| 41 | 48 | }; |
|---|
| 42 | 49 | |
|---|
| 43 | 50 | leds { |
|---|
| 44 | 51 | compatible = "gpio-leds"; |
|---|
| 45 | | - blue { |
|---|
| 52 | + led-blue { |
|---|
| 46 | 53 | label = "c2:blue:alive"; |
|---|
| 47 | 54 | gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; |
|---|
| 48 | 55 | linux,default-trigger = "heartbeat"; |
|---|
| .. | .. |
|---|
| 50 | 57 | }; |
|---|
| 51 | 58 | }; |
|---|
| 52 | 59 | |
|---|
| 60 | + p5v0: regulator-p5v0 { |
|---|
| 61 | + compatible = "regulator-fixed"; |
|---|
| 62 | + |
|---|
| 63 | + regulator-name = "P5V0"; |
|---|
| 64 | + regulator-min-microvolt = <5000000>; |
|---|
| 65 | + regulator-max-microvolt = <5000000>; |
|---|
| 66 | + regulator-always-on; |
|---|
| 67 | + }; |
|---|
| 68 | + |
|---|
| 69 | + hdmi_p5v0: regulator-hdmi_p5v0 { |
|---|
| 70 | + compatible = "regulator-fixed"; |
|---|
| 71 | + regulator-name = "HDMI_P5V0"; |
|---|
| 72 | + regulator-min-microvolt = <5000000>; |
|---|
| 73 | + regulator-max-microvolt = <5000000>; |
|---|
| 74 | + /* AP2331SA-7 */ |
|---|
| 75 | + vin-supply = <&p5v0>; |
|---|
| 76 | + }; |
|---|
| 77 | + |
|---|
| 53 | 78 | tflash_vdd: regulator-tflash_vdd { |
|---|
| 54 | | - /* |
|---|
| 55 | | - * signal name from schematics: TFLASH_VDD_EN |
|---|
| 56 | | - */ |
|---|
| 57 | 79 | compatible = "regulator-fixed"; |
|---|
| 58 | 80 | |
|---|
| 59 | 81 | regulator-name = "TFLASH_VDD"; |
|---|
| 60 | 82 | regulator-min-microvolt = <3300000>; |
|---|
| 61 | 83 | regulator-max-microvolt = <3300000>; |
|---|
| 62 | 84 | |
|---|
| 85 | + /* |
|---|
| 86 | + * signal name from schematics: TFLASH_VDD_EN |
|---|
| 87 | + */ |
|---|
| 63 | 88 | gpio = <&gpio GPIOY_12 GPIO_ACTIVE_HIGH>; |
|---|
| 64 | 89 | enable-active-high; |
|---|
| 90 | + /* U16 RT9179GB */ |
|---|
| 91 | + vin-supply = <&vddio_ao3v3>; |
|---|
| 65 | 92 | }; |
|---|
| 66 | 93 | |
|---|
| 67 | 94 | tf_io: gpio-regulator-tf_io { |
|---|
| .. | .. |
|---|
| 77 | 104 | gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; |
|---|
| 78 | 105 | gpios-states = <0>; |
|---|
| 79 | 106 | |
|---|
| 80 | | - states = <3300000 0 |
|---|
| 81 | | - 1800000 1>; |
|---|
| 107 | + states = <3300000 0>, |
|---|
| 108 | + <1800000 1>; |
|---|
| 109 | + /* U12/U13 RT9179GB */ |
|---|
| 110 | + vin-supply = <&vddio_ao3v3>; |
|---|
| 82 | 111 | }; |
|---|
| 83 | 112 | |
|---|
| 84 | 113 | vcc1v8: regulator-vcc1v8 { |
|---|
| .. | .. |
|---|
| 86 | 115 | regulator-name = "VCC1V8"; |
|---|
| 87 | 116 | regulator-min-microvolt = <1800000>; |
|---|
| 88 | 117 | regulator-max-microvolt = <1800000>; |
|---|
| 118 | + regulator-always-on; |
|---|
| 119 | + /* U18 RT9179GB */ |
|---|
| 120 | + vin-supply = <&vddio_ao3v3>; |
|---|
| 89 | 121 | }; |
|---|
| 90 | 122 | |
|---|
| 91 | 123 | vcc3v3: regulator-vcc3v3 { |
|---|
| .. | .. |
|---|
| 93 | 125 | regulator-name = "VCC3V3"; |
|---|
| 94 | 126 | regulator-min-microvolt = <3300000>; |
|---|
| 95 | 127 | regulator-max-microvolt = <3300000>; |
|---|
| 128 | + }; |
|---|
| 129 | + |
|---|
| 130 | + vddio_ao1v8: regulator-vddio-ao1v8 { |
|---|
| 131 | + compatible = "regulator-fixed"; |
|---|
| 132 | + regulator-name = "VDDIO_AO1V8"; |
|---|
| 133 | + regulator-min-microvolt = <1800000>; |
|---|
| 134 | + regulator-max-microvolt = <1800000>; |
|---|
| 135 | + regulator-always-on; |
|---|
| 136 | + /* U17 RT9179GB */ |
|---|
| 137 | + vin-supply = <&p5v0>; |
|---|
| 138 | + }; |
|---|
| 139 | + |
|---|
| 140 | + vddio_ao3v3: regulator-vddio-ao3v3 { |
|---|
| 141 | + compatible = "regulator-fixed"; |
|---|
| 142 | + regulator-name = "VDDIO_AO3V3"; |
|---|
| 143 | + regulator-min-microvolt = <3300000>; |
|---|
| 144 | + regulator-max-microvolt = <3300000>; |
|---|
| 145 | + regulator-always-on; |
|---|
| 146 | + /* U11 MP2161GJ-C499 */ |
|---|
| 147 | + vin-supply = <&p5v0>; |
|---|
| 148 | + }; |
|---|
| 149 | + |
|---|
| 150 | + ddr3_1v5: regulator-ddr3_1v5 { |
|---|
| 151 | + compatible = "regulator-fixed"; |
|---|
| 152 | + regulator-name = "DDR3_1V5"; |
|---|
| 153 | + regulator-min-microvolt = <1500000>; |
|---|
| 154 | + regulator-max-microvolt = <1500000>; |
|---|
| 155 | + regulator-always-on; |
|---|
| 156 | + /* U15 MP2161GJ-C499 */ |
|---|
| 157 | + vin-supply = <&p5v0>; |
|---|
| 96 | 158 | }; |
|---|
| 97 | 159 | |
|---|
| 98 | 160 | emmc_pwrseq: emmc-pwrseq { |
|---|
| .. | .. |
|---|
| 126 | 188 | phy-handle = <ð_phy0>; |
|---|
| 127 | 189 | phy-mode = "rgmii"; |
|---|
| 128 | 190 | |
|---|
| 129 | | - snps,reset-gpio = <&gpio GPIOZ_14 0>; |
|---|
| 130 | | - snps,reset-delays-us = <0 10000 1000000>; |
|---|
| 131 | | - snps,reset-active-low; |
|---|
| 132 | | - |
|---|
| 133 | 191 | amlogic,tx-delay-ns = <2>; |
|---|
| 134 | 192 | |
|---|
| 135 | 193 | mdio { |
|---|
| .. | .. |
|---|
| 140 | 198 | eth_phy0: ethernet-phy@0 { |
|---|
| 141 | 199 | /* Realtek RTL8211F (0x001cc916) */ |
|---|
| 142 | 200 | reg = <0>; |
|---|
| 201 | + |
|---|
| 202 | + reset-assert-us = <10000>; |
|---|
| 203 | + reset-deassert-us = <80000>; |
|---|
| 204 | + reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; |
|---|
| 205 | + |
|---|
| 143 | 206 | interrupt-parent = <&gpio_intc>; |
|---|
| 144 | 207 | /* MAC_INTR on GPIOZ_15 */ |
|---|
| 145 | 208 | interrupts = <29 IRQ_TYPE_LEVEL_LOW>; |
|---|
| 146 | | - eee-broken-1000t; |
|---|
| 147 | 209 | }; |
|---|
| 148 | 210 | }; |
|---|
| 149 | 211 | }; |
|---|
| .. | .. |
|---|
| 167 | 229 | status = "okay"; |
|---|
| 168 | 230 | pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; |
|---|
| 169 | 231 | pinctrl-names = "default"; |
|---|
| 232 | + hdmi-supply = <&hdmi_p5v0>; |
|---|
| 170 | 233 | }; |
|---|
| 171 | 234 | |
|---|
| 172 | 235 | &hdmi_tx_tmds_port { |
|---|
| .. | .. |
|---|
| 185 | 248 | status = "okay"; |
|---|
| 186 | 249 | pinctrl-0 = <&remote_input_ao_pins>; |
|---|
| 187 | 250 | pinctrl-names = "default"; |
|---|
| 251 | + linux,rc-map-name = "rc-odroid"; |
|---|
| 188 | 252 | }; |
|---|
| 189 | 253 | |
|---|
| 190 | 254 | &gpio_ao { |
|---|
| .. | .. |
|---|
| 256 | 320 | |
|---|
| 257 | 321 | bus-width = <4>; |
|---|
| 258 | 322 | cap-sd-highspeed; |
|---|
| 323 | + sd-uhs-sdr12; |
|---|
| 324 | + sd-uhs-sdr25; |
|---|
| 325 | + sd-uhs-sdr50; |
|---|
| 326 | + sd-uhs-ddr50; |
|---|
| 259 | 327 | max-frequency = <100000000>; |
|---|
| 260 | 328 | disable-wp; |
|---|
| 261 | 329 | |
|---|
| 262 | | - cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_HIGH>; |
|---|
| 263 | | - cd-inverted; |
|---|
| 330 | + cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>; |
|---|
| 264 | 331 | |
|---|
| 265 | 332 | vmmc-supply = <&tflash_vdd>; |
|---|
| 266 | 333 | vqmmc-supply = <&tf_io>; |
|---|
| .. | .. |
|---|
| 274 | 341 | pinctrl-names = "default", "clk-gate"; |
|---|
| 275 | 342 | |
|---|
| 276 | 343 | bus-width = <8>; |
|---|
| 277 | | - max-frequency = <100000000>; |
|---|
| 344 | + max-frequency = <200000000>; |
|---|
| 278 | 345 | non-removable; |
|---|
| 279 | 346 | disable-wp; |
|---|
| 280 | 347 | cap-mmc-highspeed; |
|---|