Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Marek Vasut | f9d7321 | 2018-01-10 11:47:03 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Device Tree Source extras for U-Boot for the Eagle board |
| 4 | * |
| 5 | * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com> |
Marek Vasut | f9d7321 | 2018-01-10 11:47:03 +0100 | [diff] [blame] | 6 | */ |
| 7 | |
Marek Vasut | f9d7321 | 2018-01-10 11:47:03 +0100 | [diff] [blame] | 8 | #include "r8a77970-u-boot.dtsi" |
Marek Vasut | d490d43 | 2018-12-03 20:45:22 +0100 | [diff] [blame] | 9 | #include <dt-bindings/gpio/gpio.h> |
Marek Vasut | 3e7ae7e3 | 2018-12-03 20:17:50 +0100 | [diff] [blame] | 10 | |
| 11 | / { |
| 12 | aliases { |
| 13 | spi0 = &rpc; |
| 14 | }; |
| 15 | }; |
| 16 | |
Marek Vasut | d490d43 | 2018-12-03 20:45:22 +0100 | [diff] [blame] | 17 | &avb { |
| 18 | pinctrl-0 = <&avb0_pins>; |
| 19 | pinctrl-names = "default"; |
| 20 | |
| 21 | }; |
| 22 | |
| 23 | &phy0 { |
| 24 | reset-gpios = <&gpio1 16 GPIO_ACTIVE_LOW>; |
| 25 | }; |
| 26 | |
| 27 | &pfc { |
| 28 | avb0_pins: avb { |
| 29 | mux { |
| 30 | groups = "avb0_link", "avb0_mdio", "avb0_rgmii", "avb0_txcrefclk"; |
| 31 | function = "avb0"; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
Marek Vasut | 3e7ae7e3 | 2018-12-03 20:17:50 +0100 | [diff] [blame] | 36 | &rpc { |
| 37 | num-cs = <1>; |
| 38 | status = "okay"; |
| 39 | spi-max-frequency = <50000000>; |
| 40 | #address-cells = <1>; |
| 41 | #size-cells = <0>; |
| 42 | |
| 43 | flash0: spi-flash@0 { |
| 44 | #address-cells = <1>; |
| 45 | #size-cells = <1>; |
Neil Armstrong | a009fa7 | 2019-02-10 10:16:20 +0000 | [diff] [blame] | 46 | compatible = "s25fs512s", "jedec,spi-nor"; |
Marek Vasut | 3e7ae7e3 | 2018-12-03 20:17:50 +0100 | [diff] [blame] | 47 | spi-max-frequency = <50000000>; |
| 48 | spi-tx-bus-width = <1>; |
| 49 | spi-rx-bus-width = <1>; |
| 50 | reg = <0>; |
| 51 | status = "okay"; |
| 52 | }; |
| 53 | }; |