sh: r2dplus: Add SCIF1 to the basic DT
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 9 May 2020 19:34:01 +0000 (21:34 +0200)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 2 Aug 2020 17:58:27 +0000 (19:58 +0200)
Add simple DT and clock bindings to r2dplus DT to permit U-Boot
to bind the SCIF driver via DT probing instead of hard-coded
config options.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
arch/sh/dts/sh7751-r2dplus.dts

index efaeb33..da0648c 100644 (file)
        model = "R2D";
        compatible = "renesas,r2d", "renesas,sh7751";
 
+       #address-cells = <2>;
+       #size-cells = <2>;
+
+       aliases {
+               serial0 = &scif1;
+       };
+
+       scif_clks: scif60 {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <60000000>;
+               u-boot,dm-pre-reloc;
+       };
+
+       scif1: serial@ffe80000 {
+               compatible = "renesas,scif";
+               reg = <0 0xffe80000 0 0x1000>;
+               clocks = <&scif_clks>;
+               clock-names = "fck";
+               status = "okay";
+               u-boot,dm-pre-reloc;
+       };
+
        pci@fe200000 {
                compatible = "renesas,pci-sh7751";
                device_type = "pci";