This commit implements the ofdata_to_platdata handler for the UniPhier serial driver and adds serial device nodes to the device tree sources. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
66 lines
1.2 KiB
Text
66 lines
1.2 KiB
Text
/*
|
|
* Device Tree Source for UniPhier PH1-Pro4 SoC
|
|
*
|
|
* Copyright (C) 2014 Panasonic Corporation
|
|
* Author: Masahiro Yamada <yamada.m@jp.panasonic.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/include/ "skeleton.dtsi"
|
|
|
|
/ {
|
|
compatible = "panasonic,ph1-pro4";
|
|
|
|
cpus {
|
|
#size-cells = <0>;
|
|
#address-cells = <1>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <0>;
|
|
};
|
|
|
|
cpu@1 {
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a9";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
soc {
|
|
compatible = "simple-bus";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
uart0: serial@54006800 {
|
|
compatible = "panasonic,uniphier-uart";
|
|
status = "disabled";
|
|
reg = <0x54006800 0x20>;
|
|
clock-frequency = <73728000>;
|
|
};
|
|
|
|
uart1: serial@54006900 {
|
|
compatible = "panasonic,uniphier-uart";
|
|
status = "disabled";
|
|
reg = <0x54006900 0x20>;
|
|
clock-frequency = <73728000>;
|
|
};
|
|
|
|
uart2: serial@54006a00 {
|
|
compatible = "panasonic,uniphier-uart";
|
|
status = "disabled";
|
|
reg = <0x54006a00 0x20>;
|
|
clock-frequency = <73728000>;
|
|
};
|
|
|
|
uart3: serial@54006b00 {
|
|
compatible = "panasonic,uniphier-uart";
|
|
status = "disabled";
|
|
reg = <0x54006b00 0x20>;
|
|
clock-frequency = <73728000>;
|
|
};
|
|
};
|
|
};
|