|
@@ -99,6 +99,14 @@
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ i2c0_pins: i2c0-pins {
|
|
|
|
+ i2c0_pins_cfg {
|
|
|
|
+ pins = "i2c0_scl", "i2c0_sda";
|
|
|
|
+ function = "i2c0";
|
|
|
|
+ input-enable;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
ssp_pins: ssp-pins {
|
|
ssp_pins: ssp-pins {
|
|
ssp1_cs {
|
|
ssp1_cs {
|
|
pins = "p6_7";
|
|
pins = "p6_7";
|
|
@@ -159,6 +167,28 @@
|
|
clock-frequency = <50000000>;
|
|
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 {
|
|
&mac {
|
|
status = "okay";
|
|
status = "okay";
|
|
phy-mode = "rmii";
|
|
phy-mode = "rmii";
|