Commit c0fb21f8 authored by Mathew McBride's avatar Mathew McBride
Browse files

dpaa2: update 'all' DPL with settings to allow interrupt distribution

Per advice from NXP, use only one traffic class (since QoS not used),
and use 56 flow steering entries per DPNI.

This is equivalent to:
ls-addni -nq=8 -t=1 -f=56 dpmac.X
parent 0c786699
......@@ -2,11 +2,6 @@
* This will set up all Ethernet ports in Linux as:
* GE0->GE7: eth0->eth7
* XG0->XG1: eth8->eth9
* Due to resource limitations in the LS1088 MC this
* requires a lower amount of resources to be assigned to each
* DPNI object.
* If you do not need all Ethernet ports enabled, see one of the
* other DPL files for alternative setups.
*/
/dts-v1/;
......@@ -33,13 +28,13 @@
/* -------------- DPCONs --------------*/
obj_set@dpcon {
type = "dpcon";
ids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 >;
ids = <0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 >;
};
/* -------------- DPIOs --------------*/
obj_set@dpio {
type = "dpio";
ids = <1 2 3 4 5 6 7 8 >;
ids = <0 1 2 3 4 5 6 7 >;
};
/* -------------- DPMACs --------------*/
......@@ -51,7 +46,7 @@
/* -------------- DPMCPs --------------*/
obj_set@dpmcp {
type = "dpmcp";
ids = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 >;
ids = <1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 >;
};
/* -------------- DPNIs --------------*/
......@@ -478,6 +473,47 @@
num_priorities = <0x2>;
};
dpcon@73 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@74 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@75 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@76 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@77 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@78 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpcon@79 {
compatible = "fsl,dpcon";
num_priorities = <0x2>;
};
dpio@0 {
compatible = "fsl,dpio";
channel_mode = "DPIO_LOCAL_CHANNEL";
num_priorities = <0x8>;
};
dpio@1 {
compatible = "fsl,dpio";
channel_mode = "DPIO_LOCAL_CHANNEL";
......@@ -520,12 +556,6 @@
num_priorities = <0x8>;
};
dpio@8 {
compatible = "fsl,dpio";
channel_mode = "DPIO_LOCAL_CHANNEL";
num_priorities = <0x8>;
};
dpmac@1 {
compatible = "fsl,dpmac";
};
......@@ -678,88 +708,124 @@
compatible = "fsl,dpmcp";
};
dpmcp@29 {
compatible = "fsl,dpmcp";
};
dpmcp@30 {
compatible = "fsl,dpmcp";
};
dpmcp@31 {
compatible = "fsl,dpmcp";
};
dpmcp@32 {
compatible = "fsl,dpmcp";
};
dpmcp@33 {
compatible = "fsl,dpmcp";
};
dpmcp@34 {
compatible = "fsl,dpmcp";
};
dpni@0 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <32>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@1 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <32>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@2 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@3 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@4 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@5 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@6 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@7 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@8 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpni@9 {
compatible = "fsl,dpni";
type = "DPNI_TYPE_NIC";
fs_entries = <1>;
num_queues = <8>;
num_tcs = <1>;
num_cgs = <1>;
mac_filter_entries = <16>;
vlan_filter_entries = <0>;
fs_entries = <56>;
qos_entries = <0>;
};
dpseci@0 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment