mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 21:40:52 +07:00
8ad49c65f5
GPIO numbers for the newly created gpio-regulator will differ from board to board. Therefore it's not sensible to leave this information in the top level DTSI file. Let's move them out to the DTS files where they can correctly vary. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
49 lines
939 B
Plaintext
49 lines
939 B
Plaintext
/*
|
|
* Copyright 2012 ST-Ericsson AB
|
|
*
|
|
* The code contained herein is licensed under the GNU General Public
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
* Version 2 or later at the following locations:
|
|
*
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*/
|
|
|
|
/dts-v1/;
|
|
/include/ "dbx5x0.dtsi"
|
|
/include/ "href.dtsi"
|
|
/include/ "stuib.dtsi"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF (pre-v60) platform with Device Tree";
|
|
compatible = "st-ericsson,mop500", "st-ericsson,u8500";
|
|
|
|
gpio_keys {
|
|
button@1 {
|
|
gpios = <&tc3589x_gpio 7 0x4>;
|
|
};
|
|
};
|
|
|
|
soc-u9500 {
|
|
i2c@80004000 {
|
|
tps61052@33 {
|
|
compatible = "tps61052";
|
|
reg = <0x33>;
|
|
};
|
|
};
|
|
|
|
i2c@80110000 {
|
|
bu21013_tp@0x5c {
|
|
reset-gpio = <&tc3589x_gpio 13 0x4>;
|
|
};
|
|
};
|
|
|
|
vmmci: regulator-gpio {
|
|
gpios = <&tc3589x_gpio 18 0x4>;
|
|
gpio-enable = <&tc3589x_gpio 17 0x4>;
|
|
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|