Raspberry Vanilla IPMT
This commit is contained in:
@@ -0,0 +1,79 @@
|
||||
# 1 "/home/rdkartono/raspberry-vanilla/kernelsu-5.15-10062024/common/arch/arm64/boot/dts/overlays/adafruit-st7735r-overlay.dts"
|
||||
# 1 "<built-in>" 1
|
||||
# 1 "/home/rdkartono/raspberry-vanilla/kernelsu-5.15-10062024/common/arch/arm64/boot/dts/overlays/adafruit-st7735r-overlay.dts" 2
|
||||
# 10 "/home/rdkartono/raspberry-vanilla/kernelsu-5.15-10062024/common/arch/arm64/boot/dts/overlays/adafruit-st7735r-overlay.dts"
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
# 1 "/home/rdkartono/raspberry-vanilla/kernelsu-5.15-10062024/common/scripts/dtc/include-prefixes/dt-bindings/gpio/gpio.h" 1
|
||||
# 14 "/home/rdkartono/raspberry-vanilla/kernelsu-5.15-10062024/common/arch/arm64/boot/dts/overlays/adafruit-st7735r-overlay.dts" 2
|
||||
|
||||
/ {
|
||||
compatible = "brcm,bcm2835";
|
||||
|
||||
fragment@0 {
|
||||
target = <&spidev0>;
|
||||
__overlay__ {
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
|
||||
fragment@1 {
|
||||
target = <&gpio>;
|
||||
__overlay__ {
|
||||
adafruit_pins: adafruit_pins {
|
||||
brcm,pins = <25 24>;
|
||||
brcm,function = <1>;
|
||||
};
|
||||
backlight_pins: backlight_pins {
|
||||
brcm,pins = <18>;
|
||||
brcm,function = <1>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@2 {
|
||||
target-path = "/";
|
||||
__overlay__ {
|
||||
af18_backlight: backlight {
|
||||
compatible = "gpio-backlight";
|
||||
gpios = <&gpio 18 0>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&backlight_pins>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
fragment@3 {
|
||||
target = <&spi0>;
|
||||
__overlay__ {
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
status = "okay";
|
||||
|
||||
af18: adafruit18@0 {
|
||||
compatible = "jianda,jd-t18003-t01";
|
||||
reg = <0>;
|
||||
spi-max-frequency = <32000000>;
|
||||
dc-gpios = <&gpio 24 0>;
|
||||
reset-gpios = <&gpio 25 0>;
|
||||
rotation = <90>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&adafruit_pins>;
|
||||
backlight = <&af18_backlight>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
__overrides__ {
|
||||
128x128 = <&af18>, "compatible=okaya,rh128128t";
|
||||
speed = <&af18>,"spi-max-frequency:0";
|
||||
rotate = <&af18>,"rotation:0";
|
||||
dc_pin = <&af18>,"dc-gpios:4", <&adafruit_pins>,"brcm,pins:4";
|
||||
reset_pin = <&af18>,"reset-gpios:4",
|
||||
<&adafruit_pins>,"brcm,pins:0";
|
||||
led_pin = <&af18_backlight>,"gpios:4",
|
||||
<&backlight_pins>,"brcm,pins:0";
|
||||
};
|
||||
};
|
||||
Reference in New Issue
Block a user