Neil Armstrong | 5b3da7f | 2018-06-05 10:10:44 +0200 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR MIT) |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2016 Andreas Färber |
| 4 | * Copyright (c) 2016 BayLibre, Inc. |
| 5 | * Author: Kevin Hilman <khilman@kernel.org> |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 6 | */ |
| 7 | |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "meson-gxbb.dtsi" |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 11 | #include <dt-bindings/gpio/gpio.h> |
Neil Armstrong | 2e8d47c | 2021-09-17 09:37:00 +0200 | [diff] [blame] | 12 | #include <dt-bindings/sound/meson-aiu.h> |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; |
| 16 | model = "Hardkernel ODROID-C2"; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 17 | |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 18 | aliases { |
| 19 | serial0 = &uart_AO; |
Neil Armstrong | 5b3da7f | 2018-06-05 10:10:44 +0200 | [diff] [blame] | 20 | ethernet0 = ðmac; |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | chosen { |
| 24 | stdout-path = "serial0:115200n8"; |
| 25 | }; |
| 26 | |
| 27 | memory@0 { |
| 28 | device_type = "memory"; |
| 29 | reg = <0x0 0x0 0x0 0x80000000>; |
| 30 | }; |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 31 | |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 32 | usb_otg_pwr: regulator-usb-pwrs { |
| 33 | compatible = "regulator-fixed"; |
| 34 | |
| 35 | regulator-name = "USB_OTG_PWR"; |
| 36 | |
| 37 | regulator-min-microvolt = <5000000>; |
| 38 | regulator-max-microvolt = <5000000>; |
| 39 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 40 | /* |
| 41 | * signal name from schematics: PWREN |
| 42 | */ |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 43 | gpio = <&gpio_ao GPIOAO_5 GPIO_ACTIVE_HIGH>; |
| 44 | enable-active-high; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 45 | /* |
| 46 | * signal name from schematics: USB_POWER |
| 47 | */ |
| 48 | vin-supply = <&p5v0>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 49 | }; |
| 50 | |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 51 | leds { |
| 52 | compatible = "gpio-leds"; |
Neil Armstrong | 4e7b0a3 | 2020-09-10 10:48:12 +0200 | [diff] [blame] | 53 | led-blue { |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 54 | label = "c2:blue:alive"; |
| 55 | gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; |
| 56 | linux,default-trigger = "heartbeat"; |
| 57 | default-state = "off"; |
| 58 | }; |
| 59 | }; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 60 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 61 | p5v0: regulator-p5v0 { |
| 62 | compatible = "regulator-fixed"; |
| 63 | |
| 64 | regulator-name = "P5V0"; |
| 65 | regulator-min-microvolt = <5000000>; |
| 66 | regulator-max-microvolt = <5000000>; |
| 67 | regulator-always-on; |
| 68 | }; |
| 69 | |
| 70 | hdmi_p5v0: regulator-hdmi_p5v0 { |
| 71 | compatible = "regulator-fixed"; |
| 72 | regulator-name = "HDMI_P5V0"; |
| 73 | regulator-min-microvolt = <5000000>; |
| 74 | regulator-max-microvolt = <5000000>; |
| 75 | /* AP2331SA-7 */ |
| 76 | vin-supply = <&p5v0>; |
| 77 | }; |
| 78 | |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 79 | tflash_vdd: regulator-tflash_vdd { |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 80 | compatible = "regulator-fixed"; |
| 81 | |
| 82 | regulator-name = "TFLASH_VDD"; |
| 83 | regulator-min-microvolt = <3300000>; |
| 84 | regulator-max-microvolt = <3300000>; |
| 85 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 86 | /* |
| 87 | * signal name from schematics: TFLASH_VDD_EN |
| 88 | */ |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 89 | gpio = <&gpio GPIOY_12 GPIO_ACTIVE_HIGH>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 90 | enable-active-high; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 91 | /* U16 RT9179GB */ |
| 92 | vin-supply = <&vddio_ao3v3>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | tf_io: gpio-regulator-tf_io { |
| 96 | compatible = "regulator-gpio"; |
| 97 | |
| 98 | regulator-name = "TF_IO"; |
| 99 | regulator-min-microvolt = <1800000>; |
| 100 | regulator-max-microvolt = <3300000>; |
| 101 | |
| 102 | /* |
| 103 | * signal name from schematics: TF_3V3N_1V8_EN |
| 104 | */ |
| 105 | gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; |
| 106 | gpios-states = <0>; |
| 107 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 108 | states = <3300000 0>, |
| 109 | <1800000 1>; |
| 110 | /* U12/U13 RT9179GB */ |
| 111 | vin-supply = <&vddio_ao3v3>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 112 | }; |
| 113 | |
| 114 | vcc1v8: regulator-vcc1v8 { |
| 115 | compatible = "regulator-fixed"; |
| 116 | regulator-name = "VCC1V8"; |
| 117 | regulator-min-microvolt = <1800000>; |
| 118 | regulator-max-microvolt = <1800000>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 119 | regulator-always-on; |
| 120 | /* U18 RT9179GB */ |
| 121 | vin-supply = <&vddio_ao3v3>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 122 | }; |
| 123 | |
| 124 | vcc3v3: regulator-vcc3v3 { |
| 125 | compatible = "regulator-fixed"; |
| 126 | regulator-name = "VCC3V3"; |
| 127 | regulator-min-microvolt = <3300000>; |
| 128 | regulator-max-microvolt = <3300000>; |
| 129 | }; |
| 130 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 131 | vddio_ao1v8: regulator-vddio-ao1v8 { |
| 132 | compatible = "regulator-fixed"; |
| 133 | regulator-name = "VDDIO_AO1V8"; |
| 134 | regulator-min-microvolt = <1800000>; |
| 135 | regulator-max-microvolt = <1800000>; |
| 136 | regulator-always-on; |
| 137 | /* U17 RT9179GB */ |
| 138 | vin-supply = <&p5v0>; |
| 139 | }; |
| 140 | |
| 141 | vddio_ao3v3: regulator-vddio-ao3v3 { |
| 142 | compatible = "regulator-fixed"; |
| 143 | regulator-name = "VDDIO_AO3V3"; |
| 144 | regulator-min-microvolt = <3300000>; |
| 145 | regulator-max-microvolt = <3300000>; |
| 146 | regulator-always-on; |
| 147 | /* U11 MP2161GJ-C499 */ |
| 148 | vin-supply = <&p5v0>; |
| 149 | }; |
| 150 | |
| 151 | ddr3_1v5: regulator-ddr3_1v5 { |
| 152 | compatible = "regulator-fixed"; |
| 153 | regulator-name = "DDR3_1V5"; |
| 154 | regulator-min-microvolt = <1500000>; |
| 155 | regulator-max-microvolt = <1500000>; |
| 156 | regulator-always-on; |
| 157 | /* U15 MP2161GJ-C499 */ |
| 158 | vin-supply = <&p5v0>; |
| 159 | }; |
| 160 | |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 161 | emmc_pwrseq: emmc-pwrseq { |
| 162 | compatible = "mmc-pwrseq-emmc"; |
| 163 | reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>; |
| 164 | }; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 165 | |
| 166 | hdmi-connector { |
| 167 | compatible = "hdmi-connector"; |
| 168 | type = "a"; |
| 169 | |
| 170 | port { |
| 171 | hdmi_connector_in: endpoint { |
| 172 | remote-endpoint = <&hdmi_tx_tmds_out>; |
| 173 | }; |
| 174 | }; |
| 175 | }; |
Neil Armstrong | 2e8d47c | 2021-09-17 09:37:00 +0200 | [diff] [blame] | 176 | |
| 177 | sound { |
| 178 | compatible = "amlogic,gx-sound-card"; |
| 179 | model = "ODROID-C2"; |
| 180 | assigned-clocks = <&clkc CLKID_MPLL0>, |
| 181 | <&clkc CLKID_MPLL1>, |
| 182 | <&clkc CLKID_MPLL2>; |
| 183 | assigned-clock-parents = <0>, <0>, <0>; |
| 184 | assigned-clock-rates = <294912000>, |
| 185 | <270950400>, |
| 186 | <393216000>; |
| 187 | status = "okay"; |
| 188 | |
| 189 | dai-link-0 { |
| 190 | sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; |
| 191 | }; |
| 192 | |
| 193 | dai-link-1 { |
| 194 | sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; |
| 195 | dai-format = "i2s"; |
| 196 | mclk-fs = <256>; |
| 197 | |
| 198 | codec-0 { |
| 199 | sound-dai = <&aiu AIU_HDMI CTRL_I2S>; |
| 200 | }; |
| 201 | }; |
| 202 | |
| 203 | dai-link-2 { |
| 204 | sound-dai = <&aiu AIU_HDMI CTRL_OUT>; |
| 205 | |
| 206 | codec-0 { |
| 207 | sound-dai = <&hdmi_tx>; |
| 208 | }; |
| 209 | }; |
| 210 | }; |
| 211 | }; |
| 212 | |
| 213 | &aiu { |
| 214 | status = "okay"; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 215 | }; |
| 216 | |
| 217 | &cec_AO { |
| 218 | status = "okay"; |
| 219 | pinctrl-0 = <&ao_cec_pins>; |
| 220 | pinctrl-names = "default"; |
| 221 | hdmi-phandle = <&hdmi_tx>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 222 | }; |
| 223 | |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 224 | ðmac { |
| 225 | status = "okay"; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 226 | pinctrl-0 = <ð_rgmii_pins>; |
Beniamino Galvani | dd83840 | 2016-08-16 11:49:48 +0200 | [diff] [blame] | 227 | pinctrl-names = "default"; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 228 | phy-handle = <ð_phy0>; |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 229 | phy-mode = "rgmii"; |
| 230 | |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 231 | amlogic,tx-delay-ns = <2>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 232 | |
| 233 | mdio { |
| 234 | compatible = "snps,dwmac-mdio"; |
| 235 | #address-cells = <1>; |
| 236 | #size-cells = <0>; |
| 237 | |
| 238 | eth_phy0: ethernet-phy@0 { |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 239 | /* Realtek RTL8211F (0x001cc916) */ |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 240 | reg = <0>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 241 | |
| 242 | reset-assert-us = <10000>; |
Neil Armstrong | 2e8d47c | 2021-09-17 09:37:00 +0200 | [diff] [blame] | 243 | reset-deassert-us = <80000>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 244 | reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; |
| 245 | |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 246 | interrupt-parent = <&gpio_intc>; |
| 247 | /* MAC_INTR on GPIOZ_15 */ |
| 248 | interrupts = <29 IRQ_TYPE_LEVEL_LOW>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 249 | }; |
| 250 | }; |
| 251 | }; |
| 252 | |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 253 | &gpio_ao { |
| 254 | /* |
| 255 | * WARNING: The USB Hub on the Odroid-C2 needs a reset signal |
| 256 | * to be turned high in order to be detected by the USB Controller |
| 257 | * This signal should be handled by a USB specific power sequence |
| 258 | * in order to reset the Hub when USB bus is powered down. |
| 259 | */ |
Neil Armstrong | 2e8d47c | 2021-09-17 09:37:00 +0200 | [diff] [blame] | 260 | hog-0 { |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 261 | gpio-hog; |
| 262 | gpios = <GPIOAO_4 GPIO_ACTIVE_HIGH>; |
| 263 | output-high; |
| 264 | line-name = "usb-hub-reset"; |
| 265 | }; |
| 266 | }; |
| 267 | |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 268 | &hdmi_tx { |
| 269 | status = "okay"; |
| 270 | pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>; |
| 271 | pinctrl-names = "default"; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 272 | hdmi-supply = <&hdmi_p5v0>; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 273 | }; |
| 274 | |
| 275 | &hdmi_tx_tmds_port { |
| 276 | hdmi_tx_tmds_out: endpoint { |
| 277 | remote-endpoint = <&hdmi_connector_in>; |
| 278 | }; |
| 279 | }; |
| 280 | |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 281 | &i2c_A { |
| 282 | status = "okay"; |
| 283 | pinctrl-0 = <&i2c_a_pins>; |
| 284 | pinctrl-names = "default"; |
| 285 | }; |
| 286 | |
| 287 | &ir { |
| 288 | status = "okay"; |
| 289 | pinctrl-0 = <&remote_input_ao_pins>; |
| 290 | pinctrl-names = "default"; |
Neil Armstrong | 3a7d6a9 | 2020-04-20 15:44:41 +0200 | [diff] [blame] | 291 | linux,rc-map-name = "rc-odroid"; |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 292 | }; |
| 293 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 294 | &gpio_ao { |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 295 | gpio-line-names = "UART TX", "UART RX", "VCCK En", "TF 3V3/1V8 En", |
| 296 | "USB HUB nRESET", "USB OTG Power En", |
| 297 | "J7 Header Pin2", "IR In", "J7 Header Pin4", |
| 298 | "J7 Header Pin6", "J7 Header Pin5", "J7 Header Pin7", |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 299 | "HDMI CEC", "SYS LED", |
| 300 | /* GPIO_TEST_N */ |
| 301 | ""; |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 302 | }; |
| 303 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 304 | &gpio { |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 305 | gpio-line-names = /* Bank GPIOZ */ |
| 306 | "Eth MDIO", "Eth MDC", "Eth RGMII RX Clk", |
| 307 | "Eth RX DV", "Eth RX D0", "Eth RX D1", "Eth RX D2", |
| 308 | "Eth RX D3", "Eth RGMII TX Clk", "Eth TX En", |
| 309 | "Eth TX D0", "Eth TX D1", "Eth TX D2", "Eth TX D3", |
| 310 | "Eth PHY nRESET", "Eth PHY Intc", |
| 311 | /* Bank GPIOH */ |
| 312 | "HDMI HPD", "HDMI DDC SDA", "HDMI DDC SCL", "", |
| 313 | /* Bank BOOT */ |
| 314 | "eMMC D0", "eMMC D1", "eMMC D2", "eMMC D3", "eMMC D4", |
| 315 | "eMMC D5", "eMMC D6", "eMMC D7", "eMMC Clk", |
| 316 | "eMMC Reset", "eMMC CMD", |
| 317 | "", "", "", "", "", "", "", |
| 318 | /* Bank CARD */ |
| 319 | "SDCard D1", "SDCard D0", "SDCard CLK", "SDCard CMD", |
| 320 | "SDCard D3", "SDCard D2", "SDCard Det", |
| 321 | /* Bank GPIODV */ |
| 322 | "", "", "", "", "", "", "", "", "", "", "", "", "", |
| 323 | "", "", "", "", "", "", "", "", "", "", "", |
| 324 | "I2C A SDA", "I2C A SCK", "I2C B SDA", "I2C B SCK", |
| 325 | "PWM D", "PWM B", |
| 326 | /* Bank GPIOY */ |
| 327 | "Revision Bit0", "Revision Bit1", "", |
| 328 | "J2 Header Pin35", "", "", "", "J2 Header Pin36", |
| 329 | "J2 Header Pin31", "", "", "", "TF VDD En", |
| 330 | "J2 Header Pin32", "J2 Header Pin26", "", "", |
| 331 | /* Bank GPIOX */ |
| 332 | "J2 Header Pin29", "J2 Header Pin24", |
| 333 | "J2 Header Pin23", "J2 Header Pin22", |
| 334 | "J2 Header Pin21", "J2 Header Pin18", |
| 335 | "J2 Header Pin33", "J2 Header Pin19", |
| 336 | "J2 Header Pin16", "J2 Header Pin15", |
| 337 | "J2 Header Pin12", "J2 Header Pin13", |
| 338 | "J2 Header Pin8", "J2 Header Pin10", |
| 339 | "", "", "", "", "", |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 340 | "J2 Header Pin11", "", "J2 Header Pin7", "", |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 341 | /* Bank GPIOCLK */ |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 342 | "", "", "", ""; |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 343 | }; |
| 344 | |
Beniamino Galvani | 4a63a75 | 2017-07-10 00:30:03 +0200 | [diff] [blame] | 345 | &saradc { |
| 346 | status = "okay"; |
| 347 | vref-supply = <&vcc1v8>; |
| 348 | }; |
| 349 | |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 350 | &scpi_clocks { |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 354 | /* SD */ |
| 355 | &sd_emmc_b { |
| 356 | status = "okay"; |
| 357 | pinctrl-0 = <&sdcard_pins>; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 358 | pinctrl-1 = <&sdcard_clk_gate_pins>; |
| 359 | pinctrl-names = "default", "clk-gate"; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 360 | |
| 361 | bus-width = <4>; |
| 362 | cap-sd-highspeed; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 363 | sd-uhs-sdr12; |
| 364 | sd-uhs-sdr25; |
| 365 | sd-uhs-sdr50; |
| 366 | sd-uhs-ddr50; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 367 | max-frequency = <100000000>; |
| 368 | disable-wp; |
| 369 | |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 370 | cd-gpios = <&gpio CARD_6 GPIO_ACTIVE_LOW>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 371 | |
| 372 | vmmc-supply = <&tflash_vdd>; |
| 373 | vqmmc-supply = <&tf_io>; |
| 374 | }; |
| 375 | |
| 376 | /* eMMC */ |
| 377 | &sd_emmc_c { |
| 378 | status = "okay"; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 379 | pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>; |
| 380 | pinctrl-1 = <&emmc_clk_gate_pins>; |
| 381 | pinctrl-names = "default", "clk-gate"; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 382 | |
| 383 | bus-width = <8>; |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 384 | max-frequency = <200000000>; |
Heiner Kallweit | a3b02a1 | 2017-04-12 20:28:36 +0200 | [diff] [blame] | 385 | non-removable; |
| 386 | disable-wp; |
| 387 | cap-mmc-highspeed; |
| 388 | mmc-ddr-1_8v; |
| 389 | mmc-hs200-1_8v; |
| 390 | |
| 391 | mmc-pwrseq = <&emmc_pwrseq>; |
| 392 | vmmc-supply = <&vcc3v3>; |
| 393 | vqmmc-supply = <&vcc1v8>; |
Beniamino Galvani | bfcef28 | 2016-05-08 08:30:16 +0200 | [diff] [blame] | 394 | }; |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 395 | |
| 396 | &uart_AO { |
| 397 | status = "okay"; |
| 398 | pinctrl-0 = <&uart_ao_a_pins>; |
| 399 | pinctrl-names = "default"; |
| 400 | }; |
| 401 | |
| 402 | &usb0_phy { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 403 | status = "disabled"; |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 404 | phy-supply = <&usb_otg_pwr>; |
| 405 | }; |
| 406 | |
| 407 | &usb1_phy { |
| 408 | status = "okay"; |
Neil Armstrong | 7d750c3 | 2018-04-11 17:40:40 +0200 | [diff] [blame] | 409 | phy-supply = <&usb_otg_pwr>; |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 410 | }; |
| 411 | |
| 412 | &usb0 { |
Jerome Brunet | dd5f235 | 2020-03-05 12:12:38 +0100 | [diff] [blame] | 413 | status = "disabled"; |
Neil Armstrong | 4862215 | 2017-10-12 15:50:30 +0200 | [diff] [blame] | 414 | }; |
| 415 | |
| 416 | &usb1 { |
| 417 | status = "okay"; |
| 418 | }; |