Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/85xx: Add ucc uart support for p1025rdb

Add device tree nodes to enable ucc uart support on P1025RDB.

Signed-off-by: Zhicheng Fan <B32736@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

authored by

Zhicheng Fan and committed by
Kumar Gala
b5dc2986 6d4ae2dd

+55 -1
+15 -1
arch/powerpc/boot/dts/fsl/p1021si-post.dtsi
··· 1 1 /* 2 2 * P1021/P1012 Silicon/SoC Device Tree Source (post include) 3 3 * 4 - * Copyright 2011 Freescale Semiconductor Inc. 4 + * Copyright 2011-2012 Freescale Semiconductor Inc. 5 5 * 6 6 * Redistribution and use in source and binary forms, with or without 7 7 * modification, are permitted provided that the following conditions are met: ··· 210 210 cell-index = <5>; 211 211 reg = <0x2400 0x200>; 212 212 interrupts = <40>; 213 + interrupt-parent = <&qeic>; 214 + }; 215 + 216 + ucc@2600 { 217 + cell-index = <7>; 218 + reg = <0x2600 0x200>; 219 + interrupts = <42>; 220 + interrupt-parent = <&qeic>; 221 + }; 222 + 223 + ucc@2200 { 224 + cell-index = <3>; 225 + reg = <0x2200 0x200>; 226 + interrupts = <34>; 213 227 interrupt-parent = <&qeic>; 214 228 }; 215 229
+40
arch/powerpc/boot/dts/p1025rdb.dtsi
··· 282 282 0x1 0x4 0x2 0x0 0x2 0x0 /* ENET5_RX_DV_SER5_CTS_B */ 283 283 0x1 0x8 0x2 0x0 0x2 0x0>; /* ENET5_RX_ER_SER5_CD_B */ 284 284 }; 285 + 286 + pio3: ucc_pin@03 { 287 + pio-map = < 288 + /* port pin dir open_drain assignment has_irq */ 289 + 0x0 0x16 0x2 0x0 0x2 0x0 /* SER7_CD_B*/ 290 + 0x0 0x12 0x2 0x0 0x2 0x0 /* SER7_CTS_B*/ 291 + 0x0 0x13 0x1 0x0 0x2 0x0 /* SER7_RTS_B*/ 292 + 0x0 0x14 0x2 0x0 0x2 0x0 /* SER7_RXD0*/ 293 + 0x0 0x15 0x1 0x0 0x2 0x0>; /* SER7_TXD0*/ 294 + }; 295 + 296 + pio4: ucc_pin@04 { 297 + pio-map = < 298 + /* port pin dir open_drain assignment has_irq */ 299 + 0x1 0x0 0x2 0x0 0x2 0x0 /* SER3_CD_B*/ 300 + 0x0 0x1c 0x2 0x0 0x2 0x0 /* SER3_CTS_B*/ 301 + 0x0 0x1d 0x1 0x0 0x2 0x0 /* SER3_RTS_B*/ 302 + 0x0 0x1e 0x2 0x0 0x2 0x0 /* SER3_RXD0*/ 303 + 0x0 0x1f 0x1 0x0 0x2 0x0>; /* SER3_TXD0*/ 304 + }; 305 + }; 306 + }; 307 + 308 + &qe { 309 + serial2: ucc@2600 { 310 + device_type = "serial"; 311 + compatible = "ucc_uart"; 312 + port-number = <0>; 313 + rx-clock-name = "brg6"; 314 + tx-clock-name = "brg6"; 315 + pio-handle = <&pio3>; 316 + }; 317 + 318 + serial3: ucc@2200 { 319 + device_type = "serial"; 320 + compatible = "ucc_uart"; 321 + port-number = <1>; 322 + rx-clock-name = "brg2"; 323 + tx-clock-name = "brg2"; 324 + pio-handle = <&pio4>; 285 325 }; 286 326 };