Disable secondary console
This commit is contained in:
parent
6155c7e3f8
commit
ef7a100c3f
26
ox-plic.dts
26
ox-plic.dts
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
serial0 = &uart_console; // ttyS0
|
serial0 = &uart_console; // ttyS0
|
||||||
serial1 = &uart_testing; // ttyS1
|
// serial1 = &uart_testing; // ttyS1
|
||||||
};
|
};
|
||||||
|
|
||||||
// chosen {
|
// chosen {
|
||||||
@ -120,6 +120,8 @@
|
|||||||
uart_console: serial@40001000 {
|
uart_console: serial@40001000 {
|
||||||
compatible = "ns16550";
|
compatible = "ns16550";
|
||||||
reg = <0x0 0x40001000 0x0 0x1000>;
|
reg = <0x0 0x40001000 0x0 0x1000>;
|
||||||
|
interrupts = <1>; /* Output interrupt 1 */
|
||||||
|
interrupt-parent = <&PLIC>;
|
||||||
reg-shift = <2>;
|
reg-shift = <2>;
|
||||||
/* No interrupts for this UART, use console=hvc0 */
|
/* No interrupts for this UART, use console=hvc0 */
|
||||||
/* This clock is the SERIAL_CLK */
|
/* This clock is the SERIAL_CLK */
|
||||||
@ -127,17 +129,17 @@
|
|||||||
current-speed = <115200>;
|
current-speed = <115200>;
|
||||||
status = "okay";
|
status = "okay";
|
||||||
};
|
};
|
||||||
/* The serial for interrupt tests */
|
// /* The serial for interrupt tests */
|
||||||
uart_testing: serial@40003000 {
|
// uart_testing: serial@40003000 {
|
||||||
compatible = "ns16550";
|
// compatible = "ns16550";
|
||||||
reg = <0x0 0x40003000 0x0 0x1000>;
|
// reg = <0x0 0x40003000 0x0 0x1000>;
|
||||||
interrupts = <1>; /* Output interrupt 1 */
|
// interrupts = <1>; /* Output interrupt 1 */
|
||||||
interrupt-parent = <&PLIC>;
|
// interrupt-parent = <&PLIC>;
|
||||||
reg-shift = <2>;
|
// reg-shift = <2>;
|
||||||
clock-frequency = <50000000>;
|
// clock-frequency = <50000000>;
|
||||||
current-speed = <115200>;
|
// current-speed = <115200>;
|
||||||
status = "okay";
|
// status = "okay";
|
||||||
};
|
// };
|
||||||
|
|
||||||
// ethernet0 {
|
// ethernet0 {
|
||||||
// xlnx,rxmem = <0x000005f2>;
|
// xlnx,rxmem = <0x000005f2>;
|
||||||
|
Loading…
Reference in New Issue
Block a user