084-ipq8064-v1.0-dtsi-cleanup.patch 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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. --- a/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
  6. +++ b/arch/arm/boot/dts/qcom-ipq8064-v1.0.dtsi
  7. @@ -42,16 +42,6 @@
  8. #size-cells = <1>;
  9. spi-max-frequency = <50000000>;
  10. reg = <0>;
  11. -
  12. - partition@0 {
  13. - label = "rootfs";
  14. - reg = <0x0 0x1000000>;
  15. - };
  16. -
  17. - partition@1 {
  18. - label = "scratch";
  19. - reg = <0x1000000 0x1000000>;
  20. - };
  21. };
  22. };
  23. };
  24. @@ -64,64 +54,5 @@
  25. ports-implemented = <0x1>;
  26. status = "okay";
  27. };
  28. -
  29. - gpio_keys {
  30. - compatible = "gpio-keys";
  31. - pinctrl-0 = <&buttons_pins>;
  32. - pinctrl-names = "default";
  33. -
  34. - button@1 {
  35. - label = "reset";
  36. - linux,code = <KEY_RESTART>;
  37. - gpios = <&qcom_pinmux 54 GPIO_ACTIVE_LOW>;
  38. - linux,input-type = <1>;
  39. - debounce-interval = <60>;
  40. - };
  41. - button@2 {
  42. - label = "wps";
  43. - linux,code = <KEY_WPS_BUTTON>;
  44. - gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
  45. - linux,input-type = <1>;
  46. - debounce-interval = <60>;
  47. - };
  48. - };
  49. -
  50. - leds {
  51. - compatible = "gpio-leds";
  52. - pinctrl-0 = <&leds_pins>;
  53. - pinctrl-names = "default";
  54. -
  55. - led@7 {
  56. - label = "led_usb1";
  57. - gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
  58. - linux,default-trigger = "usbdev";
  59. - default-state = "off";
  60. - };
  61. -
  62. - led@8 {
  63. - label = "led_usb3";
  64. - gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
  65. - linux,default-trigger = "usbdev";
  66. - default-state = "off";
  67. - };
  68. -
  69. - led@9 {
  70. - label = "status_led_fail";
  71. - gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
  72. - default-state = "off";
  73. - };
  74. -
  75. - led@26 {
  76. - label = "sata_led";
  77. - gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>;
  78. - default-state = "off";
  79. - };
  80. -
  81. - led@53 {
  82. - label = "status_led_pass";
  83. - gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
  84. - default-state = "off";
  85. - };
  86. - };
  87. };
  88. };