dts: add led, watchdog, and jtag device node

PD#138714: dts: add led, watchdog, and jtag device node

Change-Id: Ie367c0e7acd67be9d12d5d3b32ac43d8a4eee10f
Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
Bo Yang
2017-04-05 14:47:36 +08:00
committed by Jianxin Pan
parent 708ee01881
commit e96f8d445b
6 changed files with 71 additions and 1 deletions

View File

@@ -622,6 +622,14 @@
/*and you can shoose it in file dt-bindings/pwm/meson.h*/
};
sysled {
compatible = "amlogic, sysled";
dev_name = "sysled";
status = "okay";
led_gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
led_active_low = <1>;
};
codec_io {
compatible = "amlogic, codec_io";
#address-cells=<2>;

View File

@@ -696,6 +696,15 @@
/*all channels use the default clock source XTAL_CLK*/
/*and you can shoose it in file dt-bindings/pwm/meson.h*/
};
sysled {
compatible = "amlogic, sysled";
dev_name = "sysled";
status = "okay";
led_gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
led_active_low = <1>;
};
meson-fb {
compatible = "amlogic, meson-fb";
memory-region = <&fb_reserved>;

View File

@@ -718,6 +718,15 @@
/*all channels use the default clock source XTAL_CLK*/
/*and you can shoose it in file dt-bindings/pwm/meson.h*/
};
sysled {
compatible = "amlogic, sysled";
dev_name = "sysled";
status = "okay";
led_gpio = <&gpio GPIODV_24 GPIO_ACTIVE_HIGH>;
led_active_low = <1>;
};
meson-fb {
compatible = "amlogic, meson-fb";
memory-region = <&fb_reserved>;

View File

@@ -208,6 +208,28 @@
status = "okay";
};
watchdog {
compatible = "amlogic, meson-wdt";
status = "disabled";
default_timeout=<10>;
reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
reset_watchdog_time=<2>;
shutdown_timeout=<10>;
firmware_timeout=<6>;
suspend_timeout=<6>;
reg = <0x0 0xc11098d0 0x0 0x10>;
clock-names = "xtal";
clocks = <&xtal>;
};
jtag {
compatible = "amlogic, jtag";
status = "disabled";
pinctrl-names = "jtag_apao_pins", "jtag_apee_pins";
pinctrl-0 = <&jtag_apao_pins>;
pinctrl-1 = <&jtag_apee_pins>;
};
mailbox: mhu@c883c400 {
compatible = "amlogic, meson_mhu";
reg = <0x0 0xc883c400 0x0 0x4c>, /* MHU registers */

View File

@@ -239,6 +239,28 @@
interrupts = <GIC_PPI 9 0xf04>;
};
watchdog {
compatible = "amlogic, meson-wdt";
status = "disabled";
default_timeout=<10>;
reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
reset_watchdog_time=<2>;
shutdown_timeout=<10>;
firmware_timeout=<6>;
suspend_timeout=<6>;
reg = <0x0 0xc11098d0 0x0 0x10>;
clock-names = "xtal";
clocks = <&xtal>;
};
jtag {
compatible = "amlogic, jtag";
status = "disabled";
pinctrl-names = "jtag_apao_pins", "jtag_apee_pins";
pinctrl-0 = <&jtag_apao_pins>;
pinctrl-1 = <&jtag_apee_pins>;
};
psci {
compatible = "arm,psci-0.2";
method = "smc";

View File

@@ -368,7 +368,7 @@ static int aml_wdt_resume(struct platform_device *pdev)
#endif
static const struct of_device_id aml_wdt_of_match[] = {
{ .compatible = "amlogic, gx-wdt", },
{ .compatible = "amlogic, meson-wdt", },
{},
};
MODULE_DEVICE_TABLE(of, aml_wdt_of_match);