mirror of
https://github.com/torvalds/linux.git
synced 2024-11-23 12:42:02 +00:00
Device Tree additions for LPC18xx platform
NXP LPC18xx EEPROM support plus board updates for CIAA board and EA4357 Dev kit. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJWdyKDAAoJEF5zSH4+/j/aVlsH/2WtAYZb+OH3rRZv1kJLEnKE WArHcMqBNc4IJ/dmlj7itt9mRQnj87aRZ9JB1wbzmKM0MjSdcWNesC9mhkamUFMz LMG1HovWF2n1Hoa1gKLMhogoRkCoMA9Eb7Pet6Cu3xHEtesFLX3ch7lCEzlDQE6e GHH/QsfDmMxHOyeKdH4bA4oHQPBC4umUmqUTps2/hbcwjbAI51SYSmXnBFfcGBXO ZDTGT9SLJLXNZ7QOQsI2fePXX9tX9E6PkxIDiZ6ddphJUGQKLatSP4qYJHVfTFsh YPIhetTqruwm2GB0lyEnErmWVHGvFMlo2tohQJh98/QPdvS7aityYDNIuSNxDGY= =DwB7 -----END PGP SIGNATURE----- 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: Olof Johansson <olof@lixom.net>
This commit is contained in:
commit
12ee126d91
@ -166,6 +166,17 @@
|
||||
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 @@
|
||||
};
|
||||
};
|
||||
|
||||
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 @@
|
||||
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 @@
|
||||
pinctrl-0 = <&enet_rmii_pins>;
|
||||
};
|
||||
|
||||
&sct_pwm {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&ssp1 {
|
||||
status = "okay";
|
||||
pinctrl-names = "default";
|
||||
|
@ -467,6 +467,11 @@
|
||||
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 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&eeprom {
|
||||
status = "okay";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user