ARM: dts: am335x: Add the charger interrupt
This enables the charger driver gets corresponding IRQ number by using platform_get_irq_byname() helper. Signed-off-by: Milo Kim <woogyom.kim@gmail.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
This commit is contained in:
parent
98af595804
commit
1934e89a76
@ -6,6 +6,8 @@
|
|||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/mfd/tps65217.h>
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
cpus {
|
cpus {
|
||||||
cpu@0 {
|
cpu@0 {
|
||||||
@ -316,6 +318,12 @@
|
|||||||
|
|
||||||
ti,pmic-shutdown-controller;
|
ti,pmic-shutdown-controller;
|
||||||
|
|
||||||
|
charger {
|
||||||
|
interrupts = <TPS65217_IRQ_AC>, <TPS65217_IRQ_USB>;
|
||||||
|
interrupts-names = "AC", "USB";
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
||||||
regulators {
|
regulators {
|
||||||
dcdc1_reg: regulator@0 {
|
dcdc1_reg: regulator@0 {
|
||||||
regulator-name = "vdds_dpr";
|
regulator-name = "vdds_dpr";
|
||||||
|
Loading…
Reference in New Issue
Block a user