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:
Sasirekaa Madhesu 2018-01-10 11:43:36 +05:30 committed by Gerrit - the friendly Code Review server
parent ce3c581f24
commit c8af13c595
5 changed files with 59 additions and 60 deletions

View file

@ -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 \

View file

@ -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>;

View file

@ -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 {

View 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";
};

View file

@ -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 */