[linux-riscv][J][PATCH 03/17] Revert "SiFive HiFive Unleashed: Add PWM LEDs (D1, D2, D3, D4)"

Dimitri John Ledkov dimitri.ledkov at canonical.com
Fri Feb 25 20:32:47 UTC 2022


This reverts commit 4428c69cf6f4c4739b3a56f9ba81023cf2dab604. To allow
clean cherry-pick of upstream unleashed dtb cleanup. This patch will
then be subsequently reapplied.

Signed-off-by: Dimitri John Ledkov <dimitri.ledkov at canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1960420
---
 .../boot/dts/sifive/hifive-unleashed-a00.dts  | 32 -------------------
 1 file changed, 32 deletions(-)

diff --git a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
index b5c5df6343..48bf457dde 100644
--- a/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
+++ b/arch/riscv/boot/dts/sifive/hifive-unleashed-a00.dts
@@ -3,7 +3,6 @@
 
 #include "fu540-c000.dtsi"
 #include <dt-bindings/gpio/gpio.h>
-#include <dt-bindings/pwm/pwm.h>
 
 /* Clock frequency (in Hz) of the PCB crystal for rtcclk */
 #define RTCCLK_FREQ		1000000
@@ -29,37 +28,6 @@ memory at 80000000 {
 	};
 
 	soc {
-		pwmleds {
-			compatible = "pwm-leds";
-			d1 {
-				label = "green:d1";
-				pwms = <&pwm0 0 7812500 PWM_POLARITY_INVERTED>;
-				active-low = <1>;
-				max-brightness = <255>;
-				linux,default-trigger = "none";
-			};
-			d2 {
-				label = "green:d2";
-				pwms = <&pwm0 1 7812500 PWM_POLARITY_INVERTED>;
-				active-low = <1>;
-				max-brightness = <255>;
-				linux,default-trigger = "none";
-			};
-			d3 {
-				label = "green:d3";
-				pwms = <&pwm0 2 7812500 PWM_POLARITY_INVERTED>;
-				active-low = <1>;
-				max-brightness = <255>;
-				linux,default-trigger = "none";
-			};
-			d4 {
-				label = "green:d4";
-				pwms = <&pwm0 3 7812500 PWM_POLARITY_INVERTED>;
-				active-low = <1>;
-				max-brightness = <255>;
-				linux,default-trigger = "none";
-			};
-		};
 	};
 
 	hfclk: hfclk {
-- 
2.32.0




More information about the kernel-team mailing list