mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-27 21:07:15 +00:00
ARM: dts: rmobile: Extract RPC node to u-boot specific DT
The RPC DT bindings are still work in progress. Extract the RPC DT node from the DT to allow easier update and so it can be replaced once the DT bindings are stable. Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> --- V2: Rebase on u-boot/master
This commit is contained in:
parent
a89929bbb3
commit
8c7d9e1f62
14 changed files with 85 additions and 68 deletions
|
@ -10,3 +10,13 @@
|
||||||
&extalr_clk {
|
&extalr_clk {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a7795", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -1812,14 +1812,6 @@
|
||||||
dma-channels = <2>;
|
dma-channels = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a7795", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
sdhi0: sd@ee100000 {
|
sdhi0: sd@ee100000 {
|
||||||
compatible = "renesas,sdhi-r8a7795",
|
compatible = "renesas,sdhi-r8a7795",
|
||||||
"renesas,rcar-gen3-sdhi";
|
"renesas,rcar-gen3-sdhi";
|
||||||
|
|
|
@ -10,3 +10,13 @@
|
||||||
&extalr_clk {
|
&extalr_clk {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a7796", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -1588,14 +1588,6 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a7796", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
sdhi0: sd@ee100000 {
|
sdhi0: sd@ee100000 {
|
||||||
compatible = "renesas,sdhi-r8a7796",
|
compatible = "renesas,sdhi-r8a7796",
|
||||||
"renesas,rcar-gen3-sdhi";
|
"renesas,rcar-gen3-sdhi";
|
||||||
|
|
|
@ -10,3 +10,13 @@
|
||||||
&extalr_clk {
|
&extalr_clk {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a77965", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -863,14 +863,6 @@
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a77965", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
|
|
||||||
sdhi0: sd@ee100000 {
|
sdhi0: sd@ee100000 {
|
||||||
compatible = "renesas,sdhi-r8a77965";
|
compatible = "renesas,sdhi-r8a77965";
|
||||||
reg = <0 0xee100000 0 0x2000>;
|
reg = <0 0xee100000 0 0x2000>;
|
||||||
|
|
|
@ -7,3 +7,28 @@
|
||||||
|
|
||||||
#include "r8a77970-eagle.dts"
|
#include "r8a77970-eagle.dts"
|
||||||
#include "r8a77970-u-boot.dtsi"
|
#include "r8a77970-u-boot.dtsi"
|
||||||
|
|
||||||
|
/ {
|
||||||
|
aliases {
|
||||||
|
spi0 = &rpc;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -17,7 +17,6 @@
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &scif0;
|
serial0 = &scif0;
|
||||||
ethernet0 = &avb;
|
ethernet0 = &avb;
|
||||||
spi0 = &rpc;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
|
@ -91,25 +90,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&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";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
&rwdt {
|
&rwdt {
|
||||||
timeout-sec = <60>;
|
timeout-sec = <60>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
|
|
|
@ -10,3 +10,13 @@
|
||||||
&extalr_clk {
|
&extalr_clk {
|
||||||
u-boot,dm-pre-reloc;
|
u-boot,dm-pre-reloc;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a77970", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -614,14 +614,6 @@
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a77970", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
|
|
|
@ -6,3 +6,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "r8a779x-u-boot.dtsi"
|
#include "r8a779x-u-boot.dtsi"
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a77990", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -331,14 +331,6 @@
|
||||||
compatible = "renesas,prr";
|
compatible = "renesas,prr";
|
||||||
reg = <0 0xfff00044 0 4>;
|
reg = <0 0xfff00044 0 4>;
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a77990", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
|
|
|
@ -6,3 +6,13 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "r8a779x-u-boot.dtsi"
|
#include "r8a779x-u-boot.dtsi"
|
||||||
|
|
||||||
|
&soc {
|
||||||
|
rpc: rpc@0xee200000 {
|
||||||
|
compatible = "renesas,rpc-r8a77995", "renesas,rpc";
|
||||||
|
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
||||||
|
clocks = <&cpg CPG_MOD 917>;
|
||||||
|
bank-width = <2>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
|
@ -780,14 +780,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
rpc: rpc@0xee200000 {
|
|
||||||
compatible = "renesas,rpc-r8a77995", "renesas,rpc";
|
|
||||||
reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>;
|
|
||||||
clocks = <&cpg CPG_MOD 917>;
|
|
||||||
bank-width = <2>;
|
|
||||||
status = "disabled";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
timer {
|
timer {
|
||||||
|
|
Loading…
Add table
Reference in a new issue