Add watchdog DT nodes and use syscon regmap interface to configure pmu registers
Subsystems (3)
v11 cover Add watchdog DT nodes and use syscon regmap interface to configure pmu registers
This patchset does the following things
- Adds pmusysreg device node to exynos5.dtsi file
- Adds watchdog DT nodes to Exynos5250 and 5420
- Uses syscon regmap interface to configure pmu registers to mask/unmask enable/disable of watchdog.
This patch set is rebased on Kgene's for-next branch and tested on SMDK5420
changes since V10:
- followed coding style rules
- removed duplicate error message suggested by Guenter Roeck <[email protected]>
changes since V9:
- added descriptions to s3c2410_wdt_variant structure fields
- moved calling s3c2410wdt_mask_and_disable_reset() function above s3c2410wdt_start() call in probe
- put dev_err message back to s3c2410wdt_mask_and_disable_reset() function (suggested by Doug Anderson <[email protected]>)
changes since V8:
- modified the patch description for the below patch
"watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register"
- removed MODULE_ALIAS in watchdog driver
- changed dev_warn to dev_err in one failure case handling (suggested by Guenter Roeck <[email protected]>)
- renamed variable name from pmu_config to drv_data
- changed the compatible field description in documentation file
(suggested by Tomasz Figa <[email protected]>)
changes since V7:
- re-ordered the patches in the series
- moved pmu_config_s3c2410 structure out of ifdef CONFIG_OF and limited only this structure to platform match table
- renamed structure name from s3c_wdt_driver_ids to s3c2410_wdt_ids
- removed exynos variants from platform match table (suggested by Tomasz Figa <[email protected]>)
changes since V6:
- added SoC-specific compatible value to syscon node and documented it
- given more patch description for below patch
ARM: dts: update watchdog device nodes for Exynos5250 and Exynos5420
- added platform_device_id array for watchdog devices
- selected MFD_SYSCON in Kconfig entry for watchdog
Changes since V5:
- removed status property in DT nodes
- changed the return type for the function s3c2410wdt_mask_and_disable_reset() and handled error cases
- Handled to get driver data in non-DT cases
- Addressed comments given by Tomasz Figa <[email protected]>
Changes since V4:
- changed the node name from pmusysreg to syscon and node label from pmu_sys_reg to pmu_syscon
- changed the property name from samsung,pmusysreg to samsung,syscon-phandle
- used regmap_update_bits instead of remap_read/regmap_write
- Addressed other comments given by Tomasz Figa <[email protected]>
Changes since V3:
- changed the compatible strings for watchdog node
- splitted up adding pmusysreg node and made it separate patch
- Addressed comments given by Sachin Kamat <[email protected]>
Changes since V2:
- used syscon regmap interface to configure pmu registers in WDT driver (suggested by Tomasz Figa <[email protected]>)
Changes since V1:
- Added new compatible string for Exynos5 SoCs
- Introduced quirk mechanism to program PMU registers
- Addressed comments given by Tomasz Figa <[email protected]>
Leela Krishna Amudala (3):
ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu
register
ARM: dts: update watchdog device nodes for Exynos5250 and Exynos5420
.../devicetree/bindings/arm/samsung/pmu.txt | 16 ++ .../devicetree/bindings/watchdog/samsung-wdt.txt | 21 ++- arch/arm/boot/dts/exynos5.dtsi | 7 - arch/arm/boot/dts/exynos5250.dtsi | 11 +- arch/arm/boot/dts/exynos5420.dtsi | 14 ++ drivers/watchdog/Kconfig | 1 + drivers/watchdog/s3c2410_wdt.c | 159 ++++++++++++++++++-- 7 files changed, 211 insertions(+), 18 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txt
Signature · 1 line
1.7.10.4
PATCH v11 1/3 ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver
--- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 16 ++++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txt
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +16 -0
@@ -0,0 +1,16 @@ +SAMSUNG Exynos SoC series PMU Registers + +Properties: + - name : should be 'syscon'; + - compatible : should contain two values. First value must be one from following list: + - "samsung,exynos5250-pmu" - for Exynos5250 SoC, + - "samsung,exynos5420-pmu" - for Exynos5420 SoC. + second value must be always "syscon". + + - reg : offset and length of the register set. + +Example : +pmu_syscon: syscon@10040000 { + compatible = "samsung,exynos5250-pmu", "syscon"; + reg = <0x10040000 0x5000>; +};
arch/arm/boot/dts/exynos5250.dtsi +5 -0
@@ -163,6 +163,11 @@ interrupts = <0 47 0>; }; + pmu_syscon: syscon@10040000 { + compatible = "samsung,exynos5250-pmu", "syscon"; + reg = <0x10040000 0x5000>; + }; + watchdog { clocks = <&clock 336>; clock-names = "watchdog";
arch/arm/boot/dts/exynos5420.dtsi +5 -0
@@ -310,4 +310,9 @@ clocks = <&clock 431>, <&clock 143>; clock-names = "mixer", "sclk_hdmi"; }; + + pmu_syscon: syscon@10040000 { + compatible = "samsung,exynos5420-pmu", "syscon"; + reg = <0x10040000 0x5000>; + }; };
Signature · 1 line
1.7.10.4
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Hi,
Quoted 20 lines · Leela Krishna Amudala
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver
Signed-off-by Leela Krishna Amudala <[email protected]>Reviewed-by Tomasz Figa <[email protected]>Reviewed-by Doug Anderson <[email protected]>Tested-by Doug Anderson <[email protected]>--- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 16 ++++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txtDocumentation/devicetree/bindings/arm/samsung/pmu.txt new file +0
-0
Documentation/devicetree/bindings/arm/samsung/pmu.txt line 4
Quoted 4 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +4
-0@@ -0,0 +1,16 @@ +SAMSUNG Exynos SoC series PMU Registers + +Properties: + - name : should be 'syscon';
It's common to use a non-abbreviated name, such as 'system-controller' here. Or, given that it's referring to "pmusysreg" then maybe something like "pmu-system-registers".
Documentation/devicetree/bindings/arm/samsung/pmu.txt line 8
Quoted 4 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +4
-0+ - compatible : should contain two values. First value must be one from following list: + - "samsung,exynos5250-pmu" - for Exynos5250 SoC, + - "samsung,exynos5420-pmu" - for Exynos5420 SoC. + second value must be always "syscon".
-Olof
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Quoted 18 lines · On Monday 02 of December 2013 10:50:14 Olof Johansson wrote:
Hi,
Quoted 14 lines · Leela Krishna Amudala
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver
Signed-off-by Leela Krishna Amudala <[email protected]>Reviewed-by Tomasz Figa <[email protected]>Reviewed-by Doug Anderson <[email protected]>Tested-by Doug Anderson <[email protected]>--- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 16 ++++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txt
Quoted 14 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt line 4
Quoted 10 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +4
-0@@ -0,0 +1,16 @@ +SAMSUNG Exynos SoC series PMU Registers + +Properties: + - name : should be 'syscon';It's common to use a non-abbreviated name, such as 'system-controller' here. Or, given that it's referring to "pmusysreg" then maybe something like "pmu-system-registers".
Hmm, it's two syscons vs two system-controllers in existing device trees. I agree that system-controller sounds much better as a name for this class of devices. I don't remember why I initially suggested syscon, though. Possibly based on those two existing device trees using this name.
Best regards,
Tomasz
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Leela Krishna,
Quoted 34 lines · Tomasz Figa
Quoted 18 lines · On Monday 02 of December 2013 10:50:14 Olof Johansson wrote:
Hi,
Quoted 14 lines · Leela Krishna Amudala
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver
Signed-off-by Leela Krishna Amudala <[email protected]>Reviewed-by Tomasz Figa <[email protected]>Reviewed-by Doug Anderson <[email protected]>Tested-by Doug Anderson <[email protected]>--- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 16 ++++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txtQuoted 14 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt line 4
Quoted 10 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +4
-0@@ -0,0 +1,16 @@ +SAMSUNG Exynos SoC series PMU Registers + +Properties: + - name : should be 'syscon';It's common to use a non-abbreviated name, such as 'system-controller' here. Or, given that it's referring to "pmusysreg" then maybe something like "pmu-system-registers".
Quoted 4 lines
Hmm, it's two syscons vs two system-controllers in existing device trees. I agree that system-controller sounds much better as a name for this class of devices. I don't remember why I initially suggested syscon, though. Possibly based on those two existing device trees using this name.
I'd vote for using "pmu-system-registers". We end up using the "syscon" subsystem but really we're describing pmu registers.
I'd even say that you don't need to formally specify the "name" in the bindings (though I'm not up with all the latest device tree requirements). ...still you'd want to use "pmu-system-registers" in the DTS changes.
Can you spin up a v12?
Thanks!
-Doug
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Quoted 42 lines · On Thursday 05 of December 2013 10:26:18 Doug Anderson wrote:
Leela Krishna,
Quoted 34 lines · Tomasz Figa
Quoted 18 lines · On Monday 02 of December 2013 10:50:14 Olof Johansson wrote:
Hi,
Quoted 14 lines · Leela Krishna Amudala
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to handle PMU register accesses in a centralized way using syscon driver
Signed-off-by Leela Krishna Amudala <[email protected]>Reviewed-by Tomasz Figa <[email protected]>Reviewed-by Doug Anderson <[email protected]>Tested-by Doug Anderson <[email protected]>--- Documentation/devicetree/bindings/arm/samsung/pmu.txt | 16 ++++++++++++++++ arch/arm/boot/dts/exynos5250.dtsi | 5 +++++ arch/arm/boot/dts/exynos5420.dtsi | 5 +++++ 3 files changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/arm/samsung/pmu.txtQuoted 14 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt line 4
Quoted 10 lines
Documentation/devicetree/bindings/arm/samsung/pmu.txt new file +4
-0@@ -0,0 +1,16 @@ +SAMSUNG Exynos SoC series PMU Registers + +Properties: + - name : should be 'syscon';It's common to use a non-abbreviated name, such as 'system-controller' here. Or, given that it's referring to "pmusysreg" then maybe something like "pmu-system-registers".
Quoted 4 lines
Hmm, it's two syscons vs two system-controllers in existing device trees. I agree that system-controller sounds much better as a name for this class of devices. I don't remember why I initially suggested syscon, though. Possibly based on those two existing device trees using this name.
Quoted 7 lines
I'd vote for using "pmu-system-registers". We end up using the "syscon" subsystem but really we're describing pmu registers.
I'd even say that you don't need to formally specify the "name" in the bindings (though I'm not up with all the latest device tree requirements). ...still you'd want to use "pmu-system-registers" in the DTS changes.
Well, since the name should specify the class of device, I would say that pmu-system-registers is too specific. If we want to change this, I'd say we should go with system-controller.
As for name specification inside the binding, I agree that binding should not require the main node to be named specifically. If we want to have another version anyway, let's drop this.
Best regards,
Tomasz
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Tomasz,
Quoted 11 lines · Tomasz Figa
Quoted 7 lines
I'd vote for using "pmu-system-registers". We end up using the "syscon" subsystem but really we're describing pmu registers.
I'd even say that you don't need to formally specify the "name" in the bindings (though I'm not up with all the latest device tree requirements). ...still you'd want to use "pmu-system-registers" in the DTS changes.
Well, since the name should specify the class of device, I would say that pmu-system-registers is too specific. If we want to change this, I'd say we should go with system-controller.
...but the "compatible" is "samsung,exynos5250-pmu", "syscon", right? That means that the class of the device is "exynos5250-pmu", right? It is also compatible with the generic "syscon" class of devices.
Quoted 3 lines
As for name specification inside the binding, I agree that binding should not require the main node to be named specifically. If we want to have another version anyway, let's drop this.
That sounds good to me. So drop the "name" part in the bindings file and then apply this discussion to patch #3 in this series (the one that touches the .dtsi files).
-Doug
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Quoted 11 lines · On Thursday 05 of December 2013 10:35:20 Doug Anderson wrote:
Tomasz,
Quoted 8 lines · Tomasz Figa
Quoted 7 lines
I'd vote for using "pmu-system-registers". We end up using the "syscon" subsystem but really we're describing pmu registers.
I'd even say that you don't need to formally specify the "name" in the bindings (though I'm not up with all the latest device tree requirements). ...still you'd want to use "pmu-system-registers" in the DTS changes.
Quoted 6 lines
Quoted 3 lines
Well, since the name should specify the class of device, I would say that pmu-system-registers is too specific. If we want to change this, I'd say we should go with system-controller.
...but the "compatible" is "samsung,exynos5250-pmu", "syscon", right? That means that the class of the device is "exynos5250-pmu", right?
Nope. "samsung,exynos5250-pmu" is the specific device (or hardware programming interface) this device is compatible with.
With class I mean the generic kind of device, such as system-controller, i2c, pinctrl, display, etc., as specified by sections 2.2.1 and 2.2.2 of ePAPR.
Anyway, node names are just a matter of coding style, as they don't have any semantical meaning in most cases (such as this one).
Quoted 1 line
It is also compatible with the generic "syscon" class of devices.
It is also compatible with the generic "syscon" programming interface, which represents a set of loosely related registers that control various aspects of other IP blocks.
Best regards,
Tomasz
Re: [PATCH V11 1/3] ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420 dtsi files
Tomasz,
Quoted 26 lines · Tomasz Figa
Quoted 11 lines · On Thursday 05 of December 2013 10:35:20 Doug Anderson wrote:
Tomasz,
Quoted 8 lines · Tomasz Figa
Quoted 7 lines
I'd vote for using "pmu-system-registers". We end up using the "syscon" subsystem but really we're describing pmu registers.
I'd even say that you don't need to formally specify the "name" in the bindings (though I'm not up with all the latest device tree requirements). ...still you'd want to use "pmu-system-registers" in the DTS changes.
Quoted 6 lines
Quoted 3 lines
Well, since the name should specify the class of device, I would say that pmu-system-registers is too specific. If we want to change this, I'd say we should go with system-controller.
...but the "compatible" is "samsung,exynos5250-pmu", "syscon", right? That means that the class of the device is "exynos5250-pmu", right?
Nope. "samsung,exynos5250-pmu" is the specific device (or hardware programming interface) this device is compatible with.
With class I mean the generic kind of device, such as system-controller, i2c, pinctrl, display, etc., as specified by sections 2.2.1 and 2.2.2 of ePAPR.
Quoted 8 lines
Anyway, node names are just a matter of coding style, as they don't have any semantical meaning in most cases (such as this one).
Quoted 1 line
It is also compatible with the generic "syscon" class of devices.
It is also compatible with the generic "syscon" programming interface, which represents a set of loosely related registers that control various aspects of other IP blocks.
OK. I will certainly cede to your superior knowledge of device tree conventions.
Leela Krishna: unless someone else comes up with a convincing argument, it sounds like the dts files should have the name "system-controller" and the bindings change should remove all references to the name.
-Doug
PATCH v11 2/3 watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register
In reply to Leela Krishna AmudalaAdd device tree support for exynos5250 and 5420 SoCs and use syscon regmap interface to configure AUTOMATIC_WDT_RESET_DISABLE and MASK_WDT_RESET_REQUEST registers of PMU to mask/unmask enable/disable of watchdog in probe and s2r scenarios.
--- .../devicetree/bindings/watchdog/samsung-wdt.txt | 21 ++- drivers/watchdog/Kconfig | 1 + drivers/watchdog/s3c2410_wdt.c | 159 ++++++++++++++++++-- 3 files changed, 171 insertions(+), 10 deletions(-)
Documentation/devicetree/bindings/watchdog/samsung-wdt.txt +20 -1
@@ -5,10 +5,29 @@ after a preset amount of time during which the WDT reset event has not occurred. Required properties: -- compatible : should be "samsung,s3c2410-wdt" +- compatible : should be one among the following + (a) "samsung,s3c2410-wdt" for Exynos4 and previous SoCs + (b) "samsung,exynos5250-wdt" for Exynos5250 + (c) "samsung,exynos5420-wdt" for Exynos5420 + - reg : base physical address of the controller and length of memory mapped region. - interrupts : interrupt number to the cpu. +- samsung,syscon-phandle : reference to syscon node (This property required only + in case of compatible being "samsung,exynos5250-wdt" or "samsung,exynos5420-wdt". + In case of Exynos5250 and 5420 this property points to syscon node holding the PMU + base address) Optional properties: - timeout-sec : contains the watchdog timeout in seconds. + +Example: + +watchdog@101D0000 { + compatible = "samsung,exynos5250-wdt"; + reg = <0x101D0000 0x100>; + interrupts = <0 42 0>; + clocks = <&clock 336>; + clock-names = "watchdog"; + samsung,syscon-phandle = <&pmu_syscon>; +};
drivers/watchdog/Kconfig +1 -0
@@ -188,6 +188,7 @@ config S3C2410_WATCHDOG tristate "S3C2410 Watchdog" depends on HAVE_S3C2410_WATCHDOG select WATCHDOG_CORE + select MFD_SYSCON if ARCH_EXYNOS5 help Watchdog timer block in the Samsung SoCs. This will reboot the system when the timer expires with the watchdog enabled.
drivers/watchdog/s3c2410_wdt.c +150 -9
266 lines not on this page · raw message
Signature · 1 line
1.7.10.4
A message that is not in the archive (sent off-list or not yet received): 1385613243-3559-3-git-send-email-l.krishna-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org
Re: [PATCH V11 2/3] watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register
Leela Krishna,
Quoted 10 lines · Leela Krishna Amudala
Add device tree support for exynos5250 and 5420 SoCs and use syscon regmap interface to configure
AUTOMATIC_WDT_RESET_DISABLEandMASK_WDT_RESET_REQUESTregisters of PMU to mask/unmask enable/disable of watchdog in probe and s2r scenarios.Signed-off-by Leela Krishna Amudala <[email protected]>--- .../devicetree/bindings/watchdog/samsung-wdt.txt | 21 ++- drivers/watchdog/Kconfig | 1 + drivers/watchdog/s3c2410_wdt.c | 159 ++++++++++++++++++-- 3 files changed, 171 insertions(+), 10 deletions(-)
Tested on ARM Chromebook in a backport to 3.8. See
<https://chromium-review.googlesource.com/#/c/177932/3> for this patch.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH V11 2/3] watchdog: s3c2410_wdt: use syscon regmap interface to configure pmu register
Leela Krishna,
Quoted 14 lines · Doug Anderson
Leela Krishna,
Quoted 10 lines · Leela Krishna Amudala
Add device tree support for exynos5250 and 5420 SoCs and use syscon regmap interface to configure
AUTOMATIC_WDT_RESET_DISABLEandMASK_WDT_RESET_REQUESTregisters of PMU to mask/unmask enable/disable of watchdog in probe and s2r scenarios.Signed-off-by Leela Krishna Amudala <[email protected]>--- .../devicetree/bindings/watchdog/samsung-wdt.txt | 21 ++- drivers/watchdog/Kconfig | 1 + drivers/watchdog/s3c2410_wdt.c | 159 ++++++++++++++++++-- 3 files changed, 171 insertions(+), 10 deletions(-)
Based on feedback in another patch series, perhaps you can incorporate
<https://patchwork.kernel.org/patch/3290551/> and spin a v12?
-Doug
PATCH v11 3/3 ARM: dts: update watchdog device nodes for Exynos5250 and Exynos5420
In reply to Leela Krishna AmudalaIn Exynos5 series SoCs, PMU has registers to enable/disable mask/unmask watchdog timer which is not the case with s3c series SoCs so, there is a need to have different compatible names for watchdog to handle these pmu registers access.
Hence this patch removes watchdog node from Exynos5.dtsi common file and make it separate by updating existing node in Exynos5250 and adding new node to Exynos5420. This patch also makes the watchdog node enabled by default
--- arch/arm/boot/dts/exynos5.dtsi | 7 ------- arch/arm/boot/dts/exynos5250.dtsi | 6 +++++- arch/arm/boot/dts/exynos5420.dtsi | 9 +++++++++ 3 files changed, 14 insertions(+), 8 deletions(-)
arch/arm/boot/dts/exynos5.dtsi +0 -7
@@ -102,13 +102,6 @@ status = "disabled"; }; - watchdog { - compatible = "samsung,s3c2410-wdt"; - reg = <0x101D0000 0x100>; - interrupts = <0 42 0>; - status = "disabled"; - }; - fimd@14400000 { compatible = "samsung,exynos5250-fimd"; interrupt-parent = <&combiner>;
arch/arm/boot/dts/exynos5250.dtsi +5 -1
@@ -168,9 +168,13 @@ reg = <0x10040000 0x5000>; }; - watchdog { + watchdog@101D0000 { + compatible = "samsung,exynos5250-wdt"; + reg = <0x101D0000 0x100>; + interrupts = <0 42 0>; clocks = <&clock 336>; clock-names = "watchdog"; + samsung,syscon-phandle = <&pmu_syscon>; }; g2d@10850000 {
arch/arm/boot/dts/exynos5420.dtsi +9 -0
@@ -315,4 +315,13 @@ compatible = "samsung,exynos5420-pmu", "syscon"; reg = <0x10040000 0x5000>; }; + + watchdog@101D0000 { + compatible = "samsung,exynos5420-wdt"; + reg = <0x101D0000 0x100>; + interrupts = <0 42 0>; + clocks = <&clock 316>; + clock-names = "watchdog"; + samsung,syscon-phandle = <&pmu_syscon>; + }; };
Signature · 1 line
1.7.10.4