2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2018-01-10 10:47:03 +00:00
|
|
|
/*
|
|
|
|
* Device Tree Source extras for U-Boot for the Eagle board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "r8a77970-eagle.dts"
|
|
|
|
#include "r8a77970-u-boot.dtsi"
|
2018-12-03 19:45:22 +00:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
2018-12-03 19:17:50 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
aliases {
|
|
|
|
spi0 = &rpc;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-03 19:45:22 +00:00
|
|
|
&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";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-12-03 19:17:50 +00:00
|
|
|
&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";
|
|
|
|
};
|
|
|
|
};
|