mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 21:14:56 -04:00
riscv: dts: sophgo: Add emmc support for Huashan Pi
Add emmc node configuration for Huashan Pi. Link: https://lore.kernel.org/r/20241025112902.1200716-3-inochiama@gmail.com Signed-off-by: Inochi Amaoto <inochiama@gmail.com> Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
This commit is contained in:
committed by
Inochi Amaoto
parent
06133f48a8
commit
b5cf65cc0f
@@ -43,6 +43,18 @@ &osc {
|
||||
clock-frequency = <25000000>;
|
||||
};
|
||||
|
||||
&emmc {
|
||||
status = "okay";
|
||||
bus-width = <4>;
|
||||
max-frequency = <200000000>;
|
||||
mmc-ddr-1_8v;
|
||||
mmc-ddr-3_3v;
|
||||
mmc-hs200-1_8v;
|
||||
no-sd;
|
||||
no-sdio;
|
||||
non-removable;
|
||||
};
|
||||
|
||||
&sdhci0 {
|
||||
status = "okay";
|
||||
bus-width = <4>;
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/pinctrl/pinctrl-cv1812h.h>
|
||||
#include "cv18xx.dtsi"
|
||||
#include "cv181x.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "sophgo,cv1812h";
|
||||
|
||||
21
arch/riscv/boot/dts/sophgo/cv181x.dtsi
Normal file
21
arch/riscv/boot/dts/sophgo/cv181x.dtsi
Normal file
@@ -0,0 +1,21 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
/*
|
||||
* Copyright (C) 2024 Inochi Amaoto <inochiama@outlook.com>
|
||||
*/
|
||||
|
||||
#include <dt-bindings/clock/sophgo,cv1800.h>
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
|
||||
/ {
|
||||
soc {
|
||||
emmc: mmc@4300000 {
|
||||
compatible = "sophgo,cv1800b-dwcmshc";
|
||||
reg = <0x4300000 0x1000>;
|
||||
interrupts = <34 IRQ_TYPE_LEVEL_HIGH>;
|
||||
clocks = <&clk CLK_AXI4_EMMC>,
|
||||
<&clk CLK_EMMC>;
|
||||
clock-names = "core", "bus";
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/pinctrl/pinctrl-sg2002.h>
|
||||
#include "cv18xx.dtsi"
|
||||
#include "cv181x.dtsi"
|
||||
|
||||
/ {
|
||||
compatible = "sophgo,sg2002";
|
||||
|
||||
Reference in New Issue
Block a user