Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
373b9003
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,发现更多精彩内容 >>
提交
373b9003
编写于
1月 11, 2018
作者:
T
Tom Rini
浏览文件
操作
浏览文件
下载
差异文件
Merge
git://git.denx.de/u-boot-sunxi
上级
1a62f859
00425e63
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
211 addition
and
1 deletion
+211
-1
arch/arm/dts/Makefile
arch/arm/dts/Makefile
+1
-0
arch/arm/dts/sun7i-a20-pcduino3.dts
arch/arm/dts/sun7i-a20-pcduino3.dts
+0
-1
arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts
arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts
+180
-0
board/sunxi/MAINTAINERS
board/sunxi/MAINTAINERS
+10
-0
configs/a64-olinuxino_defconfig
configs/a64-olinuxino_defconfig
+1
-0
configs/libretech_all_h3_cc_h3_defconfig
configs/libretech_all_h3_cc_h3_defconfig
+19
-0
未找到文件。
arch/arm/dts/Makefile
浏览文件 @
373b9003
...
...
@@ -332,6 +332,7 @@ dtb-$(CONFIG_MACH_SUN8I_A83T) += \
dtb-$(CONFIG_MACH_SUN8I_H3)
+=
\
sun8i-h2-plus-orangepi-zero.dtb
\
sun8i-h3-bananapi-m2-plus.dtb
\
sun8i-h3-libretech-all-h3-cc.dtb
\
sun8i-h3-orangepi-2.dtb
\
sun8i-h3-orangepi-lite.dtb
\
sun8i-h3-orangepi-one.dtb
\
...
...
arch/arm/dts/sun7i-a20-pcduino3.dts
浏览文件 @
373b9003
...
...
@@ -165,7 +165,6 @@
vmmc
-
supply
=
<&
reg_vcc3v3
>;
bus
-
width
=
<
4
>;
cd
-
gpios
=
<&
pio
7
1
GPIO_ACTIVE_LOW
>;
/*
PH1
*/
cd
-
inverted
;
status
=
"okay"
;
};
...
...
arch/arm/dts/sun8i-h3-libretech-all-h3-cc.dts
0 → 100644
浏览文件 @
373b9003
/*
*
Copyright
(
C
)
2017
Chen
-
Yu
Tsai
<
wens
@
csie
.
org
>
*
*
SPDX
-
License
-
Identifier
:
(
GPL
-
2.0
+
OR
MIT
)
*/
/
dts
-
v1
/;
#
include
"sun8i-h3.dtsi"
#
include
<
dt
-
bindings
/
gpio
/
gpio
.
h
>
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
/
{
model
=
"Libre Computer Board ALL-H3-CC H3"
;
compatible
=
"libretech,all-h3-cc-h3"
,
"allwinner,sun8i-h3"
;
aliases
{
ethernet0
=
&
emac
;
serial0
=
&
uart0
;
};
chosen
{
stdout
-
path
=
"serial0:115200n8"
;
};
leds
{
compatible
=
"gpio-leds"
;
pwr_led
{
label
=
"librecomputer:green:pwr"
;
gpios
=
<&
r_pio
0
10
GPIO_ACTIVE_HIGH
>;
/*
PL10
*/
default
-
state
=
"on"
;
};
status_led
{
label
=
"librecomputer:blue:status"
;
gpios
=
<&
pio
0
7
GPIO_ACTIVE_HIGH
>;
/*
PA7
*/
};
};
gpio_keys
{
compatible
=
"gpio-keys"
;
power
{
label
=
"power"
;
linux
,
code
=
<
KEY_POWER
>;
gpios
=
<&
r_pio
0
2
GPIO_ACTIVE_LOW
>;
/*
PL2
*/
};
};
reg_vcc1v2
:
vcc1v2
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vcc1v2"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
regulator
-
always
-
on
;
regulator
-
boot
-
on
;
vin
-
supply
=
<&
reg_vcc5v0
>;
gpio
=
<&
r_pio
0
8
GPIO_ACTIVE_HIGH
>;
/*
PL8
*/
enable
-
active
-
high
;
};
reg_vcc3v3
:
vcc3v3
{
compatible
=
"regulator-fixed"
;
regulator
-
name
=
"vcc3v3"
;
regulator
-
min
-
microvolt
=
<
3300000
>;
regulator
-
max
-
microvolt
=
<
3300000
>;
vin
-
supply
=
<&
reg_vcc5v0
>;
};
/*
This
represents
the
board
's 5V input */
reg_vcc5v0: vcc5v0 {
compatible = "regulator-fixed";
regulator-name = "vcc5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
};
reg_vcc_dram: vcc-dram {
compatible = "regulator-fixed";
regulator-name = "vcc-dram";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <®_vcc5v0>;
gpio = <&r_pio 0 9 GPIO_ACTIVE_HIGH>; /* PL9 */
enable-active-high;
};
reg_vcc_io: vcc-io {
compatible = "regulator-fixed";
regulator-name = "vcc-io";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <®_vcc3v3>;
gpio = <&r_pio 0 5 GPIO_ACTIVE_LOW>; /* PL5 */
};
reg_vdd_cpux: vdd-cpux {
compatible = "regulator-fixed";
regulator-name = "vdd-cpux";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <®_vcc5v0>;
gpio = <&r_pio 0 8 GPIO_ACTIVE_HIGH>; /* PL8 */
enable-active-high;
};
};
&ehci1 {
status = "okay";
};
&ehci2 {
status = "okay";
};
&ehci3 {
status = "okay";
};
&emac {
phy = <&phy1>;
phy-mode = "mii";
allwinner,use-internal-phy;
allwinner,leds-active-low;
status = "okay";
phy1: ethernet-phy@1 {
reg = <1>;
};
};
&ir {
pinctrl-names = "default";
pinctrl-0 = <&ir_pins_a>;
status = "okay";
};
&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins_a>;
vmmc-supply = <®_vcc_io>;
bus-width = <4>;
cd-gpios = <&pio 5 6 GPIO_ACTIVE_HIGH>; /* PF6 */
cd-inverted;
status = "okay";
};
&ohci1 {
status = "okay";
};
&ohci2 {
status = "okay";
};
&ohci3 {
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
status = "okay";
};
&usbphy {
/* VBUS on USB ports are always on */
usb0_vbus-supply = <®_vcc5v0>;
usb1_vbus-supply = <®_vcc5v0>;
usb2_vbus-supply = <®_vcc5v0>;
usb3_vbus-supply = <®_vcc5v0>;
status = "okay";
};
board/sunxi/MAINTAINERS
浏览文件 @
373b9003
...
...
@@ -266,6 +266,11 @@ M: Siarhei Siamashka <siarhei.siamashka@gmail.com>
S: Maintained
F: configs/MSI_Primo81_defconfig
LIBRETECH ALL-H3-CC H3 BOARD
M: Chen-Yu Tsai <wens@csie.org>
S: Maintained
F: configs/libretech_all_h3_cc_h3_defconfig
NANOPI-M1 BOARD
M: Mylène Josserand <mylene.josserand@free-electrons.com>
S: Maintained
...
...
@@ -374,6 +379,11 @@ S: Maintained
F: configs/Sunchip_CX-A99_defconfig
W: https://linux-sunxi.org/Sunchip_CX-A99
TBS A711 BOARD
M: Maxime Ripard <maxime.ripard@free-electrons.com>
S: Maintained
F: configs/tbs_a711_defconfig
WEXLER-TAB7200 BOARD
M: Aleksei Mamlin <mamlinav@gmail.com>
S: Maintained
...
...
configs/a64-olinuxino_defconfig
浏览文件 @
373b9003
...
...
@@ -2,6 +2,7 @@ CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN50I=y
CONFIG_RESERVE_ALLWINNER_BOOT0_HEADER=y
CONFIG_MMC_SUNXI_SLOT_EXTRA=2
CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-olinuxino"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y
...
...
configs/libretech_all_h3_cc_h3_defconfig
0 → 100644
浏览文件 @
373b9003
CONFIG_ARM=y
CONFIG_ARCH_SUNXI=y
CONFIG_MACH_SUN8I_H3=y
CONFIG_DRAM_CLK=672
CONFIG_DRAM_ZQ=3881979
CONFIG_DRAM_ODT_EN=y
CONFIG_R_I2C_ENABLE=y
CONFIG_DEFAULT_DEVICE_TREE="sun8i-h3-libretech-all-h3-cc"
# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
CONFIG_SPL=y
CONFIG_SPL_I2C_SUPPORT=y
# CONFIG_CMD_FLASH is not set
# CONFIG_CMD_FPGA is not set
# CONFIG_SPL_DOS_PARTITION is not set
# CONFIG_SPL_ISO_PARTITION is not set
# CONFIG_SPL_EFI_PARTITION is not set
CONFIG_SUN8I_EMAC=y
CONFIG_USB_EHCI_HCD=y
CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录