Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
cc66dcdd
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cc66dcdd
编写于
3月 13, 2018
作者:
T
Tom Rini
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.denx.de/u-boot-rockchip
上级
ee5f2490
1e84e44c
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
286 addition
and
80 deletion
+286
-80
arch/arm/dts/rk3288-vyasa-u-boot.dtsi
arch/arm/dts/rk3288-vyasa-u-boot.dtsi
+33
-0
arch/arm/dts/rk3288-vyasa.dts
arch/arm/dts/rk3288-vyasa.dts
+232
-71
board/amarula/vyasa-rk3288/MAINTAINERS
board/amarula/vyasa-rk3288/MAINTAINERS
+2
-0
board/amarula/vyasa-rk3288/vyasa-rk3288.c
board/amarula/vyasa-rk3288/vyasa-rk3288.c
+7
-0
configs/vyasa-rk3288_defconfig
configs/vyasa-rk3288_defconfig
+3
-0
drivers/clk/rockchip/clk_rk3036.c
drivers/clk/rockchip/clk_rk3036.c
+1
-1
drivers/clk/rockchip/clk_rk3188.c
drivers/clk/rockchip/clk_rk3188.c
+1
-1
drivers/clk/rockchip/clk_rk322x.c
drivers/clk/rockchip/clk_rk322x.c
+1
-1
drivers/clk/rockchip/clk_rk3288.c
drivers/clk/rockchip/clk_rk3288.c
+1
-1
drivers/clk/rockchip/clk_rk3328.c
drivers/clk/rockchip/clk_rk3328.c
+1
-1
drivers/clk/rockchip/clk_rv1108.c
drivers/clk/rockchip/clk_rv1108.c
+1
-1
drivers/pwm/rk_pwm.c
drivers/pwm/rk_pwm.c
+1
-1
include/configs/rk3328_common.h
include/configs/rk3328_common.h
+1
-1
include/configs/rk3399_common.h
include/configs/rk3399_common.h
+1
-1
未找到文件。
arch/arm/dts/rk3288-vyasa-u-boot.dtsi
0 → 100644
浏览文件 @
cc66dcdd
/*
* Copyright (C) 2017 Jagan Teki <jagan@amarulasolutions.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
&dmc {
rockchip,pctl-timing = <0x29a 0xc8 0x1f8 0x42 0x4e 0x4 0xea 0xa
0x5 0x0 0xa 0x7 0x19 0x24 0xa 0x7
0x5 0xa 0x5 0x200 0x5 0x10 0x40 0x0
0x1 0x7 0x7 0x4 0xc 0x43 0x100 0x0
0x5 0x0>;
rockchip,phy-timing = <0x48f9aab4 0xea0910 0x1002c200
0xa60 0x40 0x10 0x0>;
/* Add a dummy value to cause of-platdata think this is bytes */
rockchip,sdram-params = <0x30B25564 0x627 3 666000000 3 9 1>;
};
&sdmmc {
u-boot,dm-pre-reloc;
};
&emmc {
u-boot,dm-pre-reloc;
};
&uart2 {
u-boot,dm-pre-reloc;
};
&pinctrl {
u-boot,dm-pre-reloc;
};
arch/arm/dts/rk3288-vyasa.dts
浏览文件 @
cc66dcdd
...
...
@@ -52,48 +52,146 @@
};
memory
{
reg
=
<
0x0
0x0
0x0
0x80000000
>;
device_type
=
"memory"
;
reg
=
<
0
0x80000000
>;
};
vcc_sd
:
sdmmc
-
regulator
{
dc12_vbat
:
dc12
-
vbat
{
compatible
=
"regulator-fixed"
;
gpio
=
<&
gpio7
RK_PB3
GPIO_ACTIVE_LOW
>;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
sdmmc_pwr
>;
regulator
-
name
=
"vcc_sd"
;
regulator
-
name
=
"dc12_vbat"
;
regulator
-
min
-
microvolt
=
<
12000000
>;
regulator
-
max
-
microvolt
=
<
12000000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
};
vboot_3v3
:
vboot
-
3
v3
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vboot_3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
startup
-
delay
-
us
=
<
100000
>;
vin
-
supply
=
<&
vcc_io
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
dc12_vbat
>;
};
vcc_sys
:
vsys
-
regulator
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vcc_sys"
;
regulator
-
min
-
microvolt
=
<
3700000
>;
regulator
-
max
-
microvolt
=
<
3700000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
dc12_vbat
>;
};
vboot_5v
:
vboot
-
5
v
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vboot_sv"
;
regulator
-
min
-
microvolt
=
<
5000000
>;
regulator
-
max
-
microvolt
=
<
5000000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
dc12_vbat
>;
};
v3g_3v3
:
v3g
-
3
v3
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"v3g_3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
dc12_vbat
>;
};
vsus_5v
:
vsus
-
5
v
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vsus_5v"
;
regulator
-
min
-
microvolt
=
<
5000000
>;
regulator
-
max
-
microvolt
=
<
5000000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
vcc_io
>;
};
vusb1_5v
:
vusb1
-
5
v
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vusb1_5v"
;
enable
-
active
-
high
;
gpio
=
<&
gpio0
RK_PB4
GPIO_ACTIVE_HIGH
>;
/*
OTG_VBUS_DRV
*/
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
otg_vbus_drv
>;
regulator
-
min
-
microvolt
=
<
5000000
>;
regulator
-
max
-
microvolt
=
<
5000000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
vsus_5v
>;
};
vusb2_5v
:
vusb2
-
5
v
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vusb2_5v"
;
enable
-
active
-
high
;
gpio
=
<&
gpio8
RK_PB1
GPIO_ACTIVE_HIGH
>;
/*
USB2_PWR_EN
*/
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
usb2_pwr_en
>;
regulator
-
min
-
microvolt
=
<
5000000
>;
regulator
-
max
-
microvolt
=
<
5000000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
vsus_5v
>;
};
};
&
dmc
{
rockchip
,
pctl
-
timing
=
<
0x29a
0xc8
0x1f8
0x42
0x4e
0x4
0xea
0xa
0x5
0x0
0xa
0x7
0x19
0x24
0xa
0x7
0x5
0xa
0x5
0x200
0x5
0x10
0x40
0x0
0x1
0x7
0x7
0x4
0xc
0x43
0x100
0x0
0x5
0x0
>;
rockchip
,
phy
-
timing
=
<
0x48f9aab4
0xea0910
0x1002c200
0xa60
0x40
0x10
0x0
>;
/*
Add
a
dummy
value
to
cause
of
-
platdata
think
this
is
bytes
*/
rockchip
,
sdram
-
params
=
<
0x30B25564
0x627
3
666000000
3
9
1
>;
ext_gmac
:
external
-
gmac
-
clock
{
compatible
=
"fixed-clock"
;
#
clock
-
cells
=
<
0
>;
clock
-
frequency
=
<
125000000
>;
clock
-
output
-
names
=
"ext_gmac"
;
};
};
&
cpu0
{
cpu0
-
supply
=
<&
vdd_cpu
>;
};
&
emmc
{
bus
-
width
=
<
8
>;
cap
-
mmc
-
highspeed
;
disable
-
wp
;
non
-
removable
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
emmc_clk
&
emmc_cmd
&
emmc_pwr
&
emmc_bus8
>;
vmmc
-
supply
=
<&
vcc_io
>;
status
=
"okay"
;
};
&
gmac
{
assigned
-
clocks
=
<&
cru
SCLK_MAC
>;
assigned
-
clock
-
parents
=
<&
ext_gmac
>;
clock_in_out
=
"input"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
rgmii_pins
>,
<&
phy_rst
>,
<&
phy_pmeb
>,
<&
phy_int
>;
phy
-
supply
=
<&
vcc_lan
>;
phy
-
mode
=
"rgmii"
;
snps
,
reset
-
active
-
low
;
snps
,
reset
-
delays
-
us
=
<
0
10000
1000000
>;
snps
,
reset
-
gpio
=
<&
gpio4
RK_PB0
GPIO_ACTIVE_LOW
>;
tx_delay
=
<
0x30
>;
rx_delay
=
<
0x10
>;
status
=
"okay"
;
};
&
gpu
{
mali
-
supply
=
<&
vdd_gpu
>;
status
=
"okay"
;
};
&
hdmi
{
ddc
-
i2c
-
bus
=
<&
i2c2
>;
status
=
"okay"
;
};
&
i2c0
{
clock
-
frequency
=
<
400000
>;
status
=
"okay"
;
...
...
@@ -103,12 +201,12 @@
reg
=
<
0x1b
>;
interrupt
-
parent
=
<&
gpio0
>;
interrupts
=
<
RK_PA4
IRQ_TYPE_LEVEL_LOW
>;
#
clock
-
cells
=
<
1
>;
clock
-
output
-
names
=
"xin32k"
,
"rk808-clkout2"
;
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
pmic_int
&
global_pwroff
>;
wakeup
-
source
;
rockchip
,
system
-
power
-
controller
;
#
clock
-
cells
=
<
1
>;
clock
-
output
-
names
=
"xin32k"
,
"rk808-clkout2"
;
wakeup
-
source
;
vcc1
-
supply
=
<&
vcc_sys
>;
vcc2
-
supply
=
<&
vcc_sys
>;
...
...
@@ -123,23 +221,23 @@
vcc12
-
supply
=
<&
vcc_io
>;
regulators
{
vdd_cpu
:
vdd_log
:
DCDC_REG1
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vdd_cpu
:
DCDC_REG1
{
regulator
-
name
=
"vdd_arm"
;
regulator
-
min
-
microvolt
=
<
750000
>;
regulator
-
max
-
microvolt
=
<
1350000
>;
regulator
-
name
=
"vdd_log"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
off
-
in
-
suspend
;
};
};
vdd_gpu
:
DCDC_REG2
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vdd_gpu"
;
regulator
-
min
-
microvolt
=
<
850000
>;
regulator
-
max
-
microvolt
=
<
1250000
>;
regulator
-
name
=
"vdd_gpu"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1000000
>;
...
...
@@ -147,20 +245,20 @@
};
vcc_ddr
:
DCDC_REG3
{
regulator
-
name
=
"vcc_ddr"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_ddr"
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
};
};
vcc_io
:
DCDC_REG4
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_io"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vcc_io"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
3300000
>;
...
...
@@ -168,11 +266,11 @@
};
vcca_tp
:
LDO_REG1
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_tp"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vcc_tp"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
3300000
>;
...
...
@@ -180,22 +278,22 @@
};
vcc_codec
:
LDO_REG2
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_codec"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vcc_codec"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
off
-
in
-
suspend
;
};
};
vdd_10
:
LDO_REG3
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vdd_10"
;
regulator
-
min
-
microvolt
=
<
1000000
>;
regulator
-
max
-
microvolt
=
<
1000000
>;
regulator
-
name
=
"vdd_10"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1000000
>;
...
...
@@ -203,11 +301,11 @@
};
vcc_gps
:
LDO_REG4
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_gps"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
name
=
"vcc_gps"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1800000
>;
...
...
@@ -215,11 +313,11 @@
};
vccio_sd
:
LDO_REG5
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vccio_sd"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vccio_sd"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
3300000
>;
...
...
@@ -227,11 +325,11 @@
};
vcc10_lcd
:
LDO_REG6
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc10_lcd"
;
regulator
-
min
-
microvolt
=
<
1000000
>;
regulator
-
max
-
microvolt
=
<
1000000
>;
regulator
-
name
=
"vcc10_lcd"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1800000
>;
...
...
@@ -239,11 +337,11 @@
};
vcc_18
:
LDO_REG7
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_18"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
name
=
"vcc_18"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1800000
>;
...
...
@@ -251,34 +349,34 @@
};
vcc18_lcd
:
LDO_REG8
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc18_lcd"
;
regulator
-
min
-
microvolt
=
<
1800000
>;
regulator
-
max
-
microvolt
=
<
1800000
>;
regulator
-
name
=
"vcc18_lcd"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
regulator
-
suspend
-
microvolt
=
<
1800000
>;
};
};
vcc33_sd
:
SWITCH_REG1
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vcc_sd
:
SWITCH_REG1
{
regulator
-
name
=
"vcc_sd"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vcc33_sd"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
};
};
vcc_lan
:
SWITCH_REG2
{
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
name
=
"vcc_lan"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
name
=
"vcc_lan"
;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
regulator
-
state
-
mem
{
regulator
-
on
-
in
-
suspend
;
};
...
...
@@ -287,10 +385,11 @@
};
};
&
sdmmc
{
u
-
boot
,
dm
-
pre
-
reloc
;
&
i2c2
{
status
=
"okay"
;
};
&
sdmmc
{
bus
-
width
=
<
4
>;
cap
-
mmc
-
highspeed
;
cap
-
sd
-
highspeed
;
...
...
@@ -300,10 +399,44 @@
pinctrl
-
0
=
<&
sdmmc_clk
>,
<&
sdmmc_cmd
>,
<&
sdmmc_cd
>,
<&
sdmmc_bus4
>;
vmmc
-
supply
=
<&
vcc_sd
>;
vqmmc
-
supply
=
<&
vccio_sd
>;
status
=
"okay"
;
};
&
uart2
{
u
-
boot
,
dm
-
pre
-
reloc
;
status
=
"okay"
;
};
&
usbphy
{
status
=
"okay"
;
};
&
usb_host0_ehci
{
status
=
"okay"
;
};
&
usb_host1
{
pinctrl
-
names
=
"default"
;
pinctrl
-
0
=
<&
phy_pwr_en
>;
status
=
"okay"
;
};
&
usb_otg
{
status
=
"okay"
;
};
&
vopb
{
status
=
"okay"
;
};
&
vopb_mmu
{
status
=
"okay"
;
};
&
vopl
{
status
=
"okay"
;
};
&
vopl_mmu
{
status
=
"okay"
;
};
...
...
@@ -312,16 +445,44 @@
};
&
pinctrl
{
u
-
boot
,
dm
-
pre
-
reloc
;
pcfg_output_high
:
pcfg
-
output
-
high
{
output
-
high
;
};
gmac
{
phy_int
:
phy
-
int
{
rockchip
,
pins
=
<
0
RK_PB1
RK_FUNC_GPIO
&
pcfg_pull_up
>;
};
phy_pmeb
:
phy
-
pmeb
{
rockchip
,
pins
=
<
0
RK_PA6
RK_FUNC_GPIO
&
pcfg_pull_up
>;
};
phy_rst
:
phy
-
rst
{
rockchip
,
pins
=
<
4
RK_PB0
RK_FUNC_GPIO
&
pcfg_output_high
>;
};
};
pmic
{
pmic_int
:
pmic
-
int
{
rockchip
,
pins
=
<
RK_GPIO0
4
RK_FUNC_GPIO
&
pcfg_pull_up
>;
};
};
sdmmc
{
sdmmc_pwr
:
sdmmc
-
pwr
{
rockchip
,
pins
=
<
7
11
RK_FUNC_GPIO
&
pcfg_pull_none
>;
usb_host
{
phy_pwr_en
:
phy
-
pwr
-
en
{
rockchip
,
pins
=
<
RK_GPIO2
RK_PB1
RK_FUNC_GPIO
&
pcfg_output_high
>;
};
usb2_pwr_en
:
usb2
-
pwr
-
en
{
rockchip
,
pins
=
<
8
RK_PB1
RK_FUNC_GPIO
&
pcfg_pull_none
>;
};
};
usb_otg
{
otg_vbus_drv
:
otg
-
vbus
-
drv
{
rockchip
,
pins
=
<
RK_GPIO0
RK_PB4
RK_FUNC_GPIO
&
pcfg_pull_none
>;
};
};
};
board/amarula/vyasa-rk3288/MAINTAINERS
浏览文件 @
cc66dcdd
...
...
@@ -4,3 +4,5 @@ S: Maintained
F: board/amarula/vyasa-rk3288
F: include/configs/vyasa-rk3288.h
F: configs/vyasa-rk3288_defconfig
F: arch/arm/dts/rk3288-vyasa.dts
F: arch/arm/dts/rk3288-vyasa-u-boot.dtsi
board/amarula/vyasa-rk3288/vyasa-rk3288.c
浏览文件 @
cc66dcdd
...
...
@@ -9,6 +9,13 @@
#ifndef CONFIG_TPL_BUILD
#include <spl.h>
void
board_boot_order
(
u32
*
spl_boot_list
)
{
/* eMMC prior to sdcard. */
spl_boot_list
[
0
]
=
BOOT_DEVICE_MMC2
;
spl_boot_list
[
1
]
=
BOOT_DEVICE_MMC1
;
}
int
spl_start_uboot
(
void
)
{
/* break into full u-boot on 'c' */
...
...
configs/vyasa-rk3288_defconfig
浏览文件 @
cc66dcdd
...
...
@@ -45,6 +45,9 @@ CONFIG_LED=y
CONFIG_LED_GPIO=y
CONFIG_MMC_DW=y
CONFIG_MMC_DW_ROCKCHIP=y
CONFIG_DM_ETH=y
CONFIG_ETH_DESIGNWARE=y
CONFIG_GMAC_ROCKCHIP=y
CONFIG_PINCTRL=y
CONFIG_SPL_PINCTRL=y
# CONFIG_SPL_PINCTRL_FULL is not set
...
...
drivers/clk/rockchip/clk_rk3036.c
浏览文件 @
cc66dcdd
...
...
@@ -321,7 +321,7 @@ static int rk3036_clk_probe(struct udevice *dev)
{
struct
rk3036_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rk3036_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
rkclk_init
(
priv
->
cru
);
return
0
;
...
...
drivers/clk/rockchip/clk_rk3188.c
浏览文件 @
cc66dcdd
...
...
@@ -541,7 +541,7 @@ static int rk3188_clk_ofdata_to_platdata(struct udevice *dev)
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
struct
rk3188_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rk3188_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
#endif
return
0
;
...
...
drivers/clk/rockchip/clk_rk322x.c
浏览文件 @
cc66dcdd
...
...
@@ -475,7 +475,7 @@ static int rk322x_clk_ofdata_to_platdata(struct udevice *dev)
{
struct
rk322x_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rk322x_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
return
0
;
}
...
...
drivers/clk/rockchip/clk_rk3288.c
浏览文件 @
cc66dcdd
...
...
@@ -906,7 +906,7 @@ static int rk3288_clk_ofdata_to_platdata(struct udevice *dev)
#if !CONFIG_IS_ENABLED(OF_PLATDATA)
struct
rk3288_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rk3288_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
#endif
return
0
;
...
...
drivers/clk/rockchip/clk_rk3328.c
浏览文件 @
cc66dcdd
...
...
@@ -767,7 +767,7 @@ static int rk3328_clk_ofdata_to_platdata(struct udevice *dev)
{
struct
rk3328_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rk3328_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
return
0
;
}
...
...
drivers/clk/rockchip/clk_rv1108.c
浏览文件 @
cc66dcdd
...
...
@@ -213,7 +213,7 @@ static int rv1108_clk_probe(struct udevice *dev)
{
struct
rv1108_clk_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
cru
=
(
struct
rv1108_cru
*
)
devfdt_get_add
r
(
dev
);
priv
->
cru
=
dev_read_addr_pt
r
(
dev
);
rkclk_init
(
priv
->
cru
);
...
...
drivers/pwm/rk_pwm.c
浏览文件 @
cc66dcdd
...
...
@@ -76,7 +76,7 @@ static int rk_pwm_ofdata_to_platdata(struct udevice *dev)
{
struct
rk_pwm_priv
*
priv
=
dev_get_priv
(
dev
);
priv
->
regs
=
(
struct
rk3288_pwm
*
)
dev
fdt_get
_addr
(
dev
);
priv
->
regs
=
(
struct
rk3288_pwm
*
)
dev
_read
_addr
(
dev
);
return
0
;
}
...
...
include/configs/rk3328_common.h
浏览文件 @
cc66dcdd
...
...
@@ -42,7 +42,7 @@
"scriptaddr=0x00500000\0" \
"pxefile_addr_r=0x00600000\0" \
"fdt_addr_r=0x01f00000\0" \
"kernel_addr_r=0x020
0
0000\0" \
"kernel_addr_r=0x020
8
0000\0" \
"ramdisk_addr_r=0x04000000\0"
#include <config_distro_bootcmd.h>
...
...
include/configs/rk3399_common.h
浏览文件 @
cc66dcdd
...
...
@@ -53,7 +53,7 @@
"scriptaddr=0x00500000\0" \
"pxefile_addr_r=0x00600000\0" \
"fdt_addr_r=0x01f00000\0" \
"kernel_addr_r=0x020
0
0000\0" \
"kernel_addr_r=0x020
8
0000\0" \
"ramdisk_addr_r=0x04000000\0"
#include <config_distro_bootcmd.h>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录