Hikey960 device tree
来自个人维基
2019年11月16日 (六) 16:28free6d1823(讨论 | 贡献)的版本
hi3660-hikey960.dts
1.#include "hi3660.dtsi"
1.1 #include
1.2 #include
1.3 #include
1.4
psci {} cpus { cpu_map { cluster0 { core0 { cpu=&cpu0 } core1 { cpu=&cpu1 } core2 { cpu=&cpu2 } core3 { cpu=&cpu3 } } cluster1 { core0 { cpu=&cpu4 } core1 { cpu=&cpu5 } core2 { cpu=&cpu6 } core3 { cpu=&cpu7 } } } }//cpus cpu0: cpu@0 {} cpu1: cpu@1 {} cpu2: cpu@2 {} cpu3: cpu@3 {} cpu4: cpu@100 {} cpu5: cpu@101 {} cpu6: cpu@102 {} cpu7: cpu@103 {} idle-states{} l2-cache0 {} l2-cache1 {} opp_table0 {} opp_table1 () gic: interrupt-controller@e82b0000 {} pmu {} timer {} framebuffer@E8600000 {} panel_lcd_hikey {} soc { crg_ctrl: crg_ctrl@fff35000 crg_rst: crg_rst_controller pctrl: pctrl@e8a09000 pmctrl: pmctrl@fff31000 pmuctrl: crg_ctrl@fff34000 sctrl: sctrl@fff0a000 iomcu: iomcu@ffd7e000 iomcu_rst: reset mailbox: mailbox@e896b000 stub_clock: stub_clock dual_timer0: timer@fff14000 i2c0: i2c@ffd71000 i2c1: i2c@ffd72000 {}; pd_dpm {}; hubv2: gpio_hubv2 {} i2c3: i2c@fdf0c000 {}; i2c7: i2c@fdf0b000 {}; uart0: serial@fdf02000 { compatible = "arm,pl011", "arm,primecell"; reg = <0x0 0xfdf02000 0x0 0x1000>; interrupts = <GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>; clocks = <&crg_ctrl HI3660_CLK_MUX_UART0>, <&crg_ctrl HI3660_PCLK>; clock-names = "uartclk", "apb_pclk"; pinctrl-names = "default"; pinctrl-0 = <&uart0_pmx_func &uart0_cfg_func>; status = "disabled"; }; uart1: serial@fdf00000 {} uart2: serial@fdf00000 {} uart3: serial@fdf00000 {} uart4: serial@fdf00000 {} uart5: serial@fdf00000 {} uart6: serial@fdf00000 {} dma0: dma@fdf30000 { }; rtc0: rtc@fff04000 {}; gpio0: gpio@e8a0b000 {}; gpio1: gpio@e8a0c000 {} gpio2: gpio@e8a0d000 { gpio3: gpio@e8a0e000 { .... gpio27: gpio@e8a10000 { gpio28: gpio@e8a11000 { spi2: spi@ffd68000 { spi3: spi@ff3b3000 { pcie@f4000000 { dwmmc1: dwmmc1@ff37f000 { /* SD */ dwmmc2: dwmmc2@ff3ff000 { /* SDIO */ watchdog0: watchdog@e8a06000 { watchdog1: watchdog@e8a07000 { tsensor: tsensor { }; ufs: ufs@ff3b0000 { }; hub5734_gpio:hub5734_gpio { tsensor: tsensor { ufs: ufs@ff3b0000 { hub5734_gpio:hub5734_gpio { hisi_usb@ff200000 { thermal-zones { cls0: cls0 { trips { threshold: trip-point@0 {}; target: trip-point@1 {}; }; cooling-maps { map0 {}; map1 {}; }; }; };// thermal-zones } }
2.#include "hikey960-pinctrl.dtsi"
3.#include "hi3660-gpu.dtsi"
4.#include "hi3660-drm.dtsi"
5.#include "hi3660-coresight.dtsi"
6.#include
7.#include
8.#include
9.