xref: /freebsd/sys/contrib/device-tree/src/arm/rockchip/rk3288-veyron-mighty.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Google Veyron Mighty Rev 1+ board device tree source
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright 2015 Google, Inc
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/dts-v1/;
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot#include "rk3288-veyron-jaq.dts"
11*f126890aSEmmanuel Vadot
12*f126890aSEmmanuel Vadot/ {
13*f126890aSEmmanuel Vadot	model = "Google Mighty";
14*f126890aSEmmanuel Vadot	compatible = "google,veyron-mighty-rev5", "google,veyron-mighty-rev4",
15*f126890aSEmmanuel Vadot		     "google,veyron-mighty-rev3", "google,veyron-mighty-rev2",
16*f126890aSEmmanuel Vadot		     "google,veyron-mighty-rev1", "google,veyron-mighty",
17*f126890aSEmmanuel Vadot		     "google,veyron", "rockchip,rk3288";
18*f126890aSEmmanuel Vadot};
19*f126890aSEmmanuel Vadot
20*f126890aSEmmanuel Vadot&sdmmc {
21*f126890aSEmmanuel Vadot	pinctrl-0 = <&sdmmc_clk &sdmmc_cmd &sdmmc_cd_disabled &sdmmc_cd_pin
22*f126890aSEmmanuel Vadot			&sdmmc_wp_pin &sdmmc_bus4>;
23*f126890aSEmmanuel Vadot	wp-gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>;
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	/delete-property/ disable-wp;
26*f126890aSEmmanuel Vadot};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot&pinctrl {
29*f126890aSEmmanuel Vadot	sdmmc {
30*f126890aSEmmanuel Vadot		sdmmc_wp_pin: sdmmc-wp-pin {
31*f126890aSEmmanuel Vadot			rockchip,pins = <7 RK_PB2 RK_FUNC_GPIO &pcfg_pull_up>;
32*f126890aSEmmanuel Vadot		};
33*f126890aSEmmanuel Vadot	};
34*f126890aSEmmanuel Vadot};
35