@@ -33,6 +33,10 @@
status = "okay";
};
+&i2c0 {
+ status = "okay";
+};
+
&pwm0 {
status = "okay";
};
@@ -51,4 +55,4 @@
&uart2 {
status = "okay";
-};
\ No newline at end of file
+};
@@ -39,6 +39,12 @@
pinctrl-0 = <&pinctrl_fec1>;
};
+&i2c0 {
+ clock-frequency = <400000>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_i2c0>;
+};
+
&pwm0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm0>;
@@ -102,6 +108,13 @@
>;
};
+ pinctrl_i2c0: i2c0grp {
+ fsl,pins = <
+ VF610_PAD_PTB14__I2C0_SCL 0x37ff
+ VF610_PAD_PTB15__I2C0_SDA 0x37ff
+ >;
+ };
+
pinctrl_pwm0: pwm0grp {
fsl,pins = <
VF610_PAD_PTB0__FTM0_CH0 0x1182