mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-17 02:08:38 +00:00
68083b897b
The compatible values used for device nodes representing Renesas Reduced Pin Count Interfaces were based on preliminary versions of the Device Tree Bindings. Correct them in both DTSi files and drivers, to match the final DT Bindings. Note that there are no DT bindings for RPC-IF on RZ/A1 yet, hence the most logical SoC-specific value is used, without specifying a family-specific value. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
92 lines
1.6 KiB
Text
92 lines
1.6 KiB
Text
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Device Tree Source extras for U-Boot for the GR Peach board
|
|
*
|
|
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
|
|
*/
|
|
|
|
#include "r7s72100-gr-peach.dts"
|
|
|
|
/ {
|
|
aliases {
|
|
spi0 = &rpc;
|
|
};
|
|
|
|
soc {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
leds {
|
|
led1 {
|
|
label = "peach:bottom:red";
|
|
};
|
|
|
|
led-red {
|
|
label = "peach:tri:red";
|
|
gpios = <&port6 13 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-green {
|
|
label = "peach:tri:green";
|
|
gpios = <&port6 14 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
|
|
led-blue {
|
|
label = "peach:tri:blue";
|
|
gpios = <&port6 15 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
reg_usbhs0_vbus: regulator-usbhs0-vbus {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "usbhs0_vbus";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
gpio = <&port4 1 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
|
|
rpc: spi@ee200000 {
|
|
compatible = "renesas,r7s72100-rpc-if";
|
|
reg = <0x3fefa000 0x100>, <0x18000000 0x08000000>;
|
|
bank-width = <2>;
|
|
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 = "jedec,spi-nor";
|
|
spi-max-frequency = <50000000>;
|
|
spi-tx-bus-width = <1>;
|
|
spi-rx-bus-width = <1>;
|
|
reg = <0>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
&ostm0 {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&pinctrl {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&scif2 {
|
|
u-boot,dm-pre-reloc;
|
|
clock = <66666666>; /* ToDo: Replace by DM clock driver */
|
|
};
|
|
|
|
&scif2_pins {
|
|
u-boot,dm-pre-reloc;
|
|
};
|
|
|
|
&usbhs0 {
|
|
vbus-supply = <®_usbhs0_vbus>;
|
|
status = "okay";
|
|
};
|