Commit a500e4e5708c7c824a1048e74d1928ad25fec4ef

Authored by Marek Vasut
Committed by Marek Vasut
1 parent 9a26fc5a73

ARM: dts: rmobile: Add rudimentary R8A7790 Stout DT

The Stout board is not supported in Linux, so add a rudimentary DTS
for H2 Stout as a placeholder for when a proper DTS is available.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
---
NOTE: The Stout is already being shipped over, so proper DTS for both
      U-Boot and Linux will happen once it's delivered :-)

Showing 2 changed files with 64 additions and 0 deletions Side-by-side Diff

arch/arm/dts/r8a7790-stout-u-boot.dts
  1 +/*
  2 + * Device Tree Source extras for U-Boot for the Stout board
  3 + *
  4 + * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0
  7 + */
  8 +
  9 +#include "r8a7790-stout.dts"
  10 +#include "r8a7790-u-boot.dtsi"
arch/arm/dts/r8a7790-stout.dts
  1 +/*
  2 + * Device Tree Source for the Stout board
  3 + *
  4 + * Copyright (C) 2018 Marek Vasut <marek.vasut@gmail.com>
  5 + *
  6 + * SPDX-License-Identifier: GPL-2.0
  7 + */
  8 +
  9 +/dts-v1/;
  10 +#include "r8a7790.dtsi"
  11 +
  12 +/ {
  13 + model = "Stout";
  14 + compatible = "renesas,stout", "renesas,r8a7790";
  15 +
  16 + aliases {
  17 + serial0 = &scif0;
  18 + };
  19 +
  20 + memory@40000000 {
  21 + device_type = "memory";
  22 + reg = <0 0x40000000 0 0x40000000>;
  23 + };
  24 +};
  25 +
  26 +&extal_clk {
  27 + clock-frequency = <20000000>;
  28 +};
  29 +
  30 +&pfc {
  31 + pinctrl-0 = <&scif_clk_pins>;
  32 + pinctrl-names = "default";
  33 +
  34 + scif0_pins: scif0 {
  35 + groups = "scif0_data";
  36 + function = "scif0";
  37 + };
  38 +
  39 + scif_clk_pins: scif_clk {
  40 + groups = "scif_clk";
  41 + function = "scif_clk";
  42 + };
  43 +};
  44 +
  45 +&scif0 {
  46 + pinctrl-0 = <&scif0_pins>;
  47 + pinctrl-names = "default";
  48 +
  49 + status = "okay";
  50 +};
  51 +
  52 +&scif_clk {
  53 + clock-frequency = <14745600>;
  54 +};