qoriq: add kernel 6.1 support
[openwrt/openwrt.git] / target / linux / ipq806x / patches-5.4 / 084-ipq8064-v1.0-dtsi-cleanup.patch
1 This uses upstream qcom-ipq8064-v1.0.dtsi and modifies it by patches
2 instead of keeping a local version.
3 We drop partitions, LEDs and keys from the file as we will implement
4 them differently anyway.
5
6 --- a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
7 +++ b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
8 @@ -42,16 +42,6 @@
9 #size-cells = <1>;
10 spi-max-frequency = <50000000>;
11 reg = <0>;
12 -
13 - partition@0 {
14 - label = "rootfs";
15 - reg = <0x0 0x1000000>;
16 - };
17 -
18 - partition@1 {
19 - label = "scratch";
20 - reg = <0x1000000 0x1000000>;
21 - };
22 };
23 };
24 };
25 @@ -64,64 +54,5 @@
26 ports-implemented = <0x1>;
27 status = "ok";
28 };
29 -
30 - gpio_keys {
31 - compatible = "gpio-keys";
32 - pinctrl-0 = <&buttons_pins>;
33 - pinctrl-names = "default";
34 -
35 - button@1 {
36 - label = "reset";
37 - linux,code = <KEY_RESTART>;
38 - gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
39 - linux,input-type = <1>;
40 - debounce-interval = <60>;
41 - };
42 - button@2 {
43 - label = "wps";
44 - linux,code = <KEY_WPS_BUTTON>;
45 - gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
46 - linux,input-type = <1>;
47 - debounce-interval = <60>;
48 - };
49 - };
50 -
51 - leds {
52 - compatible = "gpio-leds";
53 - pinctrl-0 = <&leds_pins>;
54 - pinctrl-names = "default";
55 -
56 - led@7 {
57 - label = "led_usb1";
58 - gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
59 - linux,default-trigger = "usbdev";
60 - default-state = "off";
61 - };
62 -
63 - led@8 {
64 - label = "led_usb3";
65 - gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
66 - linux,default-trigger = "usbdev";
67 - default-state = "off";
68 - };
69 -
70 - led@9 {
71 - label = "status_led_fail";
72 - gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
73 - default-state = "off";
74 - };
75 -
76 - led@26 {
77 - label = "sata_led";
78 - gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
79 - default-state = "off";
80 - };
81 -
82 - led@53 {
83 - label = "status_led_pass";
84 - gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
85 - default-state = "off";
86 - };
87 - };
88 };
89 };