1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Google Veyron Fievel Rev 0+ board device tree source
5 * Copyright 2016 Google, Inc
9 #include "rk3288-veyron.dtsi"
10 #include "rk3288-veyron-analog-audio.dtsi"
13 model = "Google Fievel";
14 compatible = "google,veyron-fievel-rev8", "google,veyron-fievel-rev7",
15 "google,veyron-fievel-rev6", "google,veyron-fievel-rev5",
16 "google,veyron-fievel-rev4", "google,veyron-fievel-rev3",
17 "google,veyron-fievel-rev2", "google,veyron-fievel-rev1",
18 "google,veyron-fievel-rev0", "google,veyron-fievel",
19 "google,veyron", "rockchip,rk3288";
22 compatible = "regulator-fixed";
23 regulator-name = "vccsys";
29 * vcc33_pmuio and vcc33_io is sourced directly from vcc33_sys,
33 compatible = "regulator-fixed";
36 regulator-name = "vcc33_io";
39 vcc5_host1: vcc5-host1-regulator {
40 compatible = "regulator-fixed";
42 gpio = <&gpio5 RK_PC2 GPIO_ACTIVE_HIGH>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&hub_usb1_pwr_en>;
45 regulator-name = "vcc5_host1";
50 vcc5_host2: vcc5-host2-regulator {
51 compatible = "regulator-fixed";
53 gpio = <&gpio5 RK_PB6 GPIO_ACTIVE_HIGH>;
54 pinctrl-names = "default";
55 pinctrl-0 = <&hub_usb2_pwr_en>;
56 regulator-name = "vcc5_host2";
61 vcc5v_otg: vcc5v-otg-regulator {
62 compatible = "regulator-fixed";
64 gpio = <&gpio0 RK_PB4 GPIO_ACTIVE_HIGH>;
65 pinctrl-names = "default";
66 pinctrl-0 = <&usb_otg_pwr_en>;
67 regulator-name = "vcc5_otg";
72 ext_gmac: external-gmac-clock {
73 compatible = "fixed-clock";
75 clock-frequency = <125000000>;
76 clock-output-names = "ext_gmac";
83 assigned-clocks = <&cru SCLK_MAC>;
84 assigned-clock-parents = <&ext_gmac>;
85 clock_in_out = "input";
86 phy-handle = <ðphy>;
88 phy-supply = <&vcc33_lan>;
89 pinctrl-names = "default";
90 pinctrl-0 = <&rgmii_pins>, <&phy_rst>, <&phy_pmeb>, <&phy_int>;
95 * Reset for the RTL8211 PHY which requires a 10-ms reset pulse (low)
96 * with a 30ms settling time.
98 snps,reset-gpio = <&gpio4 RK_PB0 0>;
99 snps,reset-active-low;
100 snps,reset-delays-us = <0 10000 30000>;
104 compatible = "snps,dwmac-mdio";
105 #address-cells = <1>;
108 ethphy: ethernet-phy@1 {
115 dvs-gpios = <&gpio7 RK_PB4 GPIO_ACTIVE_HIGH>,
116 <&gpio7 RK_PB7 GPIO_ACTIVE_HIGH>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&pmic_int_l &dvs_1 &dvs_2>;
120 vcc6-supply = <&vcc33_sys>;
121 vcc10-supply = <&vcc33_sys>;
122 vcc11-supply = <&vcc_5v>;
123 vcc12-supply = <&vcc33_sys>;
126 /delete-node/ LDO_REG1;
129 * According to the schematic, vcc18_lcdt is for
132 vcc18_lcdt: LDO_REG2 {
135 regulator-min-microvolt = <1800000>;
136 regulator-max-microvolt = <1800000>;
137 regulator-name = "vdd18_lcdt";
138 regulator-state-mem {
139 regulator-off-in-suspend;
144 * This is not a pwren anymore, but the real power supply,
145 * vdd10_lcd for HDMI_AVDD_1V0
147 vdd10_lcd: LDO_REG7 {
150 regulator-min-microvolt = <1000000>;
151 regulator-max-microvolt = <1000000>;
152 regulator-name = "vdd10_lcd";
153 regulator-state-mem {
154 regulator-off-in-suspend;
159 vcc33_ccd: LDO_REG8 {
162 regulator-min-microvolt = <3300000>;
163 regulator-max-microvolt = <3300000>;
164 regulator-name = "vcc33_ccd";
165 regulator-state-mem {
166 regulator-off-in-suspend;
170 vcc33_lan: SWITCH_REG2 {
171 regulator-name = "vcc33_lan";
177 #address-cells = <1>;
181 compatible = "marvell,sd8897-bt";
183 interrupt-parent = <&gpio4>;
184 interrupts = <RK_PD7 IRQ_TYPE_LEVEL_LOW>;
185 marvell,wakeup-pin = /bits/ 16 <13>;
186 pinctrl-names = "default";
187 pinctrl-0 = <&bt_host_wake_l>;
193 gpio = <&gpio5 RK_PC3 GPIO_ACTIVE_HIGH>;
194 pinctrl-names = "default";
195 pinctrl-0 = <&vcc50_hdmi_en>;
200 gpio = <&gpio7 RK_PC5 GPIO_ACTIVE_HIGH>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&drv_5v>;
206 gpio-line-names = "PMIC_SLEEP_AP",
217 * RECOVERY_SW_L is Chrome OS ABI. Schematics call
234 gpio-line-names = "CONFIG0",
257 gpio-line-names = "FLASH0_D0",
275 "FLASH0_CS2/EMMC_CMD",
277 "FLASH0_DQS/EMMC_CLKO",
295 gpio-line-names = "MAC_MDC",
333 gpio-line-names = "",
358 gpio-line-names = "I2S0_SCLK",
381 gpio-line-names = "LCD_BL_PWM",
388 * AP_FLASH_WP_L is Chrome OS ABI. Schematics call
414 gpio-line-names = "RAM_ID0",
428 pinctrl-names = "default", "sleep";
430 /* Common for sleep and wake, but no owners */
445 /* Common for sleep and wake, but no owners */
461 rockchip,pins = <7 RK_PC5 RK_FUNC_GPIO &pcfg_pull_none>;
467 rockchip,pins = <4 RK_PB0 RK_FUNC_GPIO &pcfg_output_high>;
471 rockchip,pins = <0 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
475 rockchip,pins = <0 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>;
480 vcc50_hdmi_en: vcc50-hdmi-en {
481 rockchip,pins = <5 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>;
486 pwr_led1_on: pwr-led1-on {
487 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_output_low>;
490 pwr_led1_blink: pwr-led1-blink {
491 rockchip,pins = <7 RK_PA3 RK_FUNC_GPIO &pcfg_output_high>;
497 rockchip,pins = <7 RK_PB4 RK_FUNC_GPIO &pcfg_pull_down>;
501 rockchip,pins = <7 RK_PB7 RK_FUNC_GPIO &pcfg_pull_down>;
506 usb_otg_ilim_sel: usb-otg-ilim-sel {
507 rockchip,pins = <6 RK_PC1 RK_FUNC_GPIO &pcfg_output_low>;
510 usb_usb_ilim_sel: usb-usb-ilim-sel {
511 rockchip,pins = <5 RK_PB7 RK_FUNC_GPIO &pcfg_output_low>;
516 hub_usb1_pwr_en: hub_usb1_pwr_en {
517 rockchip,pins = <5 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
520 hub_usb2_pwr_en: hub_usb2_pwr_en {
521 rockchip,pins = <5 RK_PB6 RK_FUNC_GPIO &pcfg_pull_none>;
524 usb_otg_pwr_en: usb_otg_pwr_en {
525 rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;