summaryrefslogtreecommitdiff
path: root/arch/arm/dts/am335x-wega-rdk-u-boot.dtsi
diff options
context:
space:
mode:
authorNiel Fourie <lusus@denx.de>2019-06-03 15:31:17 +0200
committerTom Rini <trini@konsulko.com>2019-07-13 11:11:28 -0400
commit6e171b661e1d912d3e34fd3e53944f545a54a8f7 (patch)
tree5234121a65c625b23ed6a36994dcf893dd96188d /arch/arm/dts/am335x-wega-rdk-u-boot.dtsi
parent1d259e4d6862872b7a9c1d240eaa4b4cec95aadf (diff)
ARM: am335x: Add phyCORE AM335x R2 support
Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec phyBOARD-Wega AM335x. CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-WEGA DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet@4a100000 Working: - Eth0 - i2C - MMC/SD - NAND - UART - USB (host) Device trees were taken from Linux mainline: commit 37624b58542f ("Linux 5.1-rc7") Signed-off-by: Niel Fourie <lusus@denx.de> Signed-off-by: Parthiban Nallathambi <pn@denx.de> Reviewed-by: Heiko Schocher <hs@denx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Tested-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'arch/arm/dts/am335x-wega-rdk-u-boot.dtsi')
-rw-r--r--arch/arm/dts/am335x-wega-rdk-u-boot.dtsi31
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/dts/am335x-wega-rdk-u-boot.dtsi b/arch/arm/dts/am335x-wega-rdk-u-boot.dtsi
new file mode 100644
index 0000000000..634f1b0712
--- /dev/null
+++ b/arch/arm/dts/am335x-wega-rdk-u-boot.dtsi
@@ -0,0 +1,31 @@
+// SPDX-License-Identifier: GPL-2.0
+/*
+ * Copyright (C) 2019 DENX Software Engineering GmbH
+ */
+
+/ {
+ chosen {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ bootargs = "console=ttyO0,115200 earlyprintk";
+ stdout-path = &uart0;
+ };
+
+ ocp {
+ u-boot,dm-pre-reloc;
+ };
+};
+
+&i2c0 {
+ u-boot,dm-pre-reloc;
+};
+
+&uart0 {
+ u-boot,dm-pre-reloc;
+};
+
+&mmc1 {
+ u-boot,dm-pre-reloc;
+ cd-gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
+};