-
Notifications
You must be signed in to change notification settings - Fork 240
Add q6b support #603
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: linux-7.0.11
Are you sure you want to change the base?
Add q6b support #603
Changes from all commits
31a9b78
1cb2441
ca8aec1
4c7e37f
1c842f7
27f6f79
f02ee6e
145f270
259447d
04c0756
6a4e412
b75cd2e
d682bb9
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -32,7 +32,7 @@ properties: | |
| maxItems: 1 | ||
|
|
||
| "#pwm-cells": | ||
| const: 2 | ||
| enum: [2, 3] | ||
|
|
||
| gpios: | ||
| description: | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -300,6 +300,22 @@ | |
| regulator-always-on; | ||
| }; | ||
|
|
||
| wifi_pwr_en_3v3: wifi-pwr-en-3v3 { | ||
| compatible = "regulator-fixed"; | ||
| regulator-name = "wifi_pwr_en_3v3"; | ||
| regulator-min-microvolt = <3300000>; | ||
| regulator-max-microvolt = <3300000>; | ||
| vin-supply = <&vcc_3v3>; | ||
| gpio = <&tlmm 33 GPIO_ACTIVE_HIGH>; | ||
| enable-active-high; | ||
|
|
||
| pinctrl-0 = <&wifi_pwr_en>; | ||
| pinctrl-names = "default"; | ||
|
|
||
| regulator-boot-on; | ||
| regulator-always-on; | ||
| }; | ||
|
|
||
| vcc_3v3s: regulator-vcc-3v3s { | ||
| compatible = "regulator-fixed"; | ||
| regulator-name = "vcc_3v3s"; | ||
|
|
@@ -489,9 +505,9 @@ | |
| }; | ||
|
|
||
| vreg_l5c_1p62: ldo5 { | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 跟regulator-name不匹配哦
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 我在想是的对齐原理图网络名还是真实电压
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 真实电压吧,网络名就放过它 |
||
| regulator-name = "vreg_l5c_1p62"; | ||
| regulator-min-microvolt = <1620000>; | ||
| regulator-max-microvolt = <3300000>; | ||
| regulator-name = "vreg_l5c_3p296"; | ||
| regulator-min-microvolt = <3296000>; | ||
| regulator-max-microvolt = <3296000>; | ||
| regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>; | ||
| regulator-allow-set-load; | ||
| regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM | ||
|
|
@@ -1272,6 +1288,13 @@ | |
| bias-disable; | ||
| output-low; | ||
| }; | ||
|
|
||
| wifi_pwr_en: wifi-pwr-en-state { | ||
| pins = "gpio33"; | ||
| function = "gpio"; | ||
| drive-strength = <8>; | ||
| bias-pull-up; | ||
| }; | ||
| }; | ||
|
|
||
| &uart5 { | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 这个是不是跟其他的kvm overlay一样的?在makefile里面可以怎么复用一下么 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| // SPDX-License-Identifier: BSD-3-Clause | ||
| /* | ||
| * Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd. | ||
| * | ||
| * This device tree overlay is supposed to be applied by UEFI firmware | ||
| * when Hypervisor Override is set to enabled. | ||
| */ | ||
|
|
||
| #include <dt-bindings/firmware/qcom,scm.h> | ||
|
|
||
| /dts-v1/; | ||
| /plugin/; | ||
|
|
||
| /* Required when Hypervisor Override is set to auto */ | ||
| &{/chosen} { | ||
| radxa,enable-kvm = <1>; | ||
| }; | ||
|
|
||
| /* We can't and don't need to use zap shader in EL2 as linux can zap the gpu on it's own. */ | ||
| &gpu_zap_shader { | ||
| status = "disabled"; | ||
| }; | ||
|
|
||
| &soc { | ||
| #address-cells = <2>; | ||
| #size-cells = <2>; | ||
|
|
||
| pcie@1c08000 { | ||
| #address-cells = <3>; | ||
| #size-cells = <2>; | ||
|
|
||
| /* Allow using upper PCIe space */ | ||
| ranges = <0x01000000 0x0 0x00000000 0x0 0x40200000 0x0 0x100000>, | ||
| <0x02000000 0x0 0x40300000 0x0 0x40300000 0x0 0x1fd00000>, | ||
| <0x03000000 0x4 0x00000000 0x4 0x00000000 0x3 0x00000000>; | ||
| }; | ||
| }; | ||
|
|
||
| &remoteproc_adsp { | ||
| qcom,broken-reset; | ||
| }; | ||
|
|
||
| &remoteproc_cdsp { | ||
| qcom,broken-reset; | ||
| }; | ||
|
|
||
| &scm { | ||
| qcom,shm-bridge-vmid = <QCOM_SCM_VMID_SELF_OWNER>; | ||
| }; | ||
|
|
||
| &venus { | ||
| iommus = <&apps_smmu 0x2180 0x20>, | ||
| <&apps_smmu 0x2184 0x20>; | ||
|
|
||
| video-firmware { | ||
| iommus = <&apps_smmu 0x21a2 0x0>; | ||
| }; | ||
| }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
一般不需要这个属性