mirror of https://gitee.com/openkylin/linux.git
ARM: dts: lpc4357-ea4357: add i2c0 and devices
Add I2C0 and some of the I2C devices on the EA4357 dev kit. Signed-off-by: Joachim Eastwood <manabian@gmail.com>
This commit is contained in:
parent
09d039971b
commit
7eef558768
|
@ -332,6 +332,14 @@ gpio_joystick_cfg {
|
|||
};
|
||||
};
|
||||
|
||||
i2c0_pins: i2c0-pins {
|
||||
i2c0_pins_cfg {
|
||||
pins = "i2c0_scl", "i2c0_sda";
|
||||
function = "i2c0";
|
||||
input-enable;
|
||||
};
|
||||
};
|
||||
|
||||
sdmmc_pins: sdmmc-pins {
|
||||
sdmmc_clk_cfg {
|
||||
pins = "pc_0";
|
||||
|
@ -453,6 +461,23 @@ usb0_pwr_fault {
|
|||
};
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c0_pins>;
|
||||
clock-frequency = <400000>;
|
||||
|
||||
lm75@48 {
|
||||
compatible = "nxp,lm75";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
eeprom@57 {
|
||||
compatible = "microchip,24c64";
|
||||
reg = <0x57>;
|
||||
};
|
||||
};
|
||||
|
||||
&emc {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
|
|
Loading…
Reference in New Issue