mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
d7d1d45cc4
This patch splits the sama5d3 SoCs definition: - a common base for all sama5d3 SoCs (sama5d3.dtsi) - several optional peripheral definitions which will be included by sama5d3 specific SoCs (sama5d3_'periph name'.dtsi) - sama5d3 specific SoC definitions (sama5d3x.dtsi) This provides a better representation of the real hardware (drop unneed dt nodes) and avoids peripheral id conflict (which is not the case for current sama5d3 SoCs, but could be if other SoCs of this family are released). Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> [nicolas.ferre@atmel.com: add more "sama5d3?" compatibility strings] Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
53 lines
863 B
Plaintext
53 lines
863 B
Plaintext
/*
|
|
* sama5d31ek.dts - Device Tree file for SAMA5D31-EK board
|
|
*
|
|
* Copyright (C) 2013 Atmel,
|
|
* 2013 Ludovic Desroches <ludovic.desroches@atmel.com>
|
|
*
|
|
* Licensed under GPLv2 or later.
|
|
*/
|
|
/dts-v1/;
|
|
#include "sama5d31.dtsi"
|
|
#include "sama5d3xmb.dtsi"
|
|
#include "sama5d3xdm.dtsi"
|
|
|
|
/ {
|
|
model = "Atmel SAMA5D31-EK";
|
|
compatible = "atmel,sama5d31ek", "atmel,sama5d3xmb", "atmel,sama5d3xcm", "atmel,sama5d31", "atmel,sama5d3", "atmel,sama5";
|
|
|
|
ahb {
|
|
apb {
|
|
spi0: spi@f0004000 {
|
|
status = "okay";
|
|
};
|
|
|
|
ssc0: ssc@f0008000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c0: i2c@f0014000 {
|
|
status = "okay";
|
|
};
|
|
|
|
i2c1: i2c@f0018000 {
|
|
status = "okay";
|
|
};
|
|
|
|
macb1: ethernet@f802c000 {
|
|
status = "okay";
|
|
};
|
|
};
|
|
};
|
|
|
|
leds {
|
|
d3 {
|
|
label = "d3";
|
|
gpios = <&pioE 24 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
sound {
|
|
status = "okay";
|
|
};
|
|
};
|