2021-02-27 15:14:02 +00:00
|
|
|
--- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
|
|
|
+++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
|
2021-03-05 19:07:54 +00:00
|
|
|
@@ -20,6 +20,7 @@
|
|
|
|
|
|
|
|
aliases {
|
|
|
|
spi0 = &snfi;
|
|
|
|
+ ethernet0 = ð
|
|
|
|
};
|
|
|
|
|
|
|
|
memory@40000000 {
|
2021-02-20 13:04:38 +00:00
|
|
|
@@ -27,6 +28,42 @@
|
2021-02-27 15:14:02 +00:00
|
|
|
reg = <0x40000000 0x40000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
+ gpio-keys {
|
|
|
|
+ compatible = "gpio-keys";
|
|
|
|
+
|
|
|
|
+ reset {
|
|
|
|
+ label = "reset";
|
|
|
|
+ gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ wps {
|
|
|
|
+ label = "wps";
|
|
|
|
+ gpios = <&gpio 102 GPIO_ACTIVE_LOW>;
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ leds {
|
|
|
|
+ compatible = "gpio-leds";
|
|
|
|
+/*
|
|
|
|
+ * red {
|
|
|
|
+ * label = "bpi-r64:pio:red";
|
|
|
|
+ * gpios = <&gpio 88 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ * default-state = "off";
|
|
|
|
+ * };
|
|
|
|
+ */
|
|
|
|
+ green {
|
|
|
|
+ label = "bpi-r64:pio:green";
|
|
|
|
+ gpios = <&gpio 89 GPIO_ACTIVE_HIGH>;
|
|
|
|
+ default-state = "off";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ blue {
|
|
|
|
+ label = "bpi-r64:pio:blue";
|
|
|
|
+ gpios = <&gpio 85 GPIO_ACTIVE_LOW>;
|
|
|
|
+ default-state = "off";
|
|
|
|
+ };
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
reg_1p8v: regulator-1p8v {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "fixed-1.8V";
|
2021-02-20 13:04:38 +00:00
|
|
|
@@ -199,7 +236,7 @@
|
2021-02-27 15:14:02 +00:00
|
|
|
status = "okay";
|
|
|
|
bus-width = <8>;
|
|
|
|
max-frequency = <50000000>;
|
|
|
|
- cap-sd-highspeed;
|
|
|
|
+ cap-mmc-highspeed;
|
|
|
|
vmmc-supply = <®_3p3v>;
|
|
|
|
vqmmc-supply = <®_3p3v>;
|
|
|
|
non-removable;
|
2021-02-20 13:04:38 +00:00
|
|
|
@@ -210,7 +247,7 @@
|
|
|
|
pinctrl-0 = <&mmc1_pins_default>;
|
2021-02-27 15:14:02 +00:00
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
|
|
|
- max-frequency = <50000000>;
|
2021-02-20 13:04:38 +00:00
|
|
|
+ max-frequency = <12000000>;
|
2021-02-27 15:14:02 +00:00
|
|
|
cap-sd-highspeed;
|
|
|
|
r_smpl = <1>;
|
|
|
|
vmmc-supply = <®_3p3v>;
|