Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
kernel_linux
提交
b4e1566e
K
kernel_linux
项目概览
OpenHarmony
/
kernel_linux
上一次同步 4 年多
通知
15
Star
8
Fork
2
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kernel_linux
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
b4e1566e
编写于
4月 09, 2017
作者:
T
Tony Lindgren
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'omap-for-v4.12/dt-droid4-v2' into omap-for-v4.12/dt-v2
上级
c0bde0bf
8434fbef
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
51 addition
and
13 deletion
+51
-13
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
+50
-1
arch/arm/boot/dts/omap4-droid4-xt894.dts
arch/arm/boot/dts/omap4-droid4-xt894.dts
+1
-12
未找到文件。
arch/arm/boot/dts/motorola-cpcap-mapphone.dtsi
浏览文件 @
b4e1566e
...
...
@@ -11,7 +11,7 @@
compatible = "motorola,cpcap", "st,6556002";
reg = <0>; /* cs0 */
interrupt-parent = <&gpio1>;
interrupts = <7 IRQ_TYPE_
EDGE_RISING
>;
interrupts = <7 IRQ_TYPE_
LEVEL_HIGH
>;
interrupt-controller;
#interrupt-cells = <2>;
#address-cells = <1>;
...
...
@@ -19,6 +19,32 @@
spi-max-frequency = <3000000>;
spi-cs-high;
cpcap_adc: adc {
compatible = "motorola,mapphone-cpcap-adc";
interrupts-extended = <&cpcap 8 0>;
interrupt-names = "adcdone";
#io-channel-cells = <1>;
};
cpcap_charger: charger {
compatible = "motorola,mapphone-cpcap-charger";
interrupts-extended = <
&cpcap 13 0 &cpcap 12 0 &cpcap 29 0 &cpcap 28 0
&cpcap 22 0 &cpcap 20 0 &cpcap 19 0 &cpcap 54 0
>;
interrupt-names =
"chrg_det", "rvrs_chrg", "chrg_se1b", "se0conn",
"rvrs_mode", "chrgcurr1", "vbusvld", "battdetb";
mode-gpios = <&gpio3 29 GPIO_ACTIVE_LOW
&gpio3 23 GPIO_ACTIVE_LOW>;
io-channels = <&cpcap_adc 0 &cpcap_adc 1
&cpcap_adc 2 &cpcap_adc 5
&cpcap_adc 6>;
io-channel-names = "battdetb", "battp",
"vbus", "chg_isense",
"batti";
};
cpcap_regulator: regulator {
compatible = "motorola,mapphone-cpcap-regulator";
...
...
@@ -39,6 +65,29 @@
interrupts = <23 IRQ_TYPE_NONE>;
};
cpcap_usb2_phy: phy {
compatible = "motorola,mapphone-cpcap-usb-phy";
pinctrl-0 = <&usb_gpio_mux_sel1 &usb_gpio_mux_sel2>;
pinctrl-1 = <&usb_ulpi_pins>;
pinctrl-2 = <&usb_utmi_pins>;
pinctrl-3 = <&uart3_pins>;
pinctrl-names = "default", "ulpi", "utmi", "uart";
#phy-cells = <0>;
interrupts-extended = <
&cpcap 15 0 &cpcap 14 0 &cpcap 28 0 &cpcap 19 0
&cpcap 18 0 &cpcap 17 0 &cpcap 16 0 &cpcap 49 0
&cpcap 48 1
>;
interrupt-names =
"id_ground", "id_float", "se0conn", "vbusvld",
"sessvld", "sessend", "se1", "dm", "dp";
mode-gpios = <&gpio2 28 GPIO_ACTIVE_HIGH
&gpio1 0 GPIO_ACTIVE_HIGH>;
io-channels = <&cpcap_adc 2>, <&cpcap_adc 7>;
io-channel-names = "vbus", "id";
vusb-supply = <&vusb>;
};
led_red: led-red {
compatible = "motorola,cpcap-led-red";
vdd-supply = <&sw5>;
...
...
arch/arm/boot/dts/omap4-droid4-xt894.dts
浏览文件 @
b4e1566e
...
...
@@ -24,8 +24,7 @@
/*
*
We
seem
to
have
only
1021
MB
accessible
,
1021
-
1022
is
locked
,
*
then
1023
-
1024
seems
to
contain
mbm
.
For
SRAM
,
see
the
notes
*
below
about
SRAM
and
L3_ICLK2
being
unused
by
default
,
*
then
1023
-
1024
seems
to
contain
mbm
.
*/
memory
{
device_type
=
"memory"
;
...
...
@@ -176,11 +175,6 @@
};
};
/*
L3_2
interconnect
is
unused
,
SRAM
,
GPMC
and
L3_ICLK2
disabled
*/
&
gpmc
{
status
=
"disabled"
;
};
&
hdmi
{
status
=
"okay"
;
pinctrl
-
0
=
<&
dss_hdmi_pins
>;
...
...
@@ -356,11 +350,6 @@
};
};
/*
L3_2
interconnect
is
unused
,
SRAM
,
GPMC
and
L3_ICLK2
disabled
*/
&
ocmcram
{
status
=
"disabled"
;
};
&
omap4_pmx_core
{
/*
hdmi_hpd
.
gpio_63
*/
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录