board: presidio-asic: Add basic G3 engr. development board support
Add basic Presidio G3 engineering board support Signed-off-by: Alex Nemirovsky <alex.nemirovsky@cortina-access.com>
This commit is contained in:
committed by
Tom Rini
parent
0de653d8cf
commit
7d706a886f
@@ -1675,6 +1675,10 @@ config TARGET_DURIAN
|
||||
Support for durian platform.
|
||||
It has 2GB Sdram, uart and pcie.
|
||||
|
||||
config TARGET_PRESIDIO_ASIC
|
||||
bool "Support Cortina Presidio ASIC Platform"
|
||||
select ARM64
|
||||
|
||||
endchoice
|
||||
|
||||
config ARCH_SUPPORT_TFABOOT
|
||||
@@ -1823,6 +1827,7 @@ source "board/Marvell/gplugd/Kconfig"
|
||||
source "board/armadeus/apf27/Kconfig"
|
||||
source "board/armltd/vexpress/Kconfig"
|
||||
source "board/armltd/vexpress64/Kconfig"
|
||||
source "board/cortina/presidio-asic/Kconfig"
|
||||
source "board/broadcom/bcm23550_w1d/Kconfig"
|
||||
source "board/broadcom/bcm28155_ap/Kconfig"
|
||||
source "board/broadcom/bcm963158/Kconfig"
|
||||
|
||||
@@ -909,6 +909,8 @@ dtb-$(CONFIG_TARGET_VEXPRESS_CA15_TC2) += vexpress-v2p-ca15_a7.dtb
|
||||
|
||||
dtb-$(CONFIG_TARGET_DURIAN) += phytium-durian.dtb
|
||||
|
||||
dtb-$(CONFIG_TARGET_PRESIDIO_ASIC) += ca-presidio-engboard.dtb
|
||||
|
||||
targets += $(dtb-y)
|
||||
|
||||
# Add any required device tree compiler flags here
|
||||
|
||||
69
arch/arm/dts/ca-presidio-engboard.dts
Normal file
69
arch/arm/dts/ca-presidio-engboard.dts
Normal file
@@ -0,0 +1,69 @@
|
||||
// SPDX-License-Identifier: GPL-2.0+
|
||||
/*
|
||||
* Copyright (C) 2020, Cortina Access Inc.
|
||||
*/
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
/ {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
|
||||
mmc0: mmc@f4400000 {
|
||||
compatible = "snps,dw-cortina";
|
||||
reg = <0x0 0xf4400000 0x1000>;
|
||||
bus-width = <4>;
|
||||
io_ds = <0x77>;
|
||||
fifo-mode;
|
||||
sd_dll_ctrl = <0xf43200e8>;
|
||||
io_drv_ctrl = <0xf432004c>;
|
||||
};
|
||||
|
||||
gpio0: gpio-controller@0xf4329280 {
|
||||
compatible = "cortina,ca-gpio";
|
||||
reg = <0x0 0xf4329280 0x24>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
status = "okay";
|
||||
};
|
||||
gpio1: gpio-controller@0xf43292a4 {
|
||||
compatible = "cortina,ca-gpio";
|
||||
reg = <0x0 0xf43292a4 0x24>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
watchdog: watchdog@0xf432901c {
|
||||
compatible = "cortina,ca-wdt";
|
||||
reg = <0x0 0xf432901c 0x34>,
|
||||
<0x0 0xf4320020 0x04>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
uart0: serial@0xf4329148 {
|
||||
u-boot,dm-pre-reloc;
|
||||
compatible = "cortina,ca-uart";
|
||||
reg = <0x0 0xf4329148 0x30>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
i2c: i2c@f4329120 {
|
||||
compatible = "cortina,ca-i2c";
|
||||
reg = <0x0 0xf4329120 0x28>;
|
||||
clock-frequency = <400000>;
|
||||
};
|
||||
|
||||
sflash: sflash-controller@f4324000 {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <1>;
|
||||
compatible = "cortina,ca-sflash";
|
||||
reg = <0x0 0xf4324000 0x50>;
|
||||
reg-names = "sflash-regs";
|
||||
flash@0 {
|
||||
compatible = "jedec,spi-nor";
|
||||
spi-rx-bus-width = <1>;
|
||||
spi-max-frequency = <108000000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
5
arch/arm/mach-cortina/Makefile
Normal file
5
arch/arm/mach-cortina/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
# SPDX-License-Identifier: GPL-2.0+
|
||||
#
|
||||
# (C) Copyright 2020 Cortina Access Inc.
|
||||
#
|
||||
obj-y += lowlevel_init.o
|
||||
Reference in New Issue
Block a user