Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 620f5033 authored by Alexandre Belloni's avatar Alexandre Belloni
Browse files

ARM: at91/dt: use syscon for PMC



The PMC is not only used to drive the clocks but also has some registers
related to other functions. One of those is for example the USB gadget
bias.
Using a syscon allows to properly separate those functions.

Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@free-electrons.com>
parent a9b672a6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -97,7 +97,7 @@
			};

			pmc: pmc@fffffc00 {
				compatible = "atmel,at91rm9200-pmc";
				compatible = "atmel,at91rm9200-pmc", "syscon";
				reg = <0xfffffc00 0x100>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupt-controller;
+1 −1
Original line number Diff line number Diff line
@@ -100,7 +100,7 @@
			};

			pmc: pmc@fffffc00 {
				compatible = "atmel,at91sam9260-pmc";
				compatible = "atmel,at91sam9260-pmc", "syscon";
				reg = <0xfffffc00 0x100>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupt-controller;
+1 −1
Original line number Diff line number Diff line
@@ -568,7 +568,7 @@
			};

			pmc: pmc@fffffc00 {
				compatible = "atmel,at91rm9200-pmc";
				compatible = "atmel,at91rm9200-pmc", "syscon";
				reg = <0xfffffc00 0x100>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupt-controller;
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@
			};

			pmc: pmc@fffffc00 {
				compatible = "atmel,at91rm9200-pmc";
				compatible = "atmel,at91rm9200-pmc", "syscon";
				reg = <0xfffffc00 0x100>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupt-controller;
+1 −1
Original line number Diff line number Diff line
@@ -114,7 +114,7 @@
			};

			pmc: pmc@fffffc00 {
				compatible = "atmel,at91sam9g45-pmc";
				compatible = "atmel,at91sam9g45-pmc", "syscon";
				reg = <0xfffffc00 0x100>;
				interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
				interrupt-controller;
Loading