> > I believe this because the kernel never scanned the DMA entries in the device > tree. This is why I said you need of_platform_bus_probe() with the compatible > field of the parent of the DMA controller node. Send me your device tree. >
/////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////// /// /// /////////////////////////////////////////////////////////////////////////////// / { model = "MPC8349EMITX"; compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; #address-cells = <1>; #size-cells = <1>; cpus { #cpus = <1>; #address-cells = <1>; #size-cells = <0>; PowerPC,[EMAIL PROTECTED] { device_type = "cpu"; reg = <0>; d-cache-line-size = <20>; i-cache-line-size = <20>; d-cache-size = <8000>; i-cache-size = <8000>; timebase-frequency = <0>; // from bootloader bus-frequency = <0>; // from bootloader clock-frequency = <0>; // from bootloader 32-bit; }; }; memory { device_type = "memory"; reg = <00000000 20000000>; }; [EMAIL PROTECTED] { #address-cells = <2>; #size-cells = <1>; compatible = "fsl,pq2pro-localbus"; reg = <e0005000 d8>; ranges = <0 0 ff000000 01000000>; [EMAIL PROTECTED],0 { #address-cells = <1>; #size-cells = <1>; compatible = "amd,s29g128n", "cfi-flash"; reg = <0 0 01000000>; bank-width = <2>; [EMAIL PROTECTED] { reg = <0 20000>; read-only; }; [EMAIL PROTECTED] { reg = <20000 a0000>; read-only; }; [EMAIL PROTECTED] { reg = <c0000 180000>; }; [EMAIL PROTECTED] { reg = <f00000 40000>; }; [EMAIL PROTECTED] { reg = <f40000 20000>; }; [EMAIL PROTECTED] { reg = <f60000 20000>; }; [EMAIL PROTECTED] { reg = <fe0000 20000>; }; }; }; [EMAIL PROTECTED] { #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "soc"; ranges = <0 e0000000 00100000>; reg = <e0000000 00000200>; bus-frequency = <0>; // from bootloader [EMAIL PROTECTED] { device_type = "watchdog"; compatible = "mpc83xx_wdt"; reg = <200 100>; }; [EMAIL PROTECTED] { device_type = "i2c"; compatible = "fsl-i2c"; reg = <3000 100>; interrupts = <e 8>; interrupt-parent = < &ipic >; dfsrr; [EMAIL PROTECTED] { #address-cells = <1>; #size-cells = <0>; device_type = "rtc"; compatible = "stm,m41t00"; reg = <68 8>; }; }; [EMAIL PROTECTED] { device_type = "i2c"; compatible = "fsl-i2c"; reg = <3100 100>; interrupts = <f 8>; interrupt-parent = < &ipic >; dfsrr; }; [EMAIL PROTECTED] { device_type = "spi"; compatible = "mpc83xx_spi"; reg = <7000 1000>; interrupts = <10 8>; interrupt-parent = < &ipic >; mode = <0>; }; [EMAIL PROTECTED] { #address-cells = <1>; #size-cells = <1>; compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; reg = <82a8 4>; ranges = <0 8100 1a8>; interrupt-parent = <&ipic>; interrupts = <71 8>; cell-index = <0>; [EMAIL PROTECTED] { compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; reg = <0 80>; cell-index = <0>; interrupt-parent = <&ipic>; interrupts = <71 8>; }; [EMAIL PROTECTED] { compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; reg = <80 80>; cell-index = <1>; interrupt-parent = <&ipic>; interrupts = <71 8>; }; [EMAIL PROTECTED] { compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; reg = <100 80>; cell-index = <2>; interrupt-parent = <&ipic>; interrupts = <71 8>; }; [EMAIL PROTECTED] { compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; reg = <180 28>; cell-index = <3>; interrupt-parent = <&ipic>; interrupts = <71 8>; }; }; [EMAIL PROTECTED] { device_type = "usb"; compatible = "fsl-usb2-mph"; reg = <22000 1000>; #address-cells = <1>; #size-cells = <0>; interrupt-parent = < &ipic >; interrupts = <27 8>; phy_type = "ulpi"; // port0; // These are backwards in their meaning because MPC834X_SICRL_USB0 port1; // and USB1 are wrongly defined in arch/powerpc/platforms/83xx/mpc83xx.h }; [EMAIL PROTECTED] { device_type = "usb"; compatible = "fsl-usb2-dr"; dr_mode = "peripheral"; reg = <23000 1000>; #address-cells = <1>; #size-cells = <0>; interrupt-parent = < &ipic >; interrupts = <26 8>; phy_type = "ulpi"; }; [EMAIL PROTECTED] { device_type = "mdio"; compatible = "fsl,gianfar-mdio"; reg = <24520 20>; #address-cells = <1>; #size-cells = <0>; /* Vitesse 8201 */ phy0: [EMAIL PROTECTED] { interrupt-parent = < &ipic >; interrupts = <12 8>; reg = <0>; device_type = "ethernet-phy"; }; /* Vitesse 7385 */ phy1: [EMAIL PROTECTED] { interrupt-parent = < &ipic >; interrupts = <12 8>; reg = <1>; device_type = "ethernet-phy"; }; }; [EMAIL PROTECTED] { device_type = "network"; model = "TSEC"; compatible = "gianfar"; reg = <24000 1000>; address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ]; interrupts = <20 8 21 8 22 8>; interrupt-parent = < &ipic >; phy-handle = < &phy0 >; }; [EMAIL PROTECTED] { #address-cells = <1>; #size-cells = <0>; device_type = "network"; model = "TSEC"; compatible = "gianfar"; reg = <25000 1000>; address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ]; interrupts = <23 8 24 8 25 8>; interrupt-parent = < &ipic >; phy-handle = < &phy1 >; }; [EMAIL PROTECTED] { device_type = "serial"; compatible = "ns16550"; reg = <4500 100>; clock-frequency = <0>; // from bootloader interrupts = <9 8>; interrupt-parent = < &ipic >; }; [EMAIL PROTECTED] { device_type = "serial"; compatible = "ns16550"; reg = <4600 100>; clock-frequency = <0>; // from bootloader interrupts = <a 8>; interrupt-parent = < &ipic >; }; [EMAIL PROTECTED] { interrupt-map-mask = <f800 0 0 7>; interrupt-map = < // IDSEL 0x12 - FPGA 9000 0 0 1 &ipic 15 8 // INTA - UARTS 9000 0 0 2 &ipic 16 8 // INTB - IRIG // IDSEL 0x13 - PCI Enet 9800 0 0 1 &ipic 14 8 // INTA // IDSEL 0x14 - PCI104 Slot 1 a000 0 0 1 &ipic 12 8 // INTA a000 0 0 2 &ipic 13 8 // INTB a000 0 0 3 &ipic 15 8 // INTC a000 0 0 4 &ipic 16 8 // INTD // IDSEL 0x15 - PCI104 Slot 2 a800 0 0 1 &ipic 13 8 // INTA a800 0 0 2 &ipic 15 8 // INTB a800 0 0 3 &ipic 16 8 // INTC a800 0 0 4 &ipic 12 8 // INTD // IDSEL 0x16 - PCI104 Slot 3 b000 0 0 1 &ipic 15 8 // INTA b000 0 0 2 &ipic 16 8 // INTB b000 0 0 3 &ipic 12 8 // INTC b000 0 0 4 &ipic 13 8 // INTD >; interrupt-parent = < &ipic >; interrupts = <42 8>; bus-range = <0 0>; ranges = <42000000 0 80000000 80000000 0 10000000 02000000 0 90000000 90000000 0 08000000 01000000 0 98000000 98000000 0 08000000>; clock-frequency = <1f78a40>; #interrupt-cells = <1>; #size-cells = <2>; #address-cells = <3>; reg = <8500 100>; // compatible = "83xx"; compatible = "fsl,mpc8349-pci"; device_type = "pci"; }; [EMAIL PROTECTED] { device_type = "crypto"; model = "SEC2"; compatible = "talitos"; reg = <30000 10000>; interrupts = <b 8>; interrupt-parent = < &ipic >; num-channels = <4>; channel-fifo-len = <18>; exec-units-mask = <0000007e>; descriptor-types-mask = <01010ebf>; }; ipic: [EMAIL PROTECTED] { interrupt-controller; #address-cells = <0>; #interrupt-cells = <2>; reg = <700 100>; built-in; device_type = "ipic"; }; }; }; _______________________________________________ Linuxppc-embedded mailing list Linuxppc-embedded@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-embedded