Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
tbblgm119
lede
提交
18a87273
L
lede
项目概览
tbblgm119
/
lede
与 Fork 源项目一致
从无法访问的项目Fork
通知
7
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lede
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
18a87273
编写于
9月 26, 2019
作者:
L
LEAN-ESX
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ramips: fix XiaoYu XY-C5 dts
上级
c46095fd
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
23 addition
and
37 deletion
+23
-37
target/linux/ramips/dts/XiaoYu-C5.dts
target/linux/ramips/dts/XiaoYu-C5.dts
+22
-35
target/linux/ramips/image/mt7621.mk
target/linux/ramips/image/mt7621.mk
+1
-2
未找到文件。
target/linux/ramips/dts/XiaoYu-C5.dts
浏览文件 @
18a87273
...
...
@@ -6,44 +6,37 @@
#
include
<
dt
-
bindings
/
input
/
input
.
h
>
/
{
compatible
=
"
XiaoYu-C
5"
,
"mediatek,mt7621-soc"
;
model
=
"XiaoYu-C5"
;
compatible
=
"
xiaoyu,xy-c
5"
,
"mediatek,mt7621-soc"
;
model
=
"XiaoYu
XY
-C5"
;
aliases
{
led
-
boot
=
&
led_system
;
led
-
failsafe
=
&
led_system
;
led
-
running
=
&
led_system
;
led
-
upgrade
=
&
led_system
;
};
memory
@
0
{
device_type
=
"memory"
;
reg
=
<
0x0
0x1c000000
>,
<
0x20000000
0x4000000
>;
led
-
boot
=
&
led_sys
;
led
-
failsafe
=
&
led_sys
;
led
-
running
=
&
led_sys
;
led
-
upgrade
=
&
led_sys
;
label
-
mac
-
device
=
&
ethernet
;
};
chosen
{
bootargs
=
"console=ttyS0,
1152
00"
;
bootargs
=
"console=ttyS0,
576
00"
;
};
gpio
-
leds
{
leds
{
compatible
=
"gpio-leds"
;
led_system
:
system
{
label
=
"XiaoYu-C5:green:system"
;
gpios
=
<&
gpio0
7
GPIO_ACTIVE_LOW
>;
};
work
{
label
=
"
XiaoYu-C5:green:usb3.0
"
;
label
=
"
xy-c5:green:work
"
;
gpios
=
<&
gpio0
8
GPIO_ACTIVE_LOW
>;
trigger
-
sources
=
<&
xhci_ehci_port1
>,
<&
ehci_port2
>;
linux
,
default
-
trigger
=
"usbport"
;
};
led_sys
:
sys
{
label
=
"xy-c5:green:sys"
;
gpios
=
<&
gpio0
7
GPIO_ACTIVE_LOW
>;
};
};
gpio
-
keys
-
polled
{
compatible
=
"gpio-keys-polled"
;
poll
-
interval
=
<
20
>;
keys
{
compatible
=
"gpio-keys"
;
reset
{
label
=
"reset"
;
...
...
@@ -51,17 +44,15 @@
linux
,
code
=
<
KEY_RESTART
>;
};
};
};
&
spi0
{
status
=
"okay"
;
m25p80
@
0
{
flash
@
0
{
compatible
=
"jedec,spi-nor"
;
reg
=
<
0
>;
spi
-
max
-
frequency
=
<
10000000
>;
m25p
,
chunked
-
io
=
<
32
>;
spi
-
max
-
frequency
=
<
25000000
>;
partitions
{
compatible
=
"fixed-partitions"
;
...
...
@@ -89,11 +80,7 @@
partition
@
50000
{
compatible
=
"denx,uimage"
;
label
=
"firmware"
;
reg
=
<
0x50000
0x1fa0000
>;
};
partition
@
1f
f0000
{
label
=
"mib0"
;
reg
=
<
0x1ff0000
0x10000
>;
reg
=
<
0x50000
0x1fb0000
>;
};
};
};
...
...
@@ -110,7 +97,7 @@
&
pinctrl
{
state_default
:
pinctrl0
{
gpio
{
ralink
,
group
=
"
i2c"
,
"jtag"
,
"uart2"
,
"uart3
"
;
ralink
,
group
=
"
uart3"
,
"wdt
"
;
ralink
,
function
=
"gpio"
;
};
};
...
...
target/linux/ramips/image/mt7621.mk
浏览文件 @
18a87273
...
...
@@ -584,8 +584,7 @@ define Device/XiaoYu-C5
DTS
:=
XiaoYu-C5
IMAGE_SIZE
:=
$(ralink_default_fw_size_32M)
DEVICE_TITLE
:=
XiaoYu-C5
DEVICE_PACKAGES
:=
\
kmod-ata-core kmod-ata-ahci kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
DEVICE_PACKAGES
:=
kmod-ata-core kmod-ata-ahci kmod-usb3
endef
TARGET_DEVICES
+=
XiaoYu-C5
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录