Advertisement
milanmetal

DeviceTree / .hdf ima DMA, podigao Kernel

Aug 1st, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.74 KB | None | 0 0
  1.  
  2.  
  3. /include/ "system-top.dts"
  4. /include/ "pl.dtsi"
  5. / {
  6.     chosen {
  7.         bootargs = "console=ttyPS0,115200n8 consoleblank=0 root=/dev/mmcblk0p2 rw rootwait earlyprintk uio_pdrv_genirq.of_id=generic-uio mem=256M";
  8.         linux,stdout-path = "&uart1";
  9.     };
  10. };
  11.  
  12. / {
  13.     scratch_mem@10000000 {
  14.         #address-cells = <1>;
  15.         #size-cells = <1>;
  16.         reg = <0x10000000 0x10000000>;
  17.         compatible = "generic-uio";
  18.         interrupts = < 0 58 0 >;
  19.         interrupt-parent = <0x1>;
  20.     };
  21.    
  22.     amba_pl: amba_pl {
  23.         ranges;
  24.         #size-cells = <0x1>;
  25.         #address-cells = <0x1>;
  26.         compatible = "simple-bus";
  27.        
  28.         dma@40400000 {
  29.             #dma-cells = <1>;
  30.             compatible = "generic-uio";
  31.             interrupt-parent = <0x1>;
  32.             interrupts = <0 29 4 0 30 4>;
  33.             reg = <0x40400000 0x10000>;
  34.         };
  35.     };
  36. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement