Skip to content

Commit

Permalink
dts64: update bananapi-bpi-r64 device-tree
Browse files Browse the repository at this point in the history
  • Loading branch information
dangowrt authored and frank-w committed Aug 3, 2023
1 parent 05c663c commit 1035768
Showing 1 changed file with 39 additions and 2 deletions.
41 changes: 39 additions & 2 deletions arch/arm/dts/mt7622-bananapi-bpi-r64.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,50 @@

aliases {
spi0 = &snfi;
ethernet0 = ð
};

memory@40000000 {
device_type = "memory";
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";
Expand Down Expand Up @@ -197,7 +234,7 @@
status = "okay";
bus-width = <8>;
max-frequency = <50000000>;
cap-sd-highspeed;
cap-mmc-highspeed;
vmmc-supply = <&reg_3p3v>;
vqmmc-supply = <&reg_3p3v>;
non-removable;
Expand All @@ -208,7 +245,7 @@
pinctrl-0 = <&mmc1_pins_default>;
status = "okay";
bus-width = <4>;
max-frequency = <50000000>;
max-frequency = <12000000>;
cap-sd-highspeed;
r_smpl = <1>;
vmmc-supply = <&reg_3p3v>;
Expand Down

0 comments on commit 1035768

Please sign in to comment.