]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
arm: kirkwood: readynas duo v2: Add GMT G762 Fan Controller
authorArnaud Ebalard <arno@natisbad.org>
Mon, 1 Jul 2013 20:45:02 +0000 (22:45 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 25 Jul 2013 16:23:48 +0000 (16:23 +0000)
Now that GMT G762 PWM Fan Controller is available upstream, let's add
missing bindings in Netgear ReadyNAS Duo v2 .dts file.

Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood-netgear_readynas_duo_v2.dts

index ad6ade7d91912fb146adee2b929984ac3790e3ef..cc43d247b1b5bfab20a29e5c42bd973760f766bd 100644 (file)
                        };
                };
 
+               clocks {
+                      #address-cells = <1>;
+                      #size-cells = <0>;
+
+                      g762_clk: fixedclk {
+                                compatible = "fixed-clock";
+                                #clock-cells = <0>;
+                                clock-frequency = <8192>;
+                      };
+               };
+
                i2c@11000 {
                        status = "okay";
 
                                compatible = "ricoh,rs5c372a";
                                reg = <0x32>;
                        };
+
+                       g762: g762@3e {
+                               compatible = "gmt,g762";
+                               reg = <0x3e>;
+                               clocks = <&g762_clk>; /* input clock */
+                               fan_gear_mode = <0>;
+                               fan_startv = <1>;
+                               pwm_polarity = <0>;
+                       };
                };
 
                serial@12000 {