[PATCH v1 10/12] ARM: dts: microchip: sam9x60: Add clock properties to OTPC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This will allow to enable the main RC Oscillator from
nvmem_microchip_otpc driver.

Signed-off-by: Alexander Dahl <ada@xxxxxxxxxxx>
---

Notes:
    This requires some DT bindings update, right?

 arch/arm/boot/dts/microchip/sam9x60.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/microchip/sam9x60.dtsi b/arch/arm/boot/dts/microchip/sam9x60.dtsi
index 2159a6817f44..4f0651b8cb60 100644
--- a/arch/arm/boot/dts/microchip/sam9x60.dtsi
+++ b/arch/arm/boot/dts/microchip/sam9x60.dtsi
@@ -162,6 +162,8 @@ otpc: efuse@eff00000 {
 			reg = <0xeff00000 0xec>;
 			#address-cells = <1>;
 			#size-cells = <1>;
+			clocks = <&pmc PMC_TYPE_CORE 11>;
+			clock-names = "main_rc_osc";
 		};
 
 		apb {
-- 
2.39.2





[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux