summaryrefslogtreecommitdiff
path: root/arch/arm/dts/r8a77970-eagle-u-boot.dts
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2018-12-04 19:22:31 -0500
committerTom Rini <trini@konsulko.com>2018-12-04 19:22:31 -0500
commit2e2a2a5d4f0c2e2642326d9000ce1f1553632e6a (patch)
tree9b4ad5eb1b01e2e418c490afd00a3ba2ca9de4cb /arch/arm/dts/r8a77970-eagle-u-boot.dts
parentd452f27b3ea806fd99aee4b73a723318032c1d5c (diff)
parent04513805054478aa024b6c67cb1dcdcd1b37625a (diff)
Merge branch 'master' of git://git.denx.de/u-boot-sh
- DT sync with Linux 4.19 and minor fixes.
Diffstat (limited to 'arch/arm/dts/r8a77970-eagle-u-boot.dts')
-rw-r--r--arch/arm/dts/r8a77970-eagle-u-boot.dts45
1 files changed, 45 insertions, 0 deletions
diff --git a/arch/arm/dts/r8a77970-eagle-u-boot.dts b/arch/arm/dts/r8a77970-eagle-u-boot.dts
index 7ab71a1c65..5b17f1d1f0 100644
--- a/arch/arm/dts/r8a77970-eagle-u-boot.dts
+++ b/arch/arm/dts/r8a77970-eagle-u-boot.dts
@@ -7,3 +7,48 @@
#include "r8a77970-eagle.dts"
#include "r8a77970-u-boot.dtsi"
+#include <dt-bindings/gpio/gpio.h>
+
+/ {
+ aliases {
+ spi0 = &rpc;
+ };
+};
+
+&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";
+ spi-max-frequency = <50000000>;
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ flash0: spi-flash@0 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "s25fs512s", "spi-flash", "jedec,spi-nor";
+ spi-max-frequency = <50000000>;
+ spi-tx-bus-width = <1>;
+ spi-rx-bus-width = <1>;
+ reg = <0>;
+ status = "okay";
+ };
+};