您尚未登录。

楼主 # 2022-01-05 21:46:08

duya25446
会员
注册时间: 2022-01-05
已发帖子: 1
积分: 1

求助,荔枝派nano的Linux编译问题

在写suniv-f1c100s.dtsi设备树的时候
按墨云大佬的博客添加了代码:

mmc0: mmc@1c0f000 {
            compatible = "allwinner,suniv-f1c100s-mmc",
                     "allwinner,sun7i-a20-mmc";
            reg = <0x01c0f000 0x1000>;
            clocks = <&ccu CLK_BUS_MMC0>,
                 <&ccu CLK_MMC0>,
                 <&ccu CLK_MMC0_OUTPUT>,
                 <&ccu CLK_MMC0_SAMPLE>;
            clock-names = "ahb",
                          "mmc",
                          "output",
                          "sample";
            resets = <&ccu RST_BUS_MMC0>;
            reset-names = "ahb";
            interrupts = <23>;
            pinctrl-names = "default";
            pinctrl-0 = <&mmc0_pins>;
            status = "disabled";
            #address-cells = <1>;
            #size-cells = <0>;
        };

就是简单复制粘贴的事情,结果。。。。
4OD@BP630B}U1()CBXU0_(H.png
如图,报语法错误,报错跟着在时钟这一行,我把时钟那一行挪到哪,哪报错,去群里询问很久没找到哪错,所以贴出来了
墨云大大这篇博客连接:

https://www.cnblogs.com/twzy/p/15355842.html

最近编辑记录 duya25446 (2022-01-05 21:50:43)

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn