@@ -9,6 +9,10 @@
/dts-v1/;
#include "sama5d3xmb.dtsi"
#include "sama5d3xdm.dtsi"
+#include "sama5d3_lcd.dtsi"
+#include "sama5d3_emac.dtsi"
+#include "sama5d3_mci2.dtsi"
+#include "sama5d3_uart.dtsi"
/ {
model = "Atmel SAMA5D31-EK";
@@ -9,6 +9,8 @@
/dts-v1/;
#include "sama5d3xmb.dtsi"
#include "sama5d3xdm.dtsi"
+#include "sama5d3_lcd.dtsi"
+#include "sama5d3_gmac.dtsi"
/ {
model = "Atmel SAMA5D33-EK";
@@ -9,6 +9,10 @@
/dts-v1/;
#include "sama5d3xmb.dtsi"
#include "sama5d3xdm.dtsi"
+#include "sama5d3_lcd.dtsi"
+#include "sama5d3_gmac.dtsi"
+#include "sama5d3_can.dtsi"
+#include "sama5d3_mci2.dtsi"
/ {
model = "Atmel SAMA5D34-EK";
@@ -8,6 +8,12 @@
*/
/dts-v1/;
#include "sama5d3xmb.dtsi"
+#include "sama5d3_gmac.dtsi"
+#include "sama5d3_emac.dtsi"
+#include "sama5d3_can.dtsi"
+#include "sama5d3_mci2.dtsi"
+#include "sama5d3_uart.dtsi"
+#include "sama5d3_tcb1.dtsi"
/ {
model = "Atmel SAMA5D35-EK";
@@ -19,17 +19,6 @@
reg = <0x20000000 0x20000000>;
};
- clocks {
- #address-cells = <1>;
- #size-cells = <1>;
- ranges;
-
- main_clock: clock@0 {
- compatible = "atmel,osc", "fixed-clock";
- clock-frequency = <12000000>;
- };
- };
-
ahb {
apb {
spi0: spi@f0004000 {
@@ -39,6 +28,12 @@
macb0: ethernet@f0028000 {
phy-mode = "rgmii";
};
+
+ pmc: pmc@fffffc00 {
+ main: mainck {
+ clock-frequency = <12000000>;
+ };
+ };
};
nand0: nand@60000000 {
Define the main clock frequency in every sama5d3 boards. Remove the old main clock definition. Include the appropriate peripheral options according to peripherals availability. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> --- arch/arm/boot/dts/sama5d31ek.dts | 4 ++++ arch/arm/boot/dts/sama5d33ek.dts | 2 ++ arch/arm/boot/dts/sama5d34ek.dts | 4 ++++ arch/arm/boot/dts/sama5d35ek.dts | 6 ++++++ arch/arm/boot/dts/sama5d3xcm.dtsi | 17 ++++++----------- 5 files changed, 22 insertions(+), 11 deletions(-)