ARM: imx: pico-imx8mq: Add support for Technexion Pico-iMX8MQ
[oweals/u-boot.git] / arch / arm / dts / r8a77970-eagle-u-boot.dts
index 0c716deb6fcca9580430eee47fe13813d158f802..eb868eda4147a31e157c35c0c438358759032754 100644 (file)
@@ -7,6 +7,7 @@
 
 #include "r8a77970-eagle.dts"
 #include "r8a77970-u-boot.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        aliases {
        };
 };
 
+&avb {
+       pinctrl-0 = <&avb0_pins>;
+       pinctrl-names = "default";
+
+};
+
+&phy0 {
+       reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+};
+
+&pfc {
+       avb0_pins: avb {
+               mux {
+                       groups = "avb0_link", "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk";
+                       function = "avb0";
+               };
+       };
+};
+
 &rpc {
        num-cs = <1>;
        status = "okay";
@@ -24,7 +44,7 @@
        flash0: spi-flash@0 {
                #address-cells = <1>;
                #size-cells = <1>;
-               compatible = "s25fs512s", "spi-flash", "jedec,spi-nor";
+               compatible = "s25fs512s", "jedec,spi-nor";
                spi-max-frequency = <50000000>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <1>;