2018-02-14 19:17:27 +07:00
|
|
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2016 Marvell Technology Group Ltd.
|
|
|
|
*
|
|
|
|
* Device Tree file for Marvell Armada 7040 Development board platform
|
|
|
|
*/
|
|
|
|
|
2017-08-09 21:44:36 +07:00
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
#include "armada-7040.dtsi"
|
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Marvell Armada 7040 DB board";
|
|
|
|
compatible = "marvell,armada7040-db", "marvell,armada7040",
|
|
|
|
"marvell,armada-ap806-quad", "marvell,armada-ap806";
|
|
|
|
|
2016-04-26 14:58:32 +07:00
|
|
|
chosen {
|
|
|
|
stdout-path = "serial0:115200n8";
|
|
|
|
};
|
|
|
|
|
2017-10-14 00:54:52 +07:00
|
|
|
memory@0 {
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x0 0x0 0x0 0x80000000>;
|
|
|
|
};
|
2017-08-09 21:44:36 +07:00
|
|
|
|
2018-01-03 22:18:52 +07:00
|
|
|
aliases {
|
|
|
|
ethernet0 = &cp0_eth0;
|
|
|
|
ethernet1 = &cp0_eth1;
|
|
|
|
ethernet2 = &cp0_eth2;
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus {
|
2017-08-09 21:44:36 +07:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "usb3h0-vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
|
|
|
gpio = <&expander0 0 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
cp0_reg_usb3_1_vbus: cp0-usb3-1-vbus {
|
2017-08-09 21:44:36 +07:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "usb3h1-vbus";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
enable-active-high;
|
|
|
|
gpio = <&expander0 1 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
cp0_usb3_0_phy: cp0-usb3-0-phy {
|
2017-08-09 21:44:36 +07:00
|
|
|
compatible = "usb-nop-xceiv";
|
2018-01-02 21:55:58 +07:00
|
|
|
vcc-supply = <&cp0_reg_usb3_0_vbus>;
|
2017-08-09 21:44:36 +07:00
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
cp0_usb3_1_phy: cp0-usb3-1-phy {
|
2017-08-09 21:44:36 +07:00
|
|
|
compatible = "usb-nop-xceiv";
|
2018-01-02 21:55:58 +07:00
|
|
|
vcc-supply = <&cp0_reg_usb3_1_vbus>;
|
2017-08-09 21:44:36 +07:00
|
|
|
};
|
2016-04-26 14:58:30 +07:00
|
|
|
};
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
|
2016-04-26 14:58:30 +07:00
|
|
|
&i2c0 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
|
2016-04-26 14:58:30 +07:00
|
|
|
&spi0 {
|
|
|
|
status = "okay";
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
|
2016-04-26 14:58:30 +07:00
|
|
|
spi-flash@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
2016-04-26 14:58:34 +07:00
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0>;
|
2016-04-26 14:58:30 +07:00
|
|
|
spi-max-frequency = <10000000>;
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
|
2016-04-26 14:58:34 +07:00
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0 0x200000>;
|
|
|
|
};
|
|
|
|
partition@400000 {
|
|
|
|
label = "Filesystem";
|
|
|
|
reg = <0x200000 0xce0000>;
|
|
|
|
};
|
arm64: dts: marvell: add Device Tree files for Armada 7K/8K
This commit adds the base Device Tree files for the Armada 7K and 8K
SoCs, as well as the Armada 8040 DB board.
The Armada 7020, 7040 (7K family) and 8020, 8040 (8K family) are
composed of:
- An AP806 block that contains the CPU core and a few basic
peripherals. The AP806 is available in dual core configurations
(used in 7020 and 8020) and quad core configurations (used in 8020
and 8040).
- One or two CP110 blocks that contain all the high-speed interfaces
(SATA, PCIe, Ethernet, etc.). The 7K family chips have one CP110,
and the 8K family chips have two CP110, giving them twice the
number of HW interfaces.
In order to represent this from a Device Tree point of view, this
commit creates the following hierarchy:
* armada-ap806.dtsi - definitions common to dual/quad ap806
* armada-ap806-dual.dtsi - description of the two CPUs
* armada-7020.dtsi - description of the 7020 SoC
* armada-8020.dtsi - description of the 8020 SoC
* armada-ap806-quad.dtsi - description of the four CPUs
* armada-7040.dtsi - description of the 7040 SoC
* armada-7040-db.dts - description of the 7040 board
* armada-8040.dtsi - description of the 8040 SoC
The CP110 blocks are not described yet, and will be part of future
patch series.
[gregory.clement@free-electrons.com: Fix commit title by adding ' dts:']
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
2016-02-18 23:20:30 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-04-26 14:58:30 +07:00
|
|
|
|
|
|
|
&uart0 {
|
|
|
|
status = "okay";
|
2017-08-30 17:16:06 +07:00
|
|
|
pinctrl-0 = <&uart0_pins>;
|
|
|
|
pinctrl-names = "default";
|
2016-04-26 14:58:30 +07:00
|
|
|
};
|
2016-04-26 14:58:37 +07:00
|
|
|
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_pcie2 {
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_i2c0 {
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
2017-08-09 21:44:36 +07:00
|
|
|
|
|
|
|
expander0: pca9555@21 {
|
|
|
|
compatible = "nxp,pca9555";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
reg = <0x21>;
|
2017-10-05 23:05:11 +07:00
|
|
|
/*
|
|
|
|
* IO0_0: USB3_PWR_EN0 IO1_0: USB_3_1_Dev_Detect
|
|
|
|
* IO0_1: USB3_PWR_EN1 IO1_1: USB2_1_current_limit
|
|
|
|
* IO0_2: DDR3_4_Detect IO1_2: Hcon_IO_RstN
|
|
|
|
* IO0_3: USB2_DEVICE_DETECT
|
|
|
|
* IO0_4: GPIO_0 IO1_4: SD_Status
|
|
|
|
* IO0_5: GPIO_1 IO1_5: LDO_5V_Enable
|
|
|
|
* IO0_6: IHB_5V_Enable IO1_6: PWR_EN_eMMC
|
|
|
|
* IO0_7: IO1_7: SDIO_Vcntrl
|
|
|
|
*/
|
2017-08-09 21:44:36 +07:00
|
|
|
};
|
2016-04-26 14:58:37 +07:00
|
|
|
};
|
|
|
|
|
2018-02-20 05:20:44 +07:00
|
|
|
&cp0_nand_controller {
|
2017-09-25 21:53:52 +07:00
|
|
|
/*
|
|
|
|
* SPI on CPM and NAND have common pins on this board. We can
|
2018-02-20 05:20:44 +07:00
|
|
|
* use only one at a time. To enable the NAND (which will
|
2017-09-25 21:53:52 +07:00
|
|
|
* disable the SPI), the "status = "okay";" line have to be
|
|
|
|
* added here.
|
|
|
|
*/
|
|
|
|
pinctrl-0 = <&nand_pins>, <&nand_rb>;
|
|
|
|
pinctrl-names = "default";
|
2018-02-20 05:20:44 +07:00
|
|
|
|
|
|
|
nand@0 {
|
|
|
|
reg = <0>;
|
|
|
|
label = "pxa3xx_nand-0";
|
|
|
|
nand-rb = <0>;
|
|
|
|
nand-on-flash-bbt;
|
|
|
|
nand-ecc-strength = <4>;
|
|
|
|
nand-ecc-step-size = <512>;
|
|
|
|
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0 0x200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@200000 {
|
|
|
|
label = "Linux";
|
|
|
|
reg = <0x200000 0xe00000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@1000000 {
|
|
|
|
label = "Filesystem";
|
|
|
|
reg = <0x1000000 0x3f000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
};
|
2017-09-25 21:53:52 +07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_spi1 {
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
spi-flash@0 {
|
|
|
|
#address-cells = <0x1>;
|
|
|
|
#size-cells = <0x1>;
|
|
|
|
compatible = "jedec,spi-nor";
|
|
|
|
reg = <0x0>;
|
|
|
|
spi-max-frequency = <20000000>;
|
|
|
|
|
|
|
|
partitions {
|
|
|
|
compatible = "fixed-partitions";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0x0 0x200000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
partition@400000 {
|
|
|
|
label = "Filesystem";
|
|
|
|
reg = <0x200000 0xe00000>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_sata0 {
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_usb3_0 {
|
|
|
|
usb-phy = <&cp0_usb3_0_phy>;
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_usb3_1 {
|
|
|
|
usb-phy = <&cp0_usb3_1_phy>;
|
2016-04-26 14:58:37 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
2017-03-16 22:16:27 +07:00
|
|
|
|
2017-03-30 22:23:04 +07:00
|
|
|
&ap_sdhci0 {
|
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
|
|
|
no-1-8-v;
|
|
|
|
non-removable;
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_sdhci0 {
|
2017-03-30 22:23:04 +07:00
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
|
|
|
no-1-8-v;
|
2017-10-05 23:05:49 +07:00
|
|
|
cd-gpios = <&expander0 12 GPIO_ACTIVE_LOW>;
|
2017-03-30 22:23:04 +07:00
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_mdio {
|
2017-06-08 17:04:54 +07:00
|
|
|
status = "okay";
|
|
|
|
|
2017-03-16 22:16:27 +07:00
|
|
|
phy0: ethernet-phy@0 {
|
|
|
|
reg = <0>;
|
|
|
|
};
|
|
|
|
phy1: ethernet-phy@1 {
|
|
|
|
reg = <1>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_ethernet {
|
2017-03-16 22:16:27 +07:00
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_eth0 {
|
2017-09-21 14:54:09 +07:00
|
|
|
status = "okay";
|
|
|
|
/* Network PHY */
|
|
|
|
phy-mode = "10gbase-kr";
|
|
|
|
/* Generic PHY, providing serdes lanes */
|
2018-01-02 21:55:58 +07:00
|
|
|
phys = <&cp0_comphy2 0>;
|
2017-09-21 14:54:09 +07:00
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_eth1 {
|
2017-03-16 22:16:27 +07:00
|
|
|
status = "okay";
|
2017-09-21 14:54:08 +07:00
|
|
|
/* Network PHY */
|
2017-03-16 22:16:27 +07:00
|
|
|
phy = <&phy0>;
|
|
|
|
phy-mode = "sgmii";
|
2017-09-21 14:54:08 +07:00
|
|
|
/* Generic PHY, providing serdes lanes */
|
2018-01-02 21:55:58 +07:00
|
|
|
phys = <&cp0_comphy0 1>;
|
2017-03-16 22:16:27 +07:00
|
|
|
};
|
|
|
|
|
2018-01-02 21:55:58 +07:00
|
|
|
&cp0_eth2 {
|
2017-03-16 22:16:27 +07:00
|
|
|
status = "okay";
|
|
|
|
phy = <&phy1>;
|
|
|
|
phy-mode = "rgmii-id";
|
|
|
|
};
|