From a500e4e5708c7c824a1048e74d1928ad25fec4ef Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Wed, 24 Jan 2018 15:52:56 +0100 Subject: [PATCH] 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 Cc: Nobuhiro Iwamatsu --- NOTE: The Stout is already being shipped over, so proper DTS for both U-Boot and Linux will happen once it's delivered :-) --- arch/arm/dts/r8a7790-stout-u-boot.dts | 10 +++++ arch/arm/dts/r8a7790-stout.dts | 54 +++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 arch/arm/dts/r8a7790-stout-u-boot.dts create mode 100644 arch/arm/dts/r8a7790-stout.dts diff --git a/arch/arm/dts/r8a7790-stout-u-boot.dts b/arch/arm/dts/r8a7790-stout-u-boot.dts new file mode 100644 index 0000000000..12092fcf5d --- /dev/null +++ b/arch/arm/dts/r8a7790-stout-u-boot.dts @@ -0,0 +1,10 @@ +/* + * Device Tree Source extras for U-Boot for the Stout board + * + * Copyright (C) 2018 Marek Vasut + * + * SPDX-License-Identifier: GPL-2.0 + */ + +#include "r8a7790-stout.dts" +#include "r8a7790-u-boot.dtsi" diff --git a/arch/arm/dts/r8a7790-stout.dts b/arch/arm/dts/r8a7790-stout.dts new file mode 100644 index 0000000000..eb82934c59 --- /dev/null +++ b/arch/arm/dts/r8a7790-stout.dts @@ -0,0 +1,54 @@ +/* + * Device Tree Source for the Stout board + * + * Copyright (C) 2018 Marek Vasut + * + * SPDX-License-Identifier: GPL-2.0 + */ + +/dts-v1/; +#include "r8a7790.dtsi" + +/ { + model = "Stout"; + compatible = "renesas,stout", "renesas,r8a7790"; + + aliases { + serial0 = &scif0; + }; + + memory@40000000 { + device_type = "memory"; + reg = <0 0x40000000 0 0x40000000>; + }; +}; + +&extal_clk { + clock-frequency = <20000000>; +}; + +&pfc { + pinctrl-0 = <&scif_clk_pins>; + pinctrl-names = "default"; + + scif0_pins: scif0 { + groups = "scif0_data"; + function = "scif0"; + }; + + scif_clk_pins: scif_clk { + groups = "scif_clk"; + function = "scif_clk"; + }; +}; + +&scif0 { + pinctrl-0 = <&scif0_pins>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&scif_clk { + clock-frequency = <14745600>; +}; -- 2.39.5