mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 17:16:42 +07:00
8c3166f5d7
This patch adds i2c pinctrl DT node for IFC6410 board. It also adds necessary DT support for i2c eeprom which is present on IFC6410. Signed-off-by: Kiran Padwal <kiran.padwal@smartplayin.com> Signed-off-by: Kumar Gala <galak@codeaurora.org>
60 lines
952 B
Plaintext
60 lines
952 B
Plaintext
#include "qcom-apq8064-v2.0.dtsi"
|
|
|
|
/ {
|
|
model = "Qualcomm APQ8064/IFC6410";
|
|
compatible = "qcom,apq8064-ifc6410", "qcom,apq8064";
|
|
|
|
soc {
|
|
pinctrl@800000 {
|
|
i2c1_pins: i2c1 {
|
|
mux {
|
|
pins = "gpio20", "gpio21";
|
|
function = "gsbi1";
|
|
};
|
|
};
|
|
};
|
|
|
|
gsbi@12440000 {
|
|
status = "okay";
|
|
qcom,mode = <GSBI_PROT_I2C>;
|
|
|
|
i2c@12460000 {
|
|
status = "okay";
|
|
clock-frequency = <200000>;
|
|
pinctrl-0 = <&i2c1_pins>;
|
|
pinctrl-names = "default";
|
|
|
|
eeprom: eeprom@52 {
|
|
compatible = "atmel,24c128";
|
|
reg = <0x52>;
|
|
pagesize = <32>;
|
|
};
|
|
};
|
|
};
|
|
|
|
gsbi@16600000 {
|
|
status = "ok";
|
|
qcom,mode = <GSBI_PROT_I2C_UART>;
|
|
serial@16640000 {
|
|
status = "ok";
|
|
};
|
|
};
|
|
|
|
amba {
|
|
/* eMMC */
|
|
sdcc1: sdcc@12400000 {
|
|
status = "okay";
|
|
};
|
|
|
|
/* External micro SD card */
|
|
sdcc3: sdcc@12180000 {
|
|
status = "okay";
|
|
};
|
|
/* WLAN */
|
|
sdcc4: sdcc@121c0000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
};
|