mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
kernel: update to 3.14.37
This commit is contained in:
@@ -1,49 +0,0 @@
|
||||
From 7f558e6e8abee42cc966e2cb64be0de875797e07 Mon Sep 17 00:00:00 2001
|
||||
From: Arne Fitzenreiter <arne_f@ipfire.org>
|
||||
Date: Fri, 20 Feb 2015 10:01:26 +0100
|
||||
Subject: [PATCH] sun7i: dts: lamobo-r1: fix sata pwr regulator pin.
|
||||
|
||||
Lamobo-R1 use PB3 instead of PB8 for controlling the SATA power regulator.
|
||||
---
|
||||
arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 18 ++++++++++++++++++
|
||||
1 file changed, 18 insertions(+)
|
||||
|
||||
diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
|
||||
index 1eb6c9b..d634d2f 100644
|
||||
--- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
|
||||
+++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts
|
||||
@@ -166,6 +166,16 @@
|
||||
reg = <1>;
|
||||
};
|
||||
};
|
||||
+
|
||||
+ pio: pinctrl@01c20800 {
|
||||
+ ahci_pwr_pin_a: ahci_pwr_pin@0 {
|
||||
+ allwinner,pins = "PB3";
|
||||
+ allwinner,function = "gpio_out";
|
||||
+ allwinner,drive = <0>;
|
||||
+ allwinner,pull = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
};
|
||||
|
||||
leds {
|
||||
@@ -181,6 +191,14 @@
|
||||
};
|
||||
|
||||
reg_ahci_5v: ahci-5v {
|
||||
+ compatible = "regulator-fixed";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&ahci_pwr_pin_a>;
|
||||
+ regulator-name = "ahci-5v";
|
||||
+ regulator-min-microvolt = <5000000>;
|
||||
+ regulator-max-microvolt = <5000000>;
|
||||
+ enable-active-high;
|
||||
+ gpio = <&pio 1 3 0>;
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
--
|
||||
1.8.5.2
|
||||
|
||||
Reference in New Issue
Block a user