bcm3390/dts/rg.3390v0-vcm.dts
Joseph C. Lehner 9ddd6cf08f More stuff
2021-09-13 14:19:30 +02:00

98 lines
2.7 KiB
Plaintext

/dts-v1/;
/ {
model = "Broadcom CM (bcm93390v0vcm)";
compatible = "brcm,bcm93390v0vcm",
"brcm,bcm3390v0",
"brcm,bcm3390",
"brcm,brcmcm", "brcm,brcmstb";
subsystem = "rg";
#address-cells = <0x2>;
#size-cells = <0x2>;
interrupt-parent = <&gic>;
identifier@0 {
/* chip id mfg id don't park */
chipid_reg = < 0x20404000 0x204e6120 0x20410068 >;
chipid_msk = < 0xffffffff 0x0000f000 0x00000001 >;
chipid_val = < 0x33900010 0x00005000 0x00000000 >;
/* VVCM */
boardid_msk = < 0xf0 >;
boardid_val = < 0xd0 >;
};
};
/include/ "rg.3390b0-bolt.dtsi"
/include/ "rg.3390-base.dtsi"
/include/ "rg.3390s0-sgmii.dtsi"
/include/ "rg.3390v0-bolt.dtsi"
/include/ "rg.3390-xcms.dtsi"
/********************************************************************
* any nodes that appear below are platform specific additions and
* replacements.
* The dtc will add or replace any properties in the nodes
* below to the same nodes that appear in include files above.
* If the property does not exist in the node above it will be added.
* If the property does exist it will replace it.
********************************************************************/
&aon_pin_ctrl {
pinctrl-0 = <&mp8911_pins>;
mp8911_pins: mp8911_pins {
pinctrl-single,bits = <
0x008 0x00010000 0x000f0000 /* 1 = BSC_M0_SCL */
0x008 0x00100000 0x00f00000 /* 1 = BSC_M0_SDA */
>;
};
};
&suntop_pmx {
xcvr_off_pins: xcvr-off-pins {
pinctrl-single,bits = <
0x068 0x00000000 0x000f0000 /* gpio_013 <-- RGMII1_MDC */
0x068 0x00000000 0x0000f000 /* gpio_012 <-- RGMII1_MDIO */
>;
};
xcvr_on_pins: xcvr-on-pins {
pinctrl-single,bits = <
0x068 0x00010000 0x000f0000 /* gpio_013 --> RGMII1_MDC */
0x068 0x00001000 0x0000f000 /* gpio_012 --> RGMII1_MDIO */
>;
};
};
&ethsw {
xcvr-power-supply = <&xcvr_power>;
xcvr-reset-gpio = <&upg_gpio 101 0>;
pinctrl-names = "xcvr_off", "xcvr_on";
pinctrl-0 = <&xcvr_off_pins>;
pinctrl-1 = <&xcvr_on_pins>;
xcvr-reset-duration = <2000>;
};
/ {
xcvr_power: xcvr-power {
compatible = "regulator-fixed";
regulator-name = "xcvr-power";
regulator-min-microvolt = <0>;
regulator-max-microvolt = <0>;
gpio = <&upg_gpio 9 0>;
enable-active-high;
};
aliases {
/delete-property/sdhci0;
/delete-property/sdhci1;
};
rdb {
/delete-node/sdhci@f04a0100;
/delete-node/sdhci@f04a0300;
};
chosen {
filename = "rg.3390v0-vcm.dtb";
};
};