ARM: am335x: Add phyBOARD REGOR support
PATCH 1/1 ARM: am335x: Add phyBOARD REGOR support
phyBOARD-REGOR is based on phyCORE AM335x R2 SoM (PCL060).
CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-REGOR DRAM: 512 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet at 4a100000
Working:
- Eth0
- i2C
- MMC/SD
- NAND
- UART
- USB (host)
Device trees were taken from Linux mainline:
commit c4d6fe731176 ("Linux 5.9.0")
--- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-regor-rdk-u-boot.dtsi | 31 +++++ arch/arm/dts/am335x-regor-rdk.dts | 24 ++++ arch/arm/dts/am335x-regor.dtsi | 202 ++++++++++++++++++++++++++++++ configs/phycore-am335x-r2-regor_defconfig | 88 +++++++++++++ 5 files changed, 347 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/am335x-regor-rdk-u-boot.dtsi create mode 100644 arch/arm/dts/am335x-regor-rdk.dts create mode 100644 arch/arm/dts/am335x-regor.dtsi create mode 100644 configs/phycore-am335x-r2-regor_defconfig
arch/arm/dts/Makefile +2 -1
@@ -347,7 +347,8 @@ dtb-$(CONFIG_AM33XX) += \ am335x-sl50.dtb \ am335x-base0033.dtb \ am335x-guardian.dtb \ - am335x-wega-rdk.dtb + am335x-wega-rdk.dtb \ + am335x-regor-rdk.dtb dtb-$(CONFIG_AM43XX) += am437x-gp-evm.dtb am437x-sk-evm.dtb \ am43x-epos-evm.dtb \ am437x-idk-evm.dtb \
arch/arm/dts/am335x-regor-rdk-u-boot.dtsi new file +31 -0
@@ -0,0 +1,31 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2020 Linumiz + */ + +/ { + 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>; +};
arch/arm/dts/am335x-regor-rdk.dts new file +24 -0
@@ -0,0 +1,24 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2019 Phytec Messtechnik GmbH + * Author: Teresa Remmet <[email protected]> + * + */ + +/dts-v1/; + +#include "am335x-phycore-som.dtsi" +#include "am335x-regor.dtsi" + +/* SoM */ +&gpmc { + status = "okay"; +}; + +&i2c_eeprom { + status = "okay"; +}; + +&serial_flash { + status = "okay"; +};
arch/arm/dts/am335x-regor.dtsi new file +202 -0
202 lines not on this page · raw message
configs/phycore-am335x-r2-regor_defconfig new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
2.11.0
PATCH 1/1 ARM: am335x: Add phyBOARD REGOR support
Quoted 20 lines · Parthiban Nallathambi
phyBOARD-REGOR is based on phyCORE AM335x R2 SoM (PCL060).
CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-REGOR DRAM: 512 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet at 4a100000Working:
- Eth0
- i2C
- MMC/SD
- NAND
- UART
- USB (host)Device trees were taken from Linux mainline:
commitc4d6fe731176("Linux 5.9.0")
Quoted 7 lines
Signed-off-by Parthiban Nallathambi <[email protected]>--- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-regor-rdk-u-boot.dtsi | 31 +++++ arch/arm/dts/am335x-regor-rdk.dts | 24 ++++ arch/arm/dts/am335x-regor.dtsi | 202 ++++++++++++++++++++++++++++++ configs/phycore-am335x-r2-regor_defconfig | 88 +++++++++++++
You need to update the relevant for TARGET_PHYCORE_AM335X_R2 MAINTAINERS file to list this new config entry, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201022/af606b6d/attachment.sig>
PATCH 1/1 ARM: am335x: Add phyBOARD REGOR support
Dear Tom,
Quoted 30 lines · Tom Rini
Quoted 20 lines · Parthiban Nallathambi
phyBOARD-REGOR is based on phyCORE AM335x R2 SoM (PCL060).
CPU : AM335X-GP rev 2.1 Model: Phytec AM335x phyBOARD-REGOR DRAM: 512 MiB NAND: 512 MiB MMC: OMAP SD/MMC: 0 eth0: ethernet at 4a100000Working:
- Eth0
- i2C
- MMC/SD
- NAND
- UART
- USB (host)Device trees were taken from Linux mainline:
commitc4d6fe731176("Linux 5.9.0")Quoted 7 lines
Signed-off-by Parthiban Nallathambi <[email protected]>--- arch/arm/dts/Makefile | 3 +- arch/arm/dts/am335x-regor-rdk-u-boot.dtsi | 31 +++++ arch/arm/dts/am335x-regor-rdk.dts | 24 ++++ arch/arm/dts/am335x-regor.dtsi | 202 ++++++++++++++++++++++++++++++ configs/phycore-am335x-r2-regor_defconfig | 88 +++++++++++++
Quoted 2 lines
You need to update the relevant for
TARGET_PHYCORE_AM335X_R2MAINTAINERSfile to list this new config entry, thanks!
Thanks, addressed in v2.