Commit 12ee126d authored by Olof Johansson's avatar Olof Johansson

Merge tag 'lpc18xx_dts_for_4.5' of https://github.com/manabian/linux-lpc into next/dt

Device Tree additions for LPC18xx platform

NXP LPC18xx EEPROM support plus board updates for CIAA board and
EA4357 Dev kit.

* tag 'lpc18xx_dts_for_4.5' of https://github.com/manabian/linux-lpc:
  ARM: dts: lpc4337-ciaa: add i2c0 and devices
  ARM: dts: lpc4337-ciaa: enable SCT-PWM
  ARM: dts: lpc4357-ea4357: add mma7455 i2c accelerometer
  ARM: dts: lpc4357: enable EEPROM memory
  ARM: dts: lpc18xx: add EEPROM memory node
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parents 4e9ab195 57435208
......@@ -166,6 +166,17 @@ lcdc: lcd-controller@40008000 {
status = "disabled";
};
eeprom: eeprom@4000e000 {
compatible = "nxp,lpc1857-eeprom";
reg = <0x4000e000 0x1000>, <0x20040000 0x4000>;
reg-names = "reg", "mem";
clocks = <&ccu1 CLK_CPU_EEPROM>;
clock-names = "eeprom";
resets = <&rgu 27>;
interrupts = <4>;
status = "disabled";
};
mac: ethernet@40010000 {
compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
reg = <0x40010000 0x2000>;
......
......@@ -99,6 +99,14 @@ enet_mdc_cfg {
};
};
i2c0_pins: i2c0-pins {
i2c0_pins_cfg {
pins = "i2c0_scl", "i2c0_sda";
function = "i2c0";
input-enable;
};
};
ssp_pins: ssp-pins {
ssp1_cs {
pins = "p6_7";
......@@ -159,6 +167,28 @@ &enet_tx_clk {
clock-frequency = <50000000>;
};
&i2c0 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c0_pins>;
clock-frequency = <400000>;
eeprom@50 {
compatible = "microchip,24c512";
reg = <0x50>;
};
eeprom@51 {
compatible = "microchip,24c02";
reg = <0x51>;
};
eeprom@54 {
compatible = "microchip,24c512";
reg = <0x54>;
};
};
&mac {
status = "okay";
phy-mode = "rmii";
......@@ -166,6 +196,10 @@ &mac {
pinctrl-0 = <&enet_rmii_pins>;
};
&sct_pwm {
status = "okay";
};
&ssp1 {
status = "okay";
pinctrl-names = "default";
......
......@@ -467,6 +467,11 @@ &i2c0 {
pinctrl-0 = <&i2c0_pins>;
clock-frequency = <400000>;
mma7455@1d {
compatible = "fsl,mma7455";
reg = <0x1d>;
};
lm75@48 {
compatible = "nxp,lm75";
reg = <0x48>;
......
......@@ -37,3 +37,7 @@ sram2: sram@20000000 {
};
};
};
&eeprom {
status = "okay";
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment