diff options
| author | Yu Chien Peter Lin <[email protected]> | 2022-10-14 08:32:45 +0800 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-10-23 10:26:06 +0530 |
| commit | 88f58a3694c936791eb875d3cc85f1cde41c3d09 (patch) | |
| tree | 9b24f852b2f77f83d975b16fd849a54c02470034 /lib/utils/timer | |
| parent | 9899b59beb840a377fdb62b758506fc5ffbc6b44 (diff) | |
platform: andes/ae350: Use fdt serial driver
Andes UART is compatible with uart8250 driver. We can use
fdt_serial_init() as platform console init hook.
dts example:
serial0: serial@f0300000 {
compatible = "andestech,uart16550", "ns16550a";
reg = <0x00000000 0xf0300000 0x00000000 0x00001000>;
interrupts = <9 4>;
interrupt-parent = <&plic0>;
clock-frequency = <19660800>;
current-speed = <38400>;
reg-shift = <2>;
reg-offset = <32>;
reg-io-width = <4>;
no-loopback-test = <1>;
};
Signed-off-by: Yu Chien Peter Lin <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils/timer')
0 files changed, 0 insertions, 0 deletions
