ca8f371d61d7266a76782bc910a40e4ceb207683
[openwrt/staging/dedeckeh.git] / package / boot / uboot-mediatek / patches / 402-update-bananapi-bpi-r64-device-tree.patch
1 --- a/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
2 +++ b/arch/arm/dts/mt7622-bananapi-bpi-r64.dts
3 @@ -20,6 +20,7 @@
4
5 aliases {
6 spi0 = &snfi;
7 + ethernet0 = ð
8 };
9
10 memory@40000000 {
11 @@ -27,6 +28,42 @@
12 reg = <0x40000000 0x40000000>;
13 };
14
15 + gpio-keys {
16 + compatible = "gpio-keys";
17 +
18 + reset {
19 + label = "reset";
20 + gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
21 + };
22 +
23 + wps {
24 + label = "wps";
25 + gpios = <&gpio 102 GPIO_ACTIVE_LOW>;
26 + };
27 + };
28 +
29 + leds {
30 + compatible = "gpio-leds";
31 +/*
32 + * red {
33 + * label = "bpi-r64:pio:red";
34 + * gpios = <&gpio 88 GPIO_ACTIVE_HIGH>;
35 + * default-state = "off";
36 + * };
37 + */
38 + green {
39 + label = "bpi-r64:pio:green";
40 + gpios = <&gpio 89 GPIO_ACTIVE_HIGH>;
41 + default-state = "off";
42 + };
43 +
44 + blue {
45 + label = "bpi-r64:pio:blue";
46 + gpios = <&gpio 85 GPIO_ACTIVE_LOW>;
47 + default-state = "off";
48 + };
49 + };
50 +
51 reg_1p8v: regulator-1p8v {
52 compatible = "regulator-fixed";
53 regulator-name = "fixed-1.8V";
54 @@ -182,6 +219,7 @@
55 };
56
57 &uart0 {
58 + mediatek,force-highspeed;
59 status = "okay";
60 };
61
62 @@ -197,7 +235,7 @@
63 status = "okay";
64 bus-width = <8>;
65 max-frequency = <50000000>;
66 - cap-sd-highspeed;
67 + cap-mmc-highspeed;
68 vmmc-supply = <&reg_3p3v>;
69 vqmmc-supply = <&reg_3p3v>;
70 non-removable;
71 @@ -208,7 +246,7 @@
72 pinctrl-0 = <&mmc1_pins_default>;
73 status = "okay";
74 bus-width = <4>;
75 - max-frequency = <50000000>;
76 + max-frequency = <12000000>;
77 cap-sd-highspeed;
78 r_smpl = <1>;
79 vmmc-supply = <&reg_3p3v>;