mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-30 09:56:40 +07:00
3cb920a151
This patch ensures the tc3589x and tc3598x-gpio devices are rightfully given interrupt controller status. We also describe the tc3598x-gpio GPIO expander in full and specify it as a GPIO controller. Finally we reference that the external MMC slot's Card Detection GPIO on the HREF is located on the tc3598x-gpio expander. Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
96 lines
1.6 KiB
Plaintext
96 lines
1.6 KiB
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"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF platform with Device Tree";
|
|
compatible = "st-ericsson,hrefv60+";
|
|
|
|
memory {
|
|
reg = <0x00000000 0x20000000>;
|
|
};
|
|
|
|
soc-u9500 {
|
|
uart@80120000 {
|
|
status = "okay";
|
|
};
|
|
|
|
uart@80121000 {
|
|
status = "okay";
|
|
};
|
|
|
|
uart@80007000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c@80004000 {
|
|
tc3589x@42 {
|
|
compatible = "tc3589x";
|
|
reg = <0x42>;
|
|
interrupt-parent = <&gpio6>;
|
|
interrupts = <25 0x1>;
|
|
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
|
|
tc3589x_gpio: tc3589x_gpio {
|
|
compatible = "tc3589x-gpio";
|
|
interrupts = <0 0x1>;
|
|
|
|
interrupt-controller;
|
|
#interrupt-cells = <2>;
|
|
gpio-controller;
|
|
#gpio-cells = <2>;
|
|
};
|
|
};
|
|
|
|
tps61052@33 {
|
|
compatible = "tps61052";
|
|
reg = <0x33>;
|
|
};
|
|
};
|
|
|
|
i2c@80128000 {
|
|
lp5521@0x33 {
|
|
compatible = "lp5521";
|
|
reg = <0x33>;
|
|
};
|
|
|
|
lp5521@0x34 {
|
|
compatible = "lp5521";
|
|
reg = <0x34>;
|
|
};
|
|
|
|
bh1780@0x29 {
|
|
compatible = "rohm,bh1780gli";
|
|
reg = <0x33>;
|
|
};
|
|
};
|
|
|
|
sound {
|
|
compatible = "stericsson,snd-soc-mop500";
|
|
|
|
stericsson,cpu-dai = <&msp1 &msp3>;
|
|
stericsson,audio-codec = <&codec>;
|
|
};
|
|
|
|
msp1: msp@80124000 {
|
|
status = "okay";
|
|
};
|
|
|
|
msp3: msp@80125000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|