Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- spi0: spi@ffda4000 {
- compatible = "snps,dw-apb-ssi";
- #address-cells = <1>;
- #size-cells = <0>;
- reg = <0xffda4000 0x100>;
- interrupt-parent = <&intc>;
- interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
- num-cs = <2>;
- cs-gpios = <&porta 7 GPIO_ACTIVE_HIGH>, <&porta 0 GPIO_ACTIVE_HIGH>;
- bus-num = <0>;
- tx-dma-channel = <&pdma 16>;
- rx-dma-channel = <&pdma 17>;
- clocks = <&spi_m_clk>;
- status = "disabled";
- };
- &spi0 {
- status = "okay";
- m25p10_spi@0 {
- compatible = "m25p10";
- reg = <0>; /* chip select */
- spi-max-frequency = <20000000>;
- /* m25p,fast-read; */
- enable-dma = <0>;
- };
- spidev@0 {
- compatible = "rohm,dh2228fv";
- reg = <0>; /* chip select */
- spi-max-frequency = <20000000>;
- enable-dma = <0>;
- };
- };
Add Comment
Please, Sign In to add comment