All of lore.kernel.org
 help / color / mirror / Atom feed
From: Claudiu Beznea <claudiu.beznea@microchip.com>
To: <sandeep.sheriker@microchip.com>, <eugen.hristev@microchip.com>,
	<lukma@denx.de>
Cc: <u-boot@lists.denx.de>, Claudiu Beznea <claudiu.beznea@microchip.com>
Subject: [PATCH 3/4] ARM: dts: at91: sam9x60: add bindings for CPU
Date: Fri, 16 Jul 2021 08:43:50 +0300	[thread overview]
Message-ID: <20210716054351.660428-4-claudiu.beznea@microchip.com> (raw)
In-Reply-To: <20210716054351.660428-1-claudiu.beznea@microchip.com>

Add bindings for CPU. This will allow displaying correctly the crystal,
CPU and master clock.

Reported-by: Eugen Hristev <eugen.hristev@microchip.com>
Fixes: a64862284f65 ("clk: at91: sam9x60: add support compatible with
CCF")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/dts/sam9x60.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm/dts/sam9x60.dtsi b/arch/arm/dts/sam9x60.dtsi
index 007646fcb43a..e801331d80a1 100644
--- a/arch/arm/dts/sam9x60.dtsi
+++ b/arch/arm/dts/sam9x60.dtsi
@@ -50,6 +50,18 @@
 		};
 	};
 
+	cpus {
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		ARM9260_0: cpu@0 {
+			device_type = "cpu";
+			compatible = "arm,arm926ej-s";
+			clocks = <&pmc PMC_TYPE_CORE 19>, <&pmc PMC_TYPE_CORE 11>, <&main_xtal>;
+			clock-names = "cpu", "master", "xtal";
+		};
+	};
+
 	ahb {
 		compatible = "simple-bus";
 		#address-cells = <1>;
-- 
2.25.1


  parent reply	other threads:[~2021-07-16  5:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-16  5:43 [PATCH 0/4] clk: at91: fix system clocks display for sam9x60 Claudiu Beznea
2021-07-16  5:43 ` [PATCH 1/4] clk: at91: clk-master: split master clock in pres and divider Claudiu Beznea
2021-07-16  5:43 ` [PATCH 2/4] cpu: at91: add compatible for ARM9260EJ-S Claudiu Beznea
2021-07-16  5:43 ` Claudiu Beznea [this message]
2021-07-16  5:43 ` [PATCH 4/4] configs: sam9x60ek: enable CONFIG_CPU Claudiu Beznea
2021-08-18 10:46 ` [PATCH 0/4] clk: at91: fix system clocks display for sam9x60 Eugen.Hristev

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=20210716054351.660428-4-claudiu.beznea@microchip.com \
    --to=claudiu.beznea@microchip.com \
    --cc=eugen.hristev@microchip.com \
    --cc=lukma@denx.de \
    --cc=sandeep.sheriker@microchip.com \
    --cc=u-boot@lists.denx.de \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.