|
|
@@ -1,18 +1,6 @@
|
|
|
+// SPDX-License-Identifier: ISC
|
|
|
/* Copyright (c) 2015, The Linux Foundation. All rights reserved.
|
|
|
* Copyright (c) 2017-2018, Sven Eckelmann <[email protected]>
|
|
|
- *
|
|
|
- * Permission to use, copy, modify, and/or distribute this software for any
|
|
|
- * purpose with or without fee is hereby granted, provided that the above
|
|
|
- * copyright notice and this permission notice appear in all copies.
|
|
|
- *
|
|
|
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
|
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
|
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
|
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
|
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
|
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
|
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
- *
|
|
|
*/
|
|
|
|
|
|
#include "qcom-ipq4019.dtsi"
|
|
|
@@ -98,30 +86,28 @@
|
|
|
};
|
|
|
|
|
|
aliases {
|
|
|
- led-boot = &power;
|
|
|
- led-failsafe = &power;
|
|
|
- led-running = &power;
|
|
|
- led-upgrade = &power;
|
|
|
+ led-boot = &led_status_green;
|
|
|
+ led-failsafe = &led_status_green;
|
|
|
+ led-running = &led_status_green;
|
|
|
+ led-upgrade = &led_status_green;
|
|
|
};
|
|
|
|
|
|
leds {
|
|
|
compatible = "gpio-leds";
|
|
|
|
|
|
- red {
|
|
|
+ status_red {
|
|
|
label = "red:status";
|
|
|
gpios = <&tlmm 43 GPIO_ACTIVE_HIGH>;
|
|
|
- linux,default-trigger = "default-off";
|
|
|
};
|
|
|
|
|
|
- power: green {
|
|
|
+ led_status_green: status_green {
|
|
|
label = "green:status";
|
|
|
gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
|
|
|
- blue {
|
|
|
+ status_blue {
|
|
|
label = "blue:status";
|
|
|
gpios = <&tlmm 46 GPIO_ACTIVE_HIGH>;
|
|
|
- linux,default-trigger = "default-off";
|
|
|
};
|
|
|
};
|
|
|
|
|
|
@@ -178,7 +164,7 @@
|
|
|
status = "okay";
|
|
|
cs-gpios = <&tlmm 12 GPIO_ACTIVE_HIGH>;
|
|
|
|
|
|
- m25p80@0 {
|
|
|
+ flash@0 {
|
|
|
#address-cells = <1>;
|
|
|
#size-cells = <1>;
|
|
|
compatible = "jedec,spi-nor";
|