diff --git a/patch/kernel/sun50iw2-dev/add_nanopineo2.patch b/patch/kernel/sun50iw2-dev/add_nanopineo2.patch index 256f6b23c4..54344891f7 100644 --- a/patch/kernel/sun50iw2-dev/add_nanopineo2.patch +++ b/patch/kernel/sun50iw2-dev/add_nanopineo2.patch @@ -13,7 +13,7 @@ new file mode 100644 index 0000000..4fc6ffd --- /dev/null +++ b/arch/arm64/boot/dts/allwinner/sun50i-h5-nanopi2.dts -@@ -0,0 +1,192 @@ +@@ -0,0 +1,178 @@ +/* + * Copyright (C) 2016 ARM Ltd. + * @@ -97,26 +97,18 @@ index 0000000..4fc6ffd + compatible = "gpio-leds"; + + pwr_led { -+ label = "orangepi:green:pwr"; ++ label = "nanopi:green:pwr"; + gpios = <&r_pio 0 10 GPIO_ACTIVE_HIGH>; + default-state = "on"; + }; + + status_led { -+ label = "orangepi:red:status"; -+ gpios = <&pio 0 20 GPIO_ACTIVE_HIGH>; ++ label = "nanopi:blue:status"; ++ gpios = <&pio 0 10 GPIO_ACTIVE_HIGH>; ++ linux,default-trigger = "heartbeat"; + }; + }; + -+ r_gpio_keys { -+ compatible = "gpio-keys"; -+ -+ sw4 { -+ label = "sw4"; -+ linux,code = ; -+ gpios = <&r_pio 0 3 GPIO_ACTIVE_LOW>; -+ }; -+ }; +}; + +&codec { @@ -139,12 +131,6 @@ index 0000000..4fc6ffd + status = "okay"; +}; + -+&ir { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&ir_pins_a>; -+ status = "okay"; -+}; -+ +&mmc0 { + pinctrl-names = "default"; + pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin>;