mediatek: update patches
[openwrt/openwrt.git] / target / linux / mediatek / files / arch / arm / boot / dts / mt7623-NAND.dts
index d25e46ebae78a945644ccecf66a5de5613f001e2..43551f7a074c512c34f7ca16d6643e7900eb401f 100644 (file)
 
 /dts-v1/;
 
-#include "mt7623.dtsi"
+#include "_mt7623.dtsi"
 #include <dt-bindings/gpio/gpio.h>
 
 / {
-       model = "MediaTek MT7623 evaluation board";
+       model = "MediaTek MT7623 NAND evaluation board";
        compatible = "mediatek,mt7623-evb", "mediatek,mt7623";
 
        chosen {
                        output-low;
                };
        };
+
+       pwm_pins: pwm {
+               pins_pwm1 {
+                       pinmux = <MT7623_PIN_204_PWM1_FUNC_PWM1>;
+               };
+
+               pins_pwm2 {
+                       pinmux = <MT7623_PIN_205_PWM2_FUNC_PWM2>;
+               };
+       };
 };
 
 &nandc {
 &gmac2 {
        mac-address = [00 11 22 33 44 55];
        status = "okay";
+
+       phy-mode = "rgmii";
+
+       fixed-link {
+               speed = <1000>;
+               full-duplex;
+               pause;
+       };
 };
 
 &gsw {
        mediatek,reset-pin = <&pio 15 0>;
        status = "okay";
 };
+
+&pwm {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pwm_pins>;
+       status = "okay";
+};