ARM: am335x: Add phyBOARD REGOR support
PATCH v2 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")
---
Notes:
Changelog in v2:
- include regor files in MAINTAINERS
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 +++++++++++++++++++++ board/phytec/phycore_am335x_r2/MAINTAINERS | 6 +- configs/phycore-am335x-r2-regor_defconfig | 88 +++++++++ 6 files changed, 352 insertions(+), 2 deletions(-) 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
board/phytec/phycore_am335x_r2/MAINTAINERS +5 -1
@@ -1,7 +1,11 @@ phyCORE AM335x R2 WEGA BOARD M: Niel Fourie <[email protected]> -M: Parthiban Nallathambi <[email protected]> +M: Parthiban Nallathambi <[email protected]> S: Maintained +F: arch/arm/dts/am335x-regor.dtsi +F: arch/arm/dts/am335x-regor-rdk.dts +F: arch/arm/dts/am335x-regor-rdk-u-boot.dtsi F: board/phytec/phycore_am335x_r2 F: include/configs/phycore_am335x_r2.h +F: configs/phycore-am335x-r2-regor_defconfig F: configs/phycore-am335x-r2-wega_defconfig
configs/phycore-am335x-r2-regor_defconfig new file +88 -0
88 lines not on this page · raw message
Signature · 1 line
2.28.0
PATCH v2 1/1 ARM: am335x: Add phyBOARD REGOR support
Quoted 17 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)
Quoted 4 lines
Device trees were taken from Linux mainline:
commitc4d6fe731176("Linux 5.9.0")Signed-off-by Parthiban Nallathambi <[email protected]>
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/20201023/aafaec2a/attachment.sig>
PATCH v2 1/1 ARM: am335x: Add phyBOARD REGOR support
In reply to Parthiban NallathambiQuoted 17 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)
Quoted 4 lines
Device trees were taken from Linux mainline:
commitc4d6fe731176("Linux 5.9.0")Signed-off-by Parthiban Nallathambi <[email protected]>
Applied to u-boot-ti for-next branch.
Thanks and regards,
Lokesh