mediatek: update patches
[openwrt/openwrt.git] / target / linux / mediatek / files / arch / arm / boot / dts / mt7623-eMMC.dts
index 2b75b44541d4b4a994b91713a728650cf334b2bc..630240c730135b37be96a58faf19de67ecf8adee 100644 (file)
@@ -14,7 +14,7 @@
 
 /dts-v1/;
 
-#include "mt7623.dtsi"
+#include "_mt7623.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 
 / {
                        output-low;
                };
        };
+
+       pwm_pins: pwm {
+               pins_pwm1 {
+                       pinmux = <MT7623_PIN_204_PWM1_FUNC_PWM1>;
+               };
+
+               pins_pwm2 {
+                       pinmux = <MT7623_PIN_205_PWM2_FUNC_PWM2>;
+               };
+       };
 };
 
 &usb1 {
 &gmac2 {
        mac-address = [00 11 22 33 44 55];
        status = "okay";
+       phy-handle = <&phy5>;
 };
 
 &gsw {
        mediatek,reset-pin = <&pio 15 0>;
        status = "okay";
 };
+
+&pwm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pwm_pins>;
+       status = "okay";
+};