Devicetree
 help / color / mirror / Atom feed
From: "Andreas Färber" <afaerber@suse.de>
To: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org,
	"Masahiro Yamada" <yamada.masahiro@socionext.com>,
	"Satoru OKAMOTO" <okamoto.satoru@socionext.com>,
	"Andreas Färber" <afaerber@suse.de>,
	"Rob Herring" <robh+dt@kernel.org>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Russell King" <linux@armlinux.org.uk>,
	devicetree@vger.kernel.org
Subject: [PATCH 5/5] ARM: dts: mb86s71-f-cue: Add fake UART0 clock
Date: Sun, 25 Jun 2017 19:00:20 +0200	[thread overview]
Message-ID: <20170625170020.11791-6-afaerber@suse.de> (raw)
In-Reply-To: <20170625170020.11791-1-afaerber@suse.de>

As long as the clk driver is not building, use a fixed-clock for the UART.

Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 arch/arm/boot/dts/mb86s71-f-cue.dts | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm/boot/dts/mb86s71-f-cue.dts b/arch/arm/boot/dts/mb86s71-f-cue.dts
index 148d1aee11a6..726bf189e8e7 100644
--- a/arch/arm/boot/dts/mb86s71-f-cue.dts
+++ b/arch/arm/boot/dts/mb86s71-f-cue.dts
@@ -27,6 +27,12 @@
 		device_type = "memory";
 		reg = <0x80000000 0x80000000>;
 	};
+
+	uart0_clk: uart0-clk {
+		compatible = "fixed-clock";
+		clock-frequency = <7813000>;
+		#clock-cells = <0>;
+	};
 };
 
 &arch_timer {
@@ -35,4 +41,6 @@
 
 &uart0 {
 	status = "okay";
+	clocks = <&uart0_clk>;
+	clock-names = "apb_pclk";
 };
-- 
2.12.3

      parent reply	other threads:[~2017-06-25 17:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-25 17:00 [PATCH 0/5] ARM: Socionext MB86S71 and Fujitsu F-Cue enablement Andreas Färber
2017-06-25 17:00 ` [PATCH 3/5] dt-bindings: arm: Document Socionext MB86S71 and Fujitsu F-Cue Andreas Färber
     [not found]   ` <20170625170020.11791-4-afaerber-l3A5Bk7waGM@public.gmane.org>
2017-06-28 16:46     ` Rob Herring
2017-06-29 12:18       ` Masahiro Yamada
     [not found]         ` <CAK7LNATqjOMUajUCYVq=L6wWVTUEc1M7Po+KQ3M3Z=A7+FHX5w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-29 12:53           ` Andreas Färber
     [not found]             ` <51221840-b08e-45f1-5601-937fb15f3947-l3A5Bk7waGM@public.gmane.org>
2017-06-29 17:18               ` Masahiro Yamada
     [not found]                 ` <CAK7LNASYvdWq5rV6q5Xf4Zqjso3H+XQY9Z6byJgcgfN7wT6fog-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-04 13:44                   ` Andreas Färber
2017-11-04 14:57                     ` Ard Biesheuvel
     [not found]                       ` <CAKv+Gu8fkOhQCx-BsyTkottkk63dohzSqa8RhAgTDcMVcmFbxQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-04 15:30                         ` Andreas Färber
2017-11-04 15:39                           ` Ard Biesheuvel
     [not found]                             ` <CAKv+Gu98dns-VoWF6xc0h_2R7SjcA3+85KVhLyLDgOBenhXJRQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-04 20:06                               ` Andreas Färber
2017-11-04 20:39                                 ` Ard Biesheuvel
     [not found]                                   ` <CAKv+Gu-m-KYnsgyFBUuez3gRhwPF=_sD4fGpE6BDugzW9NUnsA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-06  6:58                                     ` Andreas Färber
2017-11-06  8:05                                       ` Yang Zhang
2017-11-06 11:28                                       ` Ard Biesheuvel
     [not found]                                         ` <CAKv+Gu_Wkdd3EdOjKJYZN5Ypjodpu5kFU=Ubg9H5e6ER3zq8Mg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-13 15:40                                           ` Andreas Färber
2017-11-13 15:55                                             ` Ard Biesheuvel
2017-06-25 17:00 ` [PATCH 4/5] ARM: dts: Add " Andreas Färber
2017-06-25 17:00 ` Andreas Färber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170625170020.11791-6-afaerber@suse.de \
    --to=afaerber@suse.de \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@armlinux.org.uk \
    --cc=mark.rutland@arm.com \
    --cc=okamoto.satoru@socionext.com \
    --cc=robh+dt@kernel.org \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox