aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/patches-5.10/110-pogo_e02.patch
diff options
context:
space:
mode:
authorSungbo Eo <mans0n@gorani.run>2021-02-17 21:17:03 +0900
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2021-02-24 02:53:53 +0100
commite464d365fe66bd6b5b238a18b32650a8b1d1ef63 (patch)
tree58cefcef426c76d5a580d9c9c95dd65890703818 /target/linux/kirkwood/patches-5.10/110-pogo_e02.patch
parent8d766aa669702f8291a95f985a0b4dd16b1cca2d (diff)
downloadupstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.tar.gz
upstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.tar.bz2
upstream-e464d365fe66bd6b5b238a18b32650a8b1d1ef63.zip
kirkwood: copy files to kernel 5.10
Copy config and patches to kernel 5.10. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/kirkwood/patches-5.10/110-pogo_e02.patch')
-rw-r--r--target/linux/kirkwood/patches-5.10/110-pogo_e02.patch68
1 files changed, 68 insertions, 0 deletions
diff --git a/target/linux/kirkwood/patches-5.10/110-pogo_e02.patch b/target/linux/kirkwood/patches-5.10/110-pogo_e02.patch
new file mode 100644
index 0000000000..fc384d3521
--- /dev/null
+++ b/target/linux/kirkwood/patches-5.10/110-pogo_e02.patch
@@ -0,0 +1,68 @@
+--- a/arch/arm/boot/dts/kirkwood-pogo_e02.dts
++++ b/arch/arm/boot/dts/kirkwood-pogo_e02.dts
+@@ -20,6 +20,13 @@
+ compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281",
+ "marvell,kirkwood";
+
++ aliases {
++ led-boot = &led_health;
++ led-failsafe = &led_fault;
++ led-running = &led_health;
++ led-upgrade = &led_fault;
++ };
++
+ memory {
+ device_type = "memory";
+ reg = <0x00000000 0x10000000>;
+@@ -33,12 +40,12 @@
+ gpio-leds {
+ compatible = "gpio-leds";
+
+- health {
++ led_health: health {
+ label = "pogo_e02:green:health";
+ gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
+- default-state = "keep";
++ default-state = "on";
+ };
+- fault {
++ led_fault: fault {
+ label = "pogo_e02:orange:fault";
+ gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
+ };
+@@ -95,24 +102,24 @@
+ status = "okay";
+
+ partition@0 {
+- label = "u-boot";
+- reg = <0x0000000 0x100000>;
++ label = "uboot";
++ reg = <0x0 0xe0000>;
+ read-only;
+ };
+
+- partition@100000 {
+- label = "uImage";
+- reg = <0x0100000 0x400000>;
++ partition@e0000 {
++ label = "uboot_env";
++ reg = <0xe0000 0x20000>;
+ };
+
+- partition@500000 {
+- label = "pogoplug";
+- reg = <0x0500000 0x2000000>;
++ partition@100000 {
++ label = "second_stage_uboot";
++ reg = <0x100000 0x100000>;
+ };
+
+- partition@2500000 {
+- label = "root";
+- reg = <0x02500000 0x5b00000>;
++ partition@200000 {
++ label = "ubi";
++ reg = <0x200000 0x7e00000>;
+ };
+ };
+