Created
January 25, 2016 09:54
-
-
Save apritzel/649f87c78d256131a2d0 to your computer and use it in GitHub Desktop.
proposed DT snippet for proper multi-parent bus gates clock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bus_gates: clk@01c20060 { | |
#clock-cells = <1>; | |
compatible = "allwinner,sun8i-h3-bus-gates-clk", "allwinner,sunxi-bus-gates-clk"; | |
reg = <0x01c20060 0x14>; | |
ahb1_parent { | |
clocks = <&ahb1>; | |
clock-indices = <5>, <6>, <8>, .... | |
clock-output-names = "ahb1_ce", "ahb1_dma", "ahb1_mmc0", ... | |
}; | |
apb1_parent { | |
clocks = <&apb1>; | |
clock-indices = <54>, <64>, | |
<65>, <69>, <72>, ... | |
clock-output-names = "apb1_spdif", "apb1_pio", "apb1_ths", ... | |
}; | |
ahb2_parent { | |
.... | |
}; | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment