mirror of
https://github.com/torvalds/linux.git
synced 2024-12-28 05:41:55 +00:00
arm64: dts: actions: s700-cubieboard7: Enable I2C0 and I2C1
Add pinctrl definitions for Actions Semiconductor S700 I2C controllers. Pinctrl definitions are only available for I2C0, I2C1 and I2C2. Enable I2C0 (PMIC), I2C1 (gyro, touchscreen) in cubieboard7. Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
parent
7cf0aacfa8
commit
9175a8116f
@ -30,6 +30,59 @@
|
||||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_default>;
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c1_default>;
|
||||
};
|
||||
|
||||
&i2c2 {
|
||||
status = "disabled";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c2_default>;
|
||||
};
|
||||
|
||||
&pinctrl {
|
||||
i2c0_default: i2c0_default {
|
||||
pinmux {
|
||||
groups = "i2c0_mfp";
|
||||
function = "i2c0";
|
||||
};
|
||||
pinconf {
|
||||
pins = "i2c0_sclk", "i2c0_sdata";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
i2c1_default: i2c1_default {
|
||||
pinmux {
|
||||
groups = "i2c1_dummy";
|
||||
function = "i2c1";
|
||||
};
|
||||
pinconf {
|
||||
pins = "i2c1_sclk", "i2c1_sdata";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
|
||||
i2c2_default: i2c2_default {
|
||||
pinmux {
|
||||
groups = "i2c2_dummy";
|
||||
function = "i2c2";
|
||||
};
|
||||
pinconf {
|
||||
pins = "i2c2_sclk", "i2c2_sdata";
|
||||
bias-pull-up;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&timer {
|
||||
clocks = <&hosc>;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user