Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
linux-seco-qcom
Manage
Activity
Members
Labels
Code
Merge requests
5
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Clea OS
bsp
qualcomm
linux-seco-qcom
Commits
62b7f460
Commit
62b7f460
authored
1 month ago
by
Oleksii Kutuzov
Browse files
Options
Downloads
Patches
Plain Diff
[E81][DTB] Enable Ethernet phys
parent
288dbf5c
No related branches found
No related tags found
2 merge requests
!13
Merge E81 development branch into trunk
,
!2
Add PCIe and Ethernet support, rename common E81 include file
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
arch/arm64/boot/dts/seco/include/qcs6490-e81-common.dtsi
+82
-11
82 additions, 11 deletions
arch/arm64/boot/dts/seco/include/qcs6490-e81-common.dtsi
with
82 additions
and
11 deletions
arch/arm64/boot/dts/seco/include/qcs6490-e81-common.dtsi
+
82
−
11
View file @
62b7f460
...
@@ -121,17 +121,6 @@ vreg_qps615_rsex: rsex_qps {
...
@@ -121,17 +121,6 @@ vreg_qps615_rsex: rsex_qps {
enable-active-high;
enable-active-high;
regulator-enable-ramp-delay = <10000>;
regulator-enable-ramp-delay = <10000>;
};
};
vreg_3p3_upd: 3p3_upd {
compatible = "regulator-fixed";
regulator-name = "3p3_upd";
vin-supply = <&vreg_qps615_rsex>;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
enable-active-high;
regulator-enable-ramp-delay = <10000>;
regulator-always-on;
};
};
};
&apps_rsc {
&apps_rsc {
...
@@ -265,6 +254,7 @@ vreg_l11b_1p504: ldo11 {
...
@@ -265,6 +254,7 @@ vreg_l11b_1p504: ldo11 {
regulator-min-microvolt = <1504000>;
regulator-min-microvolt = <1504000>;
regulator-max-microvolt = <2000000>;
regulator-max-microvolt = <2000000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
};
};
// according to schematics page 3+4 these regulators are to used
// according to schematics page 3+4 these regulators are to used
...
@@ -305,6 +295,7 @@ vreg_l17b_1p7: ldo17 {
...
@@ -305,6 +295,7 @@ vreg_l17b_1p7: ldo17 {
regulator-min-microvolt = <1700000>;
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <1900000>;
regulator-max-microvolt = <1900000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
regulator-always-on;
};
};
vreg_l18b_1p8: ldo18 {
vreg_l18b_1p8: ldo18 {
...
@@ -726,6 +717,86 @@ pcieport0: pcie@0 {
...
@@ -726,6 +717,86 @@ pcieport0: pcie@0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
reg = <0x0 0x0 0x0 0x0 0x0>;
#address-cells = <5>;
#address-cells = <5>;
#size-cells = <0>;
#size-cells = <0>;
/* BDF 1.0.0 */
pcie1_bus1_dev0_fn0: pcie1_bus1_dev0_fn0 {
reg = <0 0 0 0 0>;
/* BDF 2.1.0 */
pcie1_bus2_dev1_fn0: pcie1_bus2_dev1_fn0 {
reg = <0x800 0x0 0x0 0x0 0x0>;
/* BDF 3.0.0 */
pcie1_bus3_dev0_fn0: pcie1_bus3_dev0_fn0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
};
};
/* BDF 2.2.0 */
pcie1_bus2_dev2_fn0: pcie1_bus2_dev2_fn0 {
reg = <0x1000 0x0 0x0 0x0 0x0>;
/* BDF 4.0.0 */
pcie1_bus4_dev0_fn0: pcie1_bus4_dev0_fn0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
};
};
/* BDF 2.3.0 */
pcie1_bus2_dev3_fn0: pcie1_bus2_dev3_fn0 {
reg = <0x1800 0x0 0x0 0x0 0x0>;
// ETH0
qps615_eth0,qps615_eth0@pcie1_rp {
reg = <0x0 0x0 0x0 0x0 0x0>;
qcom,not-need-pinctrl;
/* phy intn_wol int */
qcom,phy-built-in-wol;
/* phy reset*/
qcom,phy-rst-gpio = <0>;
qcom,phy-rst-delay-us = <20000>;
/* power enable*/
phy-supply = <&vreg_l11b_1p504>;
};
/* BDF 5.0.0 */
pcie1_bus5_dev0_fn0: pcie1_qps_eth0 {
reg = <0x0 0x0 0x0 0x0 0x0>;
qcom,iommu-group = <ð0_pci_iommu_group>;
eth0_pci_iommu_group: eth0_pci_iommu_group {
qcom,iommu-dma = "atomic";
};
};
// ETH1
qps615_eth1,qps615_eth1@pcie1_rp {
reg = <0x100 0x0 0x0 0x0 0x0>;
qcom,not-need-pinctrl;
/* phy intn_wol int */
qcom,phy-built-in-wol;
/* phy reset*/
qcom,phy-rst-gpio = <1>;
qcom,phy-rst-delay-us = <20000>;
/* power enable*/
phy-supply = <&vreg_l17b_1p7>;
};
/* BDF 5.0.1 */
pcie1_bus5_dev0_fn1: pcie1_qps_eth1 {
reg = <0x100 0x0 0x0 0x0 0x0>;
qcom,iommu-group = <ð1_pci_iommu_group>;
eth1_pci_iommu_group: eth1_pci_iommu_group {
qcom,iommu-dma = "atomic";
};
};
};
};
};
};
};
};
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment