mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq40xx: Adding support to DK01-S1 board
This patch adds support to DK01_1_S1 board. Change-Id: I4a97f809766513da05f167b48923986c0860384e Signed-off-by: Sasirekaa Madhesu <smadhesu@codeaurora.org>
This commit is contained in:
parent
ce3c581f24
commit
c8af13c595
5 changed files with 59 additions and 60 deletions
|
|
@ -46,7 +46,8 @@ dtb-$(CONFIG_ARCH_IPQ40xx) += ipq40xx-dk01-c1.dtb \
|
||||||
ipq40xx-dk04-c5.dtb \
|
ipq40xx-dk04-c5.dtb \
|
||||||
ipq40xx-dk07-c1.dtb \
|
ipq40xx-dk07-c1.dtb \
|
||||||
ipq40xx-dk07-c2.dtb \
|
ipq40xx-dk07-c2.dtb \
|
||||||
ipq40xx-dk07-c3.dtb
|
ipq40xx-dk07-c3.dtb \
|
||||||
|
ipq40xx-dk01-s1.dtb
|
||||||
|
|
||||||
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
dtb-$(CONFIG_ARCH_ROCKCHIP) += \
|
||||||
rk3288-firefly.dtb \
|
rk3288-firefly.dtb \
|
||||||
|
|
|
||||||
|
|
@ -20,28 +20,6 @@
|
||||||
|
|
||||||
ess-switch@c000000{
|
ess-switch@c000000{
|
||||||
sw_gpio {
|
sw_gpio {
|
||||||
gpio1 {
|
|
||||||
gpio = <52>;
|
|
||||||
func = <2>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_2MA>;
|
|
||||||
oe = <GPIO_OE_DISABLE>;
|
|
||||||
vm = <GPIO_VM_ENABLE>;
|
|
||||||
od_en = <GPIO_OD_DISABLE>;
|
|
||||||
pu_res = <GPIO_PULL_RES2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio2 {
|
|
||||||
gpio = <53>;
|
|
||||||
func = <2>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_2MA>;
|
|
||||||
oe = <GPIO_OE_DISABLE>;
|
|
||||||
vm = <GPIO_VM_ENABLE>;
|
|
||||||
od_en = <GPIO_OD_DISABLE>;
|
|
||||||
pu_res = <GPIO_PULL_RES2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio3 {
|
gpio3 {
|
||||||
gpio = <59>;
|
gpio = <59>;
|
||||||
func = <0>;
|
func = <0>;
|
||||||
|
|
|
||||||
|
|
@ -19,43 +19,6 @@
|
||||||
spi_nand_available = <1>;
|
spi_nand_available = <1>;
|
||||||
config_name = "config@ap.dk01.1-c2";
|
config_name = "config@ap.dk01.1-c2";
|
||||||
|
|
||||||
ess-switch@c000000{
|
|
||||||
sw_gpio {
|
|
||||||
gpio1 {
|
|
||||||
gpio = <52>;
|
|
||||||
func = <2>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_2MA>;
|
|
||||||
oe = <GPIO_OE_DISABLE>;
|
|
||||||
vm = <GPIO_VM_ENABLE>;
|
|
||||||
od_en = <GPIO_OD_DISABLE>;
|
|
||||||
pu_res = <GPIO_PULL_RES2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio2 {
|
|
||||||
gpio = <53>;
|
|
||||||
func = <2>;
|
|
||||||
pull = <GPIO_PULL_UP>;
|
|
||||||
drvstr = <GPIO_2MA>;
|
|
||||||
oe = <GPIO_OE_DISABLE>;
|
|
||||||
vm = <GPIO_VM_ENABLE>;
|
|
||||||
od_en = <GPIO_OD_DISABLE>;
|
|
||||||
pu_res = <GPIO_PULL_RES2>;
|
|
||||||
};
|
|
||||||
|
|
||||||
gpio3 {
|
|
||||||
gpio = <62>;
|
|
||||||
func = <0>;
|
|
||||||
pull = <GPIO_NO_PULL>;
|
|
||||||
drvstr = <GPIO_2MA>;
|
|
||||||
oe = <GPIO_OE_ENABLE>;
|
|
||||||
vm = <GPIO_VM_ENABLE>;
|
|
||||||
od_en = <GPIO_OD_DISABLE>;
|
|
||||||
pu_res = <GPIO_PULL_RES2>;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
spi {
|
spi {
|
||||||
spi0 {
|
spi0 {
|
||||||
cs1 {
|
cs1 {
|
||||||
|
|
|
||||||
20
arch/arm/dts/ipq40xx-dk01-s1.dts
Normal file
20
arch/arm/dts/ipq40xx-dk01-s1.dts
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
/*
|
||||||
|
* Copyright (c) 2018, The Linux Foundation. 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 "ipq40xx-dk01.dtsi"
|
||||||
|
/ {
|
||||||
|
machid = <0x8010200>;
|
||||||
|
ddr_size = <128>;
|
||||||
|
config_name = "config@ap.dk01.1-c3";
|
||||||
|
};
|
||||||
|
|
@ -46,6 +46,43 @@
|
||||||
status = "ok";
|
status = "ok";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ess-switch@c000000{
|
||||||
|
sw_gpio {
|
||||||
|
gpio1 {
|
||||||
|
gpio = <52>;
|
||||||
|
func = <2>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_2MA>;
|
||||||
|
oe = <GPIO_OE_DISABLE>;
|
||||||
|
vm = <GPIO_VM_ENABLE>;
|
||||||
|
od_en = <GPIO_OD_DISABLE>;
|
||||||
|
pu_res = <GPIO_PULL_RES2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio2 {
|
||||||
|
gpio = <53>;
|
||||||
|
func = <2>;
|
||||||
|
pull = <GPIO_PULL_UP>;
|
||||||
|
drvstr = <GPIO_2MA>;
|
||||||
|
oe = <GPIO_OE_DISABLE>;
|
||||||
|
vm = <GPIO_VM_ENABLE>;
|
||||||
|
od_en = <GPIO_OD_DISABLE>;
|
||||||
|
pu_res = <GPIO_PULL_RES2>;
|
||||||
|
};
|
||||||
|
|
||||||
|
gpio3 {
|
||||||
|
gpio = <62>;
|
||||||
|
func = <0>;
|
||||||
|
pull = <GPIO_NO_PULL>;
|
||||||
|
drvstr = <GPIO_2MA>;
|
||||||
|
oe = <GPIO_OE_ENABLE>;
|
||||||
|
vm = <GPIO_VM_ENABLE>;
|
||||||
|
od_en = <GPIO_OD_DISABLE>;
|
||||||
|
pu_res = <GPIO_PULL_RES2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
edma_cfg {
|
edma_cfg {
|
||||||
unit = <0>;
|
unit = <0>;
|
||||||
/* Based on the enum for PSGMII phy interface from include/phy.h */
|
/* Based on the enum for PSGMII phy interface from include/phy.h */
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue