mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-02 09:56:41 +07:00
95e82941b7
This dts file is based on the Snow dts file in the Chromium OS kernel tree with the following changes: * Some details have been updated to match the exynos5250-smdk5250.dts file from linux-next (as of c11068538994430547722dc9fb515a0ceefd5cb9). * This file doesn't include references to hardware whose upstream support isn't quite there yet. That includes most i2c devices. Note that most i2c busses have been included with no devices. The Snow dts file is mostly just an include of the "cros5250" dts file which describes a class of similar boards. Support for other boards has not yet been send upstream. With this file and a change to use UART3 for serial output I can: * Boot to a command line using either SD or EMMC as a root filesystem * See the power button and lid switch using evtest. Signed-off-by: Doug Anderson <dianders@chromium.org> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
44 lines
924 B
Plaintext
44 lines
924 B
Plaintext
/*
|
|
* Google Snow board device tree source
|
|
*
|
|
* Copyright (c) 2012 Google, Inc
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "exynos5250.dtsi"
|
|
/include/ "cros5250-common.dtsi"
|
|
|
|
/ {
|
|
model = "Google Snow";
|
|
compatible = "google,snow", "samsung,exynos5250";
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
|
|
lid-switch {
|
|
label = "Lid";
|
|
gpios = <&gpx3 5 0 0x10000 0>;
|
|
linux,input-type = <5>; /* EV_SW */
|
|
linux,code = <0>; /* SW_LID */
|
|
debounce-interval = <1>;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
|
|
/*
|
|
* On Snow we've got SIP WiFi and so can keep drive strengths low to
|
|
* reduce EMI.
|
|
*/
|
|
dwmmc3@12230000 {
|
|
slot@0 {
|
|
gpios = <&gpc4 0 2 0 0>, <&gpc4 1 2 3 0>,
|
|
<&gpc4 3 2 3 0>, <&gpc4 4 2 3 0>,
|
|
<&gpc4 5 2 3 0>, <&gpc4 6 2 3 0>;
|
|
};
|
|
};
|
|
};
|