uboot-mediatek: update to 2021.04-rc3 with MediaTek's patches
[openwrt/staging/rmilecki.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 @@ -199,7 +236,7 @@
55 status = "okay";
56 bus-width = <8>;
57 max-frequency = <50000000>;
58 - cap-sd-highspeed;
59 + cap-mmc-highspeed;
60 vmmc-supply = <&reg_3p3v>;
61 vqmmc-supply = <&reg_3p3v>;
62 non-removable;
63 @@ -210,7 +247,7 @@
64 pinctrl-0 = <&mmc1_pins_default>;
65 status = "okay";
66 bus-width = <4>;
67 - max-frequency = <50000000>;
68 + max-frequency = <12000000>;
69 cap-sd-highspeed;
70 r_smpl = <1>;
71 vmmc-supply = <&reg_3p3v>;