mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
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:
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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>;
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -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";
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user