powerpc: tqm8548/tqm8xx: add and update CAN device nodes
This patch enables or updates support for the CC770 and AN82527 CAN controller on the TQM8548 and TQM8xx boards. CC: devicetree-discuss@lists.ozlabs.org CC: linuxppc-dev@ozlabs.org CC: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Wolfgang Grandegger <wg@grandegger.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
e285e44d91
commit
fa17a019c8
|
@ -352,7 +352,7 @@
|
||||||
ranges = <
|
ranges = <
|
||||||
0 0x0 0xfc000000 0x04000000 // NOR FLASH bank 1
|
0 0x0 0xfc000000 0x04000000 // NOR FLASH bank 1
|
||||||
1 0x0 0xf8000000 0x08000000 // NOR FLASH bank 0
|
1 0x0 0xf8000000 0x08000000 // NOR FLASH bank 0
|
||||||
2 0x0 0xa3000000 0x00008000 // CAN (2 x i82527)
|
2 0x0 0xa3000000 0x00008000 // CAN (2 x CC770)
|
||||||
3 0x0 0xa3010000 0x00008000 // NAND FLASH
|
3 0x0 0xa3010000 0x00008000 // NAND FLASH
|
||||||
|
|
||||||
>;
|
>;
|
||||||
|
@ -393,18 +393,27 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Note: CAN support needs be enabled in U-Boot */
|
/* Note: CAN support needs be enabled in U-Boot */
|
||||||
can0@2,0 {
|
can@2,0 {
|
||||||
compatible = "intel,82527"; // Bosch CC770
|
compatible = "bosch,cc770"; // Bosch CC770
|
||||||
reg = <2 0x0 0x100>;
|
reg = <2 0x0 0x100>;
|
||||||
interrupts = <4 1>;
|
interrupts = <4 1>;
|
||||||
interrupt-parent = <&mpic>;
|
interrupt-parent = <&mpic>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
|
bosch,clock-out-frequency = <16000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
can1@2,100 {
|
can@2,100 {
|
||||||
compatible = "intel,82527"; // Bosch CC770
|
compatible = "bosch,cc770"; // Bosch CC770
|
||||||
reg = <2 0x100 0x100>;
|
reg = <2 0x100 0x100>;
|
||||||
interrupts = <4 1>;
|
interrupts = <4 1>;
|
||||||
interrupt-parent = <&mpic>;
|
interrupt-parent = <&mpic>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Note: NAND support needs to be enabled in U-Boot */
|
/* Note: NAND support needs to be enabled in U-Boot */
|
||||||
|
|
|
@ -352,7 +352,7 @@
|
||||||
ranges = <
|
ranges = <
|
||||||
0 0x0 0xfc000000 0x04000000 // NOR FLASH bank 1
|
0 0x0 0xfc000000 0x04000000 // NOR FLASH bank 1
|
||||||
1 0x0 0xf8000000 0x08000000 // NOR FLASH bank 0
|
1 0x0 0xf8000000 0x08000000 // NOR FLASH bank 0
|
||||||
2 0x0 0xe3000000 0x00008000 // CAN (2 x i82527)
|
2 0x0 0xe3000000 0x00008000 // CAN (2 x CC770)
|
||||||
3 0x0 0xe3010000 0x00008000 // NAND FLASH
|
3 0x0 0xe3010000 0x00008000 // NAND FLASH
|
||||||
|
|
||||||
>;
|
>;
|
||||||
|
@ -393,18 +393,27 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Note: CAN support needs be enabled in U-Boot */
|
/* Note: CAN support needs be enabled in U-Boot */
|
||||||
can0@2,0 {
|
can@2,0 {
|
||||||
compatible = "intel,82527"; // Bosch CC770
|
compatible = "bosch,cc770"; // Bosch CC770
|
||||||
reg = <2 0x0 0x100>;
|
reg = <2 0x0 0x100>;
|
||||||
interrupts = <4 1>;
|
interrupts = <4 1>;
|
||||||
interrupt-parent = <&mpic>;
|
interrupt-parent = <&mpic>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
|
bosch,clock-out-frequency = <16000000>;
|
||||||
};
|
};
|
||||||
|
|
||||||
can1@2,100 {
|
can@2,100 {
|
||||||
compatible = "intel,82527"; // Bosch CC770
|
compatible = "bosch,cc770"; // Bosch CC770
|
||||||
reg = <2 0x100 0x100>;
|
reg = <2 0x100 0x100>;
|
||||||
interrupts = <4 1>;
|
interrupts = <4 1>;
|
||||||
interrupt-parent = <&mpic>;
|
interrupt-parent = <&mpic>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Note: NAND support needs to be enabled in U-Boot */
|
/* Note: NAND support needs to be enabled in U-Boot */
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
|
|
||||||
ranges = <
|
ranges = <
|
||||||
0x0 0x0 0x40000000 0x800000
|
0x0 0x0 0x40000000 0x800000
|
||||||
|
0x3 0x0 0xc0000000 0x200
|
||||||
>;
|
>;
|
||||||
|
|
||||||
flash@0,0 {
|
flash@0,0 {
|
||||||
|
@ -67,6 +68,30 @@
|
||||||
bank-width = <4>;
|
bank-width = <4>;
|
||||||
device-width = <2>;
|
device-width = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Note: CAN support needs be enabled in U-Boot */
|
||||||
|
can@3,0 {
|
||||||
|
compatible = "intc,82527";
|
||||||
|
reg = <3 0x0 0x80>;
|
||||||
|
interrupts = <8 1>;
|
||||||
|
interrupt-parent = <&PIC>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
|
bosch,clock-out-frequency = <16000000>;
|
||||||
|
};
|
||||||
|
|
||||||
|
can@3,100 {
|
||||||
|
compatible = "intc,82527";
|
||||||
|
reg = <3 0x100 0x80>;
|
||||||
|
interrupts = <8 1>;
|
||||||
|
interrupt-parent = <&PIC>;
|
||||||
|
bosch,external-clock-frequency = <16000000>;
|
||||||
|
bosch,disconnect-rx1-input;
|
||||||
|
bosch,disconnect-tx1-output;
|
||||||
|
bosch,iso-low-speed-mux;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
soc@fff00000 {
|
soc@fff00000 {
|
||||||
|
|
Loading…
Reference in New Issue