Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for lirc_odroid blaster, SPI flash and petitboot #2

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 5 additions & 33 deletions arch/arm64/boot/dts/rockchip/rk3399-odroidn1-linux.dts
Original file line number Diff line number Diff line change
Expand Up @@ -986,40 +986,12 @@

&spi1 {
status = "okay";
flash: w25q128@0 {
compatible = "winbond,w25q128";
reg = <0>;
spi-max-frequency = <16000000>;
};

// It is not recommended that the normal communication byte
// be less than 32 bytes when DMA mode is enabled.

// dmas = <&dmac_peri 12>, <&dmac_peri 13>;
// dma-names = "tx", "rx";

cs-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>, <&gpio1 22 GPIO_ACTIVE_LOW>;
max-freq = <48000000>;

spidev: spidev@0 {
reg = <0>;
compatible = "linux,spidev";
spi-max-frequency = <1000000>;
};

ads7846: ads7846@1 {
reg = <1>;
compatible = "ti,ads7846";
interrupt-parent = <&gpio1>;
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
spi-max-frequency = <1000000>;
pendown-gpio = <&gpio1 1 GPIO_ACTIVE_LOW>;
vcc-supply = <&vcc3v0_tp>;
ti,swap-xy = <1>;
ti,x-min = /bits/ 16 <0>;
ti,x-max = /bits/ 16 <8000>;
ti,y-min = /bits/ 16 <0>;
ti,y-max = /bits/ 16 <4800>;
ti,x-plate-ohms = /bits/ 16 <40>;
ti,pressure-max = /bits/ 16 <255>;

linux,wakeup;
};
};

&usbdrd3_0 {
Expand Down
Loading