mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
This patch add supports to boot linux 6.1 images on IPQ5332 & IPQ9574 DB boards. Change-Id: Ifd9fb1b74c248ffc625c7c49fc96dd7d16a8670f Signed-off-by: Ram Kumar D <quic_ramd@quicinc.com>
211 lines
3.9 KiB
Text
211 lines
3.9 KiB
Text
/*
|
|
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
|
*
|
|
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "ipq5332-soc.dtsi"
|
|
/ {
|
|
machid = <0x1060002>;
|
|
config_name = "config@db-mi03.1", "config-db-mi03.1";
|
|
|
|
aliases {
|
|
console = "/serial@78AF000";
|
|
nand = "/nand-controller@79B0000";
|
|
mmc = "/sdhci@7804000";
|
|
usb0 = "/xhci@8a00000";
|
|
pci0 = "/pci@20000000";
|
|
pci1 = "/pci@18000000";
|
|
};
|
|
|
|
serial@78AF000 {
|
|
status = "ok";
|
|
serial_gpio {
|
|
blsp0_uart_rx {
|
|
gpio = <18>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
blsp0_uart_tx {
|
|
gpio = <19>;
|
|
func = <1>;
|
|
drvstr = <GPIO_8MA>;
|
|
pull = <GPIO_PULL_UP>;
|
|
};
|
|
};
|
|
};
|
|
|
|
spi {
|
|
spi_gpio {
|
|
blsp0_spi_clk {
|
|
gpio = <14>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
oe = <GPIO_OE_ENABLE>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
blsp0_spi_mosi {
|
|
gpio = <15>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
oe = <GPIO_OE_ENABLE>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
blsp0_spi_miso {
|
|
gpio = <16>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
blsp0_spi_cs {
|
|
gpio = <17>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
oe = <GPIO_OE_ENABLE>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
};
|
|
};
|
|
|
|
nand: nand-controller@79B0000 {
|
|
nand_gpio {
|
|
qspi_dat3 {
|
|
gpio = <8>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_DOWN>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
qspi_dat2 {
|
|
gpio = <9>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_DOWN>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
qspi_dat1 {
|
|
gpio = <10>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_DOWN>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
qspi_dat0 {
|
|
gpio = <11>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_DOWN>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
qspi_cs_n {
|
|
gpio = <12>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
qspi_clk {
|
|
gpio = <13>;
|
|
func = <2>;
|
|
pull = <GPIO_PULL_DOWN>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
};
|
|
};
|
|
|
|
mmc: sdhci@7804000 {
|
|
mmc_gpio {
|
|
emmc_dat3 {
|
|
gpio = <8>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
emmc_dat2 {
|
|
gpio = <9>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
emmc_dat1 {
|
|
gpio = <10>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
emmc_dat0 {
|
|
gpio = <11>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
emmc_cmd{
|
|
gpio = <12>;
|
|
func = <1>;
|
|
pull = <GPIO_PULL_UP>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
emmc_clk{
|
|
gpio = <13>;
|
|
func = <1>;
|
|
pull = <GPIO_NO_PULL>;
|
|
drvstr = <GPIO_8MA>;
|
|
};
|
|
};
|
|
};
|
|
|
|
pci0: pci@20000000 {
|
|
status = "ok";
|
|
perst_gpio = <38>;
|
|
lane = <1>;
|
|
pci_gpio {
|
|
pci_rst {
|
|
gpio = <38>;
|
|
pull = <GPIO_PULL_UP>;
|
|
oe = <GPIO_OE_ENABLE>;
|
|
};
|
|
};
|
|
};
|
|
|
|
pci1: pci@18000000 {
|
|
status = "ok";
|
|
perst_gpio = <47>;
|
|
lane = <2>;
|
|
pci_gpio {
|
|
pci_rst {
|
|
gpio = <47>;
|
|
pull = <GPIO_PULL_UP>;
|
|
oe = <GPIO_OE_ENABLE>;
|
|
};
|
|
};
|
|
};
|
|
|
|
ess-switch {
|
|
switch_mac_mode0 = <PORT_WRAPPER_USXGMII>;
|
|
switch_mac_mode1 = <PORT_WRAPPER_USXGMII>;
|
|
aquantia_gpio = <22 24>;
|
|
aquantia_gpio_cnt = <2>;
|
|
|
|
port_phyinfo {
|
|
port@0 {
|
|
phy_address = <8>;
|
|
phy_type = <AQ_PHY_TYPE>;
|
|
uniphy_id = <0>;
|
|
uniphy_mode = <PORT_WRAPPER_USXGMII>;
|
|
};
|
|
port@1 {
|
|
phy_address = <0>;
|
|
phy_type = <AQ_PHY_TYPE>;
|
|
uniphy_id = <1>;
|
|
uniphy_mode = <PORT_WRAPPER_USXGMII>;
|
|
};
|
|
};
|
|
};
|
|
|
|
};
|