Skip to content

Instantly share code, notes, and snippets.

@martinayotte
Last active July 28, 2016 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save martinayotte/145d11b2ef77b0a999027ee53ecc2b84 to your computer and use it in GitHub Desktop.
Save martinayotte/145d11b2ef77b0a999027ee53ecc2b84 to your computer and use it in GitHub Desktop.
/dts-v1/;
/memreserve/ 0x0000000045000000 0x0000000000200000;
/memreserve/ 0x0000000041010000 0x0000000000010000;
/memreserve/ 0x0000000041020000 0x0000000000000800;
/memreserve/ 0x0000000040100000 0x0000000000004000;
/memreserve/ 0x0000000040104000 0x0000000000001000;
/memreserve/ 0x0000000040105000 0x0000000000001000;
/ {
model = "sun50iw1p1";
compatible = "arm,sun50iw1p1", "arm,sun50iw1p1";
interrupt-parent = <0x1>;
#address-cells = <0x2>;
#size-cells = <0x2>;
clocks {
compatible = "allwinner,sunxi-clk-init";
device_type = "clocks";
#address-cells = <0x2>;
#size-cells = <0x2>;
ranges;
reg = <0x0 0x1c20000 0x0 0x320 0x0 0x1f01400 0x0 0xb0 0x0 0x1f00060 0x0 0x4>;
losc {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-clock";
clock-frequency = <0x8000>;
clock-output-names = "losc";
linux,phandle = <0xc>;
phandle = <0xc>;
};
iosc {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-clock";
clock-frequency = <0xf42400>;
clock-output-names = "iosc";
linux,phandle = <0xd>;
phandle = <0xd>;
};
hosc {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-clock";
clock-frequency = <0x16e3600>;
clock-output-names = "hosc";
linux,phandle = <0x6>;
phandle = <0x6>;
};
pll_cpu {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_cpu";
};
pll_audio {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
assigned-clock-rates = <0x1770000>;
clock-output-names = "pll_audio";
linux,phandle = <0x2>;
phandle = <0x2>;
};
pll_video0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
assigned-clock-rates = <0x11b3dc40>;
clock-output-names = "pll_video0";
linux,phandle = <0x3>;
phandle = <0x3>;
};
pll_ve {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_ve";
linux,phandle = <0x16>;
phandle = <0x16>;
};
pll_ddr0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_ddr0";
linux,phandle = <0x93>;
phandle = <0x93>;
};
pll_periph0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_periph0";
linux,phandle = <0x4>;
phandle = <0x4>;
};
pll_periph1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_periph1";
linux,phandle = <0x5>;
phandle = <0x5>;
};
pll_video1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
assigned-clock-rates = <0x11b3dc40>;
clock-output-names = "pll_video1";
};
pll_gpu {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_gpu";
linux,phandle = <0x96>;
phandle = <0x96>;
};
pll_mipi {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_mipi";
linux,phandle = <0x8>;
phandle = <0x8>;
};
pll_hsic {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_hsic";
linux,phandle = <0x3a>;
phandle = <0x3a>;
};
pll_de {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
assigned-clock-rates = <0x11b3dc40>;
clock-output-names = "pll_de";
linux,phandle = <0x7>;
phandle = <0x7>;
};
pll_ddr1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-pll-clock";
lock-mode = "new";
clock-output-names = "pll_ddr1";
linux,phandle = <0x94>;
phandle = <0x94>;
};
pll_audiox8 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x2>;
clock-mult = <0x8>;
clock-div = <0x1>;
clock-output-names = "pll_audiox8";
};
pll_audiox4 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x2>;
clock-mult = <0x8>;
clock-div = <0x2>;
clock-output-names = "pll_audiox4";
linux,phandle = <0x3c>;
phandle = <0x3c>;
};
pll_audiox2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x2>;
clock-mult = <0x8>;
clock-div = <0x4>;
clock-output-names = "pll_audiox2";
};
pll_video0x2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x3>;
clock-mult = <0x2>;
clock-div = <0x1>;
clock-output-names = "pll_video0x2";
};
pll_periph0x2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x4>;
clock-mult = <0x2>;
clock-div = <0x1>;
clock-output-names = "pll_periph0x2";
linux,phandle = <0x7b>;
phandle = <0x7b>;
};
pll_periph1x2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x5>;
clock-mult = <0x2>;
clock-div = <0x1>;
clock-output-names = "pll_periph1x2";
linux,phandle = <0x5a>;
phandle = <0x5a>;
};
pll_periph0d2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x4>;
clock-mult = <0x1>;
clock-div = <0x2>;
clock-output-names = "pll_periph0d2";
};
hoscd2 {
#clock-cells = <0x0>;
compatible = "allwinner,fixed-factor-clock";
clocks = <0x6>;
clock-mult = <0x1>;
clock-div = <0x2>;
clock-output-names = "hoscd2";
};
cpu {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "cpu";
};
cpuapb {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "cpuapb";
};
axi {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "axi";
};
pll_periphahb0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "pll_periphahb0";
};
ahb1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ahb1";
linux,phandle = <0x95>;
phandle = <0x95>;
};
apb1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "apb1";
};
apb2 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "apb2";
linux,phandle = <0x7e>;
phandle = <0x7e>;
};
ahb2 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ahb2";
};
ths {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ths";
linux,phandle = <0x84>;
phandle = <0x84>;
};
nand {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "nand";
linux,phandle = <0x80>;
phandle = <0x80>;
};
sdmmc0_mod {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc0_mod";
linux,phandle = <0x60>;
phandle = <0x60>;
};
sdmmc0_bus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc0_bus";
linux,phandle = <0x61>;
phandle = <0x61>;
};
sdmmc0_rst {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc0_rst";
linux,phandle = <0x62>;
phandle = <0x62>;
};
sdmmc1_mod {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc1_mod";
linux,phandle = <0x65>;
phandle = <0x65>;
};
sdmmc1_bus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc1_bus";
linux,phandle = <0x66>;
phandle = <0x66>;
};
sdmmc1_rst {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc1_rst";
linux,phandle = <0x67>;
phandle = <0x67>;
};
sdmmc2_mod {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc2_mod";
linux,phandle = <0x5b>;
phandle = <0x5b>;
};
sdmmc2_bus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc2_bus";
linux,phandle = <0x5c>;
phandle = <0x5c>;
};
sdmmc2_rst {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdmmc2_rst";
linux,phandle = <0x5d>;
phandle = <0x5d>;
};
ts {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ts";
};
ce {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ce";
linux,phandle = <0x7a>;
phandle = <0x7a>;
};
spi0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "spi0";
linux,phandle = <0x52>;
phandle = <0x52>;
};
spi1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "spi1";
linux,phandle = <0x56>;
phandle = <0x56>;
};
i2s0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "i2s0";
linux,phandle = <0x42>;
phandle = <0x42>;
};
i2s1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "i2s1";
linux,phandle = <0x47>;
phandle = <0x47>;
};
i2s2 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "i2s2";
linux,phandle = <0x48>;
phandle = <0x48>;
};
spdif {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "spdif";
linux,phandle = <0x49>;
phandle = <0x49>;
};
usbphy0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbphy0";
linux,phandle = <0x32>;
phandle = <0x32>;
};
usbphy1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbphy1";
linux,phandle = <0x36>;
phandle = <0x36>;
};
usbhsic {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbhsic";
linux,phandle = <0x38>;
phandle = <0x38>;
};
usbhsic12m {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbhsic12m";
linux,phandle = <0x39>;
phandle = <0x39>;
};
usbohci1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbohci1";
linux,phandle = <0x3b>;
phandle = <0x3b>;
};
usbohci0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbohci0";
linux,phandle = <0x35>;
phandle = <0x35>;
};
de {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
assigned-clock-parents = <0x7>;
assigned-clock-rates = <0x11b3dc40>;
clock-output-names = "de";
linux,phandle = <0x6a>;
phandle = <0x6a>;
};
tcon0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
assigned-clock-parents = <0x8>;
clock-output-names = "tcon0";
linux,phandle = <0x6b>;
phandle = <0x6b>;
};
tcon1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
assigned-clock-parents = <0x3>;
clock-output-names = "tcon1";
linux,phandle = <0x6e>;
phandle = <0x6e>;
};
deinterlace {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "deinterlace";
linux,phandle = <0x7c>;
phandle = <0x7c>;
};
csi_s {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "csi_s";
linux,phandle = <0x73>;
phandle = <0x73>;
};
csi_m {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "csi_m";
linux,phandle = <0x74>;
phandle = <0x74>;
};
csi_misc {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "csi_misc";
linux,phandle = <0x75>;
phandle = <0x75>;
};
ve {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "ve";
linux,phandle = <0x17>;
phandle = <0x17>;
};
adda {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "adda";
linux,phandle = <0x41>;
phandle = <0x41>;
};
addax4 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "addax4";
};
avs {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "avs";
};
hdmi {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
assigned-clock-parents = <0x3>;
clock-output-names = "hdmi";
linux,phandle = <0x6f>;
phandle = <0x6f>;
};
hdmi_slow {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "hdmi_slow";
linux,phandle = <0x70>;
phandle = <0x70>;
};
mbus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "mbus";
};
mipidsi {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "mipidsi";
linux,phandle = <0x6d>;
phandle = <0x6d>;
};
gpu {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "gpu";
linux,phandle = <0x97>;
phandle = <0x97>;
};
usbehci_16 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbohci_16";
};
usbehci1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbehci1";
linux,phandle = <0x37>;
phandle = <0x37>;
};
usbehci0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbehci0";
linux,phandle = <0x34>;
phandle = <0x34>;
};
usbotg {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "usbotg";
linux,phandle = <0x33>;
phandle = <0x33>;
};
gmac {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "gmac";
linux,phandle = <0x8f>;
phandle = <0x8f>;
};
sdram {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "sdram";
};
dma {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "dma";
linux,phandle = <0xb>;
phandle = <0xb>;
};
hwspinlock_rst {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "hwspinlock_rst";
linux,phandle = <0xf>;
phandle = <0xf>;
};
hwspinlock_bus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "hwspinlock_bus";
linux,phandle = <0x10>;
phandle = <0x10>;
};
msgbox {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "msgbox";
linux,phandle = <0xe>;
phandle = <0xe>;
};
lvds {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "lvds";
linux,phandle = <0x6c>;
phandle = <0x6c>;
};
uart0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "uart0";
linux,phandle = <0x18>;
phandle = <0x18>;
};
uart1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "uart1";
linux,phandle = <0x1b>;
phandle = <0x1b>;
};
uart2 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "uart2";
linux,phandle = <0x1e>;
phandle = <0x1e>;
};
uart3 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "uart3";
linux,phandle = <0x21>;
phandle = <0x21>;
};
uart4 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "uart4";
linux,phandle = <0x24>;
phandle = <0x24>;
};
scr {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "scr";
linux,phandle = <0x7d>;
phandle = <0x7d>;
};
twi0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "twi0";
linux,phandle = <0x27>;
phandle = <0x27>;
};
twi1 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "twi1";
linux,phandle = <0x2a>;
phandle = <0x2a>;
};
twi2 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "twi2";
linux,phandle = <0x2d>;
phandle = <0x2d>;
};
twi3 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "twi3";
linux,phandle = <0x2e>;
phandle = <0x2e>;
};
pio {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-clock";
clock-output-names = "pio";
linux,phandle = <0xa>;
phandle = <0xa>;
};
cpurcir {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurcir";
linux,phandle = <0x12>;
phandle = <0x12>;
};
cpurpio {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurpio";
linux,phandle = <0x9>;
phandle = <0x9>;
};
cpurpll_peri0 {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurpll_peri0";
};
cpurcpus {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurcpus";
};
cpurahbs {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurahbs";
};
cpurapbs {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "cpurapbs";
};
losc_out {
#clock-cells = <0x0>;
compatible = "allwinner,sunxi-periph-cpus-clock";
clock-output-names = "losc_out";
linux,phandle = <0x98>;
phandle = <0x98>;
};
};
soc@01c00000 {
compatible = "simple-bus";
#address-cells = <0x2>;
#size-cells = <0x2>;
ranges;
device_type = "soc";
pinctrl@01f02c00 {
compatible = "allwinner,sun50i-r-pinctrl";
reg = <0x0 0x1f02c00 0x0 0x400>;
interrupts = <0x0 0x2d 0x4>;
clocks = <0x9>;
device_type = "r_pio";
gpio-controller;
interrupt-controller;
#interrupt-cells = <0x2>;
#size-cells = <0x0>;
#gpio-cells = <0x6>;
linux,phandle = <0x79>;
phandle = <0x79>;
s_cir0@0 {
allwinner,pins = "PL11";
allwinner,function = "s_cir0";
allwinner,muxsel = <0x2>;
allwinner,drive = <0x2>;
allwinner,pull = <0x1>;
linux,phandle = <0x11>;
phandle = <0x11>;
};
spwm0@0 {
linux,phandle = <0xaf>;
phandle = <0xaf>;
allwinner,pins = "PL10";
allwinner,function = "spwm0";
allwinner,pname = "pwm_positive";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x0>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
spwm0@1 {
linux,phandle = <0xb0>;
phandle = <0xb0>;
allwinner,pins = "PL10";
allwinner,function = "spwm0";
allwinner,pname = "pwm_positive";
allwinner,muxsel = <0x7>;
allwinner,pull = <0x0>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
s_uart0@0 {
linux,phandle = <0xb6>;
phandle = <0xb6>;
allwinner,pins = "PL2", "PL3";
allwinner,function = "s_uart0";
allwinner,pname = "s_uart0_tx", "s_uart0_rx";
allwinner,muxsel = <0x2>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
s_rsb0@0 {
linux,phandle = <0xb7>;
phandle = <0xb7>;
allwinner,pins = "PL0", "PL1";
allwinner,function = "s_rsb0";
allwinner,pname = "s_rsb0_sck", "s_rsb0_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x2>;
allwinner,data = <0xffffffff>;
};
s_jtag0@0 {
linux,phandle = <0xb8>;
phandle = <0xb8>;
allwinner,pins = "PL4", "PL5", "PL6", "PL7";
allwinner,function = "s_jtag0";
allwinner,pname = "s_jtag0_tms", "s_jtag0_tck", "s_jtag0_tdo", "s_jtag0_tdi";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x2>;
allwinner,data = <0xffffffff>;
};
s_twi@0 {
linux,phandle = <0xbb>;
phandle = <0xbb>;
allwinner,pins = "PL8", "PL9";
allwinner,function = "s_twi0";
allwinner,pname = "s_twi0_scl", "s_twi0_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
};
pinctrl@01c20800 {
compatible = "allwinner,sun50i-pinctrl";
reg = <0x0 0x1c20800 0x0 0x400>;
interrupts = <0x0 0xb 0x4 0x0 0x11 0x4 0x0 0x15 0x4>;
device_type = "pio";
clocks = <0xa>;
gpio-controller;
interrupt-controller;
#interrupt-cells = <0x2>;
#size-cells = <0x0>;
#gpio-cells = <0x06>;
linux,phandle = <0x30>;
phandle = <0x30>;
uart0@1 {
allwinner,pins = "PB8", "PB9";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x1a>;
phandle = <0x1a>;
};
uart1@1 {
allwinner,pins = "PG6", "PG7", "PG8", "PG9";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x1d>;
phandle = <0x1d>;
};
uart2@1 {
allwinner,pins = "PB0", "PB1", "PB2", "PB3";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x20>;
phandle = <0x20>;
};
uart3@1 {
allwinner,pins = "PD0", "PD1", "PH6", "PH7";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x23>;
phandle = <0x23>;
};
uart4@1 {
allwinner,pins = "PD2", "PD3", "PD4", "PD5";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x26>;
phandle = <0x26>;
};
twi0@1 {
allwinner,pins = "PH0", "PH1";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x29>;
phandle = <0x29>;
};
twi1@1 {
allwinner,pins = "PH2", "PH3";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x2c>;
phandle = <0x2c>;
};
twi2@1 {
allwinner,pins = "PE14", "PE15";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x2f>;
phandle = <0x2f>;
};
spi0@2 {
allwinner,pins = "PC3", "PC2", "PC0", "PC1";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x55>;
phandle = <0x55>;
};
spi1@2 {
allwinner,pins = "PD0", "PD1", "PD2", "PD3";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x59>;
phandle = <0x59>;
};
sdc0@1 {
allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x64>;
phandle = <0x64>;
};
sdc1@1 {
allwinner,pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x69>;
phandle = <0x69>;
};
sdc2@1 {
allwinner,pins = "PC1", "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x5f>;
phandle = <0x5f>;
};
daudio0@0 {
allwinner,pins = "PB6", "PB3", "PB4", "PB5", "PB7";
allwinner,function = "pcm0";
allwinner,muxsel = <0x3>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x43>;
phandle = <0x43>;
};
daudio0_sleep@0 {
allwinner,pins = "PB6", "PB3", "PB4", "PB5", "PB7";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x44>;
phandle = <0x44>;
};
daudio1@0 {
allwinner,pins = "PG10", "PG11", "PG12", "PG13";
allwinner,function = "pcm1";
allwinner,muxsel = <0x3>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x45>;
phandle = <0x45>;
};
daudio1_sleep@0 {
allwinner,pins = "PG10", "PG11", "PG12", "PG13";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x46>;
phandle = <0x46>;
};
aif3@0 {
allwinner,pins = "PG10", "PG11", "PG12", "PG13";
allwinner,function = "aif3";
allwinner,muxsel = <0x2>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x3e>;
phandle = <0x3e>;
};
aif2_sleep@0 {
allwinner,pins = "PB6", "PB4", "PB5", "PB7";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x3f>;
phandle = <0x3f>;
};
aif3_sleep@0 {
allwinner,pins = "PG10", "PG11", "PG12", "PG13";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x40>;
phandle = <0x40>;
};
spdif@0 {
allwinner,pins = "PH8";
allwinner,function = "spdif0";
allwinner,muxsel = <0x2>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x4a>;
phandle = <0x4a>;
};
spdif_sleep@0 {
allwinner,pins = "PH8";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x4b>;
phandle = <0x4b>;
};
csi0_sleep@0 {
allwinner,pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13";
allwinner,pname = "csi0_pck", "csi0_hsync", "csi0_vsync", "csi0_d0", "csi0_d1", "csi0_d2", "csi0_d3", "csi0_d4", "csi0_d5", "csi0_d6", "csi0_d7", "csi0_sck", "csi0_sda";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
allwinner,data = <0x0>;
linux,phandle = <0x77>;
phandle = <0x77>;
};
smartcard@0 {
allwinner,pins = "PB1", "PB4", "PB5", "PB6", "PB7";
allwinner,function = "sim0";
allwinner,muxsel = <0x5>;
allwinner,drive = <0x1>;
allwinner,pull = <0x1>;
linux,phandle = <0x7f>;
phandle = <0x7f>;
};
nand0@2 {
allwinner,pins = "PC0", "PC1", "PC2", "PC3", "PC4", "PC5", "PC6", "PC7", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16", "PC17", "PC18";
allwinner,function = "io_disabled";
allwinner,muxsel = <0x7>;
allwinner,drive = <0x1>;
allwinner,pull = <0x0>;
linux,phandle = <0x83>;
phandle = <0x83>;
};
card0_boot_para@0 {
linux,phandle = <0x99>;
phandle = <0x99>;
allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
allwinner,function = "card0_boot_para";
allwinner,pname = "sdc_d1", "sdc_d0", "sdc_clk", "sdc_cmd", "sdc_d3", "sdc_d2";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x2>;
allwinner,data = <0xffffffff>;
};
card2_boot_para@0 {
linux,phandle = <0x9a>;
phandle = <0x9a>;
allwinner,pins = "PC1", "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16";
allwinner,function = "card2_boot_para";
allwinner,pname = "sdc_ds", "sdc_clk", "sdc_cmd", "sdc_d0", "sdc_d1", "sdc_d2", "sdc_d3", "sdc_d4", "sdc_d5", "sdc_d6", "sdc_d7", "sdc_emmc_rst";
allwinner,muxsel = <0x3>;
allwinner,pull = <0x1>;
allwinner,drive = <0x3>;
allwinner,data = <0xffffffff>;
};
twi_para@0 {
linux,phandle = <0x9b>;
phandle = <0x9b>;
allwinner,pins = "PH0", "PH1";
allwinner,function = "twi_para";
allwinner,pname = "twi_scl", "twi_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart_para@0 {
linux,phandle = <0x9c>;
phandle = <0x9c>;
allwinner,pins = "PB8", "PB9";
allwinner,function = "uart_para";
allwinner,pname = "uart_debug_tx", "uart_debug_rx";
allwinner,muxsel = <0x4>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
jtag_para@0 {
linux,phandle = <0x9d>;
phandle = <0x9d>;
allwinner,pins = "PB0", "PB1", "PB2", "PB3";
allwinner,function = "jtag_para";
allwinner,pname = "jtag_ms", "jtag_ck", "jtag_do", "jtag_di";
allwinner,muxsel = <0x4>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
gmac0@0 {
linux,phandle = <0x9e>;
phandle = <0x9e>;
allwinner,pins = "PD18", "PD17", "PD16", "PD15", "PD20", "PD19", "PD11", "PD10", "PD9", "PD8", "PD13", "PD12", "PD21", "PD22", "PD23";
allwinner,function = "gmac0";
allwinner,pname = "gmac_txd0", "gmac_txd1", "gmac_txd2", "gmac_txd3", "gmac_txen", "gmac_gtxclk", "gmac_rxd0", "gmac_rxd1", "gmac_rxd2", "gmac_rxd3", "gmac_rxdv", "gmac_rxclk", "gmac_clkin", "gmac_mdc", "gmac_mdio";
allwinner,muxsel = <0x4>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
twi0@0 {
linux,phandle = <0x9f>;
phandle = <0x9f>;
allwinner,pins = "PH0", "PH1";
allwinner,function = "twi0";
allwinner,pname = "twi0_scl", "twi0_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
twi1@0 {
linux,phandle = <0xa0>;
phandle = <0xa0>;
allwinner,pins = "PH2", "PH3";
allwinner,function = "twi1";
allwinner,pname = "twi1_scl", "twi1_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
twi2@0 {
linux,phandle = <0xa1>;
phandle = <0xa1>;
allwinner,pins = "PE14", "PE15";
allwinner,function = "twi2";
allwinner,pname = "twi2_scl", "twi2_sda";
allwinner,muxsel = <0x3>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart0@0 {
linux,phandle = <0xa2>;
phandle = <0xa2>;
allwinner,pins = "PB8", "PB9";
allwinner,function = "uart0";
allwinner,pname = "uart0_tx", "uart0_rx";
allwinner,muxsel = <0x4>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart1@0 {
linux,phandle = <0xa3>;
phandle = <0xa3>;
allwinner,pins = "PG6", "PG7", "PG8", "PG9";
allwinner,function = "uart1";
allwinner,pname = "uart1_tx", "uart1_rx", "uart1_rts", "uart1_cts";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart2@0 {
linux,phandle = <0xa4>;
phandle = <0xa4>;
allwinner,pins = "PB0", "PB1", "PB2", "PB3";
allwinner,function = "uart2";
allwinner,pname = "uart2_tx", "uart2_rx", "uart2_rts", "uart2_cts";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart3@0 {
linux,phandle = <0xa5>;
phandle = <0xa5>;
allwinner,pins = "PD0", "PD1";
allwinner,function = "uart3";
allwinner,pname = "uart3_tx", "uart3_rx";
allwinner,muxsel = <0x3>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
uart4@0 {
linux,phandle = <0xa6>;
phandle = <0xa6>;
allwinner,pins = "PD2", "PD3", "PD4", "PD5";
allwinner,function = "uart4";
allwinner,pname = "uart4_tx", "uart4_rx", "uart4_rts", "uart4_cts";
allwinner,muxsel = <0x3>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
spi0@0 {
linux,phandle = <0xa7>;
phandle = <0xa7>;
allwinner,pins = "PC3";
allwinner,function = "spi0";
allwinner,pname = "spi0_cs0";
allwinner,muxsel = <0x4>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
spi0@1 {
linux,phandle = <0xa8>;
phandle = <0xa8>;
allwinner,pins = "PC2", "PC0", "PC1";
allwinner,function = "spi0";
allwinner,pname = "spi0_sclk", "spi0_mosi", "spi0_miso";
allwinner,muxsel = <0x4>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
spi1@0 {
linux,phandle = <0xa9>;
phandle = <0xa9>;
allwinner,pins = "PD0";
allwinner,function = "spi1";
allwinner,pname = "spi1_cs0";
allwinner,muxsel = <0x4>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
spi1@1 {
linux,phandle = <0xaa>;
phandle = <0xaa>;
allwinner,pins = "PD1", "PD2", "PD3";
allwinner,function = "spi1";
allwinner,pname = "spi1_sclk", "spi1_mosi", "spi1_miso";
allwinner,muxsel = <0x4>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
nand0@0 {
linux,phandle = <0xab>;
phandle = <0xab>;
allwinner,pins = "PC0", "PC1", "PC2", "PC5", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16";
allwinner,function = "nand0";
allwinner,pname = "nand0_we", "nand0_ale", "nand0_cle", "nand0_nre", "nand0_d0", "nand0_d1", "nand0_d2", "nand0_d3", "nand0_d4", "nand0_d5", "nand0_d6", "nand0_d7", "nand0_ndqs";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x0>;
allwinner,drive = <0x1>;
allwinner,data = <0xffffffff>;
};
nand0@1 {
linux,phandle = <0xac>;
phandle = <0xac>;
allwinner,pins = "PC3", "PC4", "PC6", "PC7", "PC17", "PC18";
allwinner,function = "nand0";
allwinner,pname = "nand0_ce1", "nand0_ce0", "nand0_rb0", "nand0_rb1", "nand0_ce2", "nand0_ce3";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x1>;
allwinner,data = <0xffffffff>;
};
pwm0@0 {
linux,phandle = <0xad>;
phandle = <0xad>;
allwinner,pins = "PD22";
allwinner,function = "pwm0";
allwinner,pname = "pwm_positive";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x0>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
pwm0@1 {
linux,phandle = <0xae>;
phandle = <0xae>;
allwinner,pins = "PD22";
allwinner,function = "pwm0";
allwinner,pname = "pwm_positive";
allwinner,muxsel = <0x7>;
allwinner,pull = <0x0>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
csi0@0 {
linux,phandle = <0xb1>;
phandle = <0xb1>;
allwinner,pins = "PE0", "PE2", "PE3", "PE4", "PE5", "PE6", "PE7", "PE8", "PE9", "PE10", "PE11", "PE12", "PE13";
allwinner,function = "csi0";
allwinner,pname = "csi0_pck", "csi0_hsync", "csi0_vsync", "csi0_d0", "csi0_d1", "csi0_d2", "csi0_d3", "csi0_d4", "csi0_d5", "csi0_d6", "csi0_d7", "csi0_sck", "csi0_sda";
allwinner,muxsel = <0x2>;
allwinner,pull = <0xffffffff>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
sdc0@0 {
linux,phandle = <0xb2>;
phandle = <0xb2>;
allwinner,pins = "PF0", "PF1", "PF2", "PF3", "PF4", "PF5";
allwinner,function = "sdc0";
allwinner,pname = "sdc0_d1", "sdc0_d0", "sdc0_clk", "sdc0_cmd", "sdc0_d3", "sdc0_d2";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x2>;
allwinner,data = <0xffffffff>;
};
sdc1@0 {
linux,phandle = <0xb3>;
phandle = <0xb3>;
allwinner,pins = "PG0", "PG1", "PG2", "PG3", "PG4", "PG5";
allwinner,function = "sdc1";
allwinner,pname = "sdc1_clk", "sdc1_cmd", "sdc1_d0", "sdc1_d1", "sdc1_d2", "sdc1_d3";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0x3>;
allwinner,data = <0xffffffff>;
};
sdc2@0 {
linux,phandle = <0xb4>;
phandle = <0xb4>;
allwinner,pins = "PC1", "PC5", "PC6", "PC8", "PC9", "PC10", "PC11", "PC12", "PC13", "PC14", "PC15", "PC16";
allwinner,function = "sdc2";
allwinner,pname = "sdc2_ds", "sdc2_clk", "sdc2_cmd", "sdc2_d0", "sdc2_d1", "sdc2_d2", "sdc2_d3", "sdc2_d4", "sdc2_d5", "sdc2_d6", "sdc2_d7", "sdc2_emmc_rst";
allwinner,muxsel = <0x3>;
allwinner,pull = <0x1>;
allwinner,drive = <0x3>;
allwinner,data = <0xffffffff>;
};
codec@0 {
linux,phandle = <0xb5>;
phandle = <0xb5>;
allwinner,pins = "PH7";
allwinner,function = "codec";
allwinner,pname = "gpio-spk";
allwinner,muxsel = <0x2>;
allwinner,pull = <0x1>;
allwinner,drive = <0xffffffff>;
allwinner,data = <0xffffffff>;
};
Vdevice@0 {
linux,phandle = <0xb9>;
phandle = <0xb9>;
allwinner,pins = "PB1", "PB2";
allwinner,function = "Vdevice";
allwinner,pname = "Vdevice_0", "Vdevice_1";
allwinner,muxsel = <0x4>;
allwinner,pull = <0x1>;
allwinner,drive = <0x2>;
allwinner,data = <0xffffffff>;
};
w1_pin@0 {
linux,phandle = <0xba>;
phandle = <0xba>;
allwinner,pins = "PC8";
allwinner,function = "gpio_in";
allwinner,pname = "w1";
allwinner,muxsel = <0x0>;
allwinner,pull = <0x1>;
allwinner,drive = <0x0>;
allwinner,data = <0xffffffff>;
};
};
pinctrl@0 {
compatible = "allwinner,axp-pinctrl";
gpio-controller;
#size-cells = <0x0>;
#gpio-cells = <0x6>;
device_type = "axp_pio";
linux,phandle = <0x31>;
phandle = <0x31>;
};
dma-controller@01c02000 {
compatible = "allwinner,sun50i-dma";
reg = <0x0 0x1c02000 0x0 0x1000>;
interrupts = <0x0 0x32 0x4>;
clocks = <0xb>;
#dma-cells = <0x1>;
};
mbus-controller@01c62000 {
compatible = "allwinner,sun50i-mbus";
reg = <0x0 0x1c62000 0x0 0x110>;
#mbus-cells = <0x1>;
};
arisc {
compatible = "allwinner,sunxi-arisc";
#address-cells = <0x2>;
#size-cells = <0x2>;
clocks = <0xc 0xd 0x6 0x4>;
clock-names = "losc", "iosc", "hosc", "pll_periph0";
powchk_used = <0x0>;
power_reg = <0x2309621>;
system_power = <0x32>;
};
arisc_space {
compatible = "allwinner,arisc_space";
space1 = <0x40000 0x0 0x14000>;
space2 = <0x40100000 0x18000 0x4000>;
space3 = <0x40104000 0x0 0x1000>;
space4 = <0x40105000 0x0 0x1000>;
};
standby_space {
compatible = "allwinner,standby_space";
space1 = <0x41020000 0x0 0x800>;
};
msgbox@1c17000 {
compatible = "allwinner,msgbox";
clocks = <0xe>;
clock-names = "clk_msgbox";
reg = <0x0 0x1c17000 0x0 0x1000>;
interrupts = <0x0 0x31 0x1>;
status = "okay";
};
hwspinlock@1c18000 {
compatible = "allwinner,sunxi-hwspinlock";
clocks = <0xf 0x10>;
clock-names = "clk_hwspinlock_rst", "clk_hwspinlock_bus";
reg = <0x0 0x1c18000 0x0 0x1000>;
status = "okay";
num-locks = <0x8>;
};
s_cir@1f02000 {
compatible = "allwinner,s_cir";
reg = <0x0 0x1f02000 0x0 0x400>;
interrupts = <0x0 0x25 0x4>;
pinctrl-names = "default";
pinctrl-0 = <0x11>;
clocks = <0x6 0x12>;
supply = "vcc-pl";
ir_power_key_code = <0x4d>;
ir_addr_code = <0x4040>;
status = "okay";
device_type = "s_cir0";
};
s_uart@1f02800 {
compatible = "allwinner,s_uart";
reg = <0x0 0x1f02800 0x0 0x400>;
interrupts = <0x0 0x26 0x4>;
pinctrl-names = "default";
status = "okay";
device_type = "s_uart0";
pinctrl-0 = <0xb6>;
};
s_rsb@1f03400 {
compatible = "allwinner,s_rsb";
reg = <0x0 0x1f03400 0x0 0x400>;
interrupts = <0x0 0x27 0x4>;
pinctrl-names = "default";
status = "okay";
device_type = "s_rsb0";
pinctrl-0 = <0xb7>;
};
s_jtag0 {
compatible = "allwinner,s_jtag";
pinctrl-names = "default";
status = "disabled";
device_type = "s_jtag0";
pinctrl-0 = <0xb8>;
};
s_twi@0x01f02400 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-twi";
device_type = "s_twi0";
reg = <0x0 0x1f02400 0x0 0x400>;
interrupts = <0x0 0x2c 0x4>;
clocks = <0x2e>;
clock-frequency = <0x30d40>;
pinctrl-names = "default"; // , "sleep";
// pinctrl-1 = <0x2f>;
status = "okay";
pinctrl-0 = <0xbb>;
};
timer@1c20c00 {
compatible = "allwinner,sunxi-timer";
device_type = "timer";
reg = <0x0 0x1c20c00 0x0 0x90>;
interrupts = <0x0 0x12 0x1>;
clock-frequency = <0x16e3600>;
timer-prescale = <0x10>;
};
rtc@01f00000 {
compatible = "allwinner,sun50i-rtc";
device_type = "rtc";
reg = <0x0 0x1f00000 0x0 0x218>;
interrupts = <0x0 0x28 0x4>;
gpr_offset = <0x100>;
gpr_len = <0x4>;
};
ve@01c0e000 {
compatible = "allwinner,sunxi-cedar-ve";
reg = <0x0 0x1c0e000 0x0 0x1000 0x0 0x1c00000 0x0 0x10 0x0 0x1c20000 0x0 0x800>;
interrupts = <0x0 0x3a 0x4>;
clocks = <0x16 0x17>;
};
uart@01c28000 {
compatible = "allwinner,sun50i-uart";
device_type = "uart0";
reg = <0x0 0x1c28000 0x0 0x400>;
interrupts = <0x0 0x0 0x4>;
clocks = <0x18>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x1a>;
uart0_port = <0x0>;
uart0_type = <0x2>;
status = "okay";
pinctrl-0 = <0xa2>;
};
uart@01c28400 {
compatible = "allwinner,sun50i-uart";
device_type = "uart1";
reg = <0x0 0x1c28400 0x0 0x400>;
interrupts = <0x0 0x1 0x4>;
clocks = <0x1b>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x1d>;
uart1_port = <0x1>;
uart1_type = <0x4>;
status = "okay";
pinctrl-0 = <0xa3>;
};
uart@01c28800 {
compatible = "allwinner,sun50i-uart";
device_type = "uart2";
reg = <0x0 0x1c28800 0x0 0x400>;
interrupts = <0x0 0x2 0x4>;
clocks = <0x1e>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x20>;
uart2_port = <0x2>;
uart2_type = <0x4>;
status = "okay";
pinctrl-0 = <0xa4>;
};
uart@01c28c00 {
compatible = "allwinner,sun50i-uart";
device_type = "uart3";
reg = <0x0 0x1c28c00 0x0 0x400>;
interrupts = <0x0 0x3 0x4>;
clocks = <0x21>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x23>;
uart3_port = <0x3>;
uart3_type = <0x4>;
status = "disabled";
pinctrl-0 = <0xa5>;
};
uart@01c29000 {
compatible = "allwinner,sun50i-uart";
device_type = "uart4";
reg = <0x0 0x1c29000 0x0 0x400>;
interrupts = <0x0 0x4 0x4>;
clocks = <0x24>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x26>;
uart4_port = <0x4>;
uart4_type = <0x4>;
status = "disabled";
pinctrl-0 = <0xa6>;
};
twi@0x01c2ac00 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-twi";
device_type = "twi0";
reg = <0x0 0x1c2ac00 0x0 0x400>;
interrupts = <0x0 0x6 0x4>;
clocks = <0x27>;
clock-frequency = <0x61a80>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x29>;
status = "okay";
pinctrl-0 = <0x9f>;
};
twi@0x01c2b000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-twi";
device_type = "twi1";
reg = <0x0 0x1c2b000 0x0 0x400>;
interrupts = <0x0 0x7 0x4>;
clocks = <0x2a>;
clock-frequency = <0x30d40>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x2c>;
status = "okay";
pinctrl-0 = <0xa0>;
};
twi@0x01c2b400 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-twi";
device_type = "twi2";
reg = <0x0 0x1c2b400 0x0 0x400>;
interrupts = <0x0 0x8 0x4>;
clocks = <0x2d>;
clock-frequency = <0x30d40>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x2f>;
status = "okay";
pinctrl-0 = <0xa1>;
};
usbc0@0 {
device_type = "usbc0";
compatible = "allwinner,sunxi-otg-manager";
usb_port_type = <0x1>;
usb_detect_type = <0x0>;
usb_host_init_state = <0x1>;
usb_regulator_io = "nocare";
usb_wakeup_suspend = <0x1>;
usb_luns = <0x3>;
usb_serial_unique = <0x1>;
usb_serial_number = "20080411";
rndis_wceis = <0x1>;
status = "okay";
usb_id_gpio;
usb_det_vbus_gpio;
usb_drv_vbus_gpio;
};
udc-controller@0x01c19000 {
compatible = "allwinner,sunxi-udc";
reg = <0x0 0x1c19000 0x0 0x1000 0x0 0x1c00000 0x0 0x100>;
interrupts = <0x0 0x47 0x4>;
clocks = <0x32 0x33>;
status = "okay";
};
ehci0-controller@0x01c1a000 {
compatible = "allwinner,sunxi-ehci0";
reg = <0x0 0x1c1a000 0x0 0xfff 0x0 0x1c00000 0x0 0x100 0x0 0x1c19000 0x0 0x1000>;
interrupts = <0x0 0x48 0x4>;
clocks = <0x32 0x34>;
hci_ctrl_no = <0x0>;
status = "okay";
};
ohci0-controller@0x01c1a400 {
compatible = "allwinner,sunxi-ohci0";
reg = <0x0 0x1c1a000 0x0 0xfff 0x0 0x1c00000 0x0 0x100 0x0 0x1c19000 0x0 0x1000>;
interrupts = <0x0 0x49 0x4>;
clocks = <0x32 0x35>;
hci_ctrl_no = <0x0>;
status = "okay";
};
usbc1@0 {
device_type = "usbc1";
usb_host_init_state = <0x1>;
usb_regulator_io = "nocare";
usb_wakeup_suspend = <0x1>;
usb_hsic_used = <0x0>;
usb_hsic_regulator_io = "vcc-hsic-12";
usb_hsic_ctrl = <0x0>;
usb_hsic_usb3503_flag = <0x0>;
status = "okay";
usb_port_type = <0x1>;
usb_detect_type = <0x0>;
usb_drv_vbus_gpio;
usb_hsic_rdy_gpio;
usb_hsic_hub_connect_gpio;
usb_hsic_int_n_gpio;
usb_hsic_reset_n_gpio;
};
ehci1-controller@0x01c1b000 {
compatible = "allwinner,sunxi-ehci1";
reg = <0x0 0x1c1b000 0x0 0xfff 0x0 0x1c00000 0x0 0x100 0x0 0x1c19000 0x0 0x1000>;
interrupts = <0x0 0x4a 0x4>;
clocks = <0x36 0x37 0x38 0x39 0x3a>;
hci_ctrl_no = <0x1>;
status = "okay";
};
ohci1-controller@0x01c1b400 {
compatible = "allwinner,sunxi-ohci1";
reg = <0x0 0x1c1b000 0x0 0xfff 0x0 0x1c00000 0x0 0x100 0x0 0x1c19000 0x0 0x1000>;
interrupts = <0x0 0x4b 0x4>;
clocks = <0x36 0x3b>;
hci_ctrl_no = <0x1>;
status = "okay";
};
codec@0x01c22c00 {
compatible = "allwinner,sunxi-internal-codec";
reg = <0x0 0x1c22c00 0x0 0x478 0x0 0x1f015c0 0x0 0x0>;
clocks = <0x3c>;
pinctrl-names = "aif2-default", "aif3-default", "aif2-sleep", "aif3-sleep";
pinctrl-1 = <0x3e>;
pinctrl-2 = <0x3f>;
pinctrl-3 = <0x40>;
gpio-spk = <0x30 0x7 0x7 0x1 0x1 0x1 0x1>;
headphonevol = <0x3b>;
spkervol = <0x1a>;
earpiecevol = <0x1e>;
maingain = <0x4>;
headsetmicgain = <0x4>;
adcagc_cfg = <0x0>;
adcdrc_cfg = <0x0>;
adchpf_cfg = <0x0>;
dacdrc_cfg = <0x0>;
dachpf_cfg = <0x0>;
aif1_lrlk_div = <0x40>;
aif2_lrlk_div = <0x40>;
aif2config = <0x0>;
aif3config = <0x0>;
pa_sleep_time = <0x15e>;
dac_digital_vol = <0xa0a0>;
status = "okay";
linux,phandle = <0x4d>;
phandle = <0x4d>;
device_type = "codec";
pinctrl-0 = <0xb5>;
};
i2s0-controller@0x01c22c00 {
compatible = "allwinner,sunxi-internal-i2s";
reg = <0x0 0x1c22c00 0x0 0x478>;
clocks = <0x2 0x41>;
status = "okay";
linux,phandle = <0x4c>;
phandle = <0x4c>;
device_type = "i2s";
};
daudio@0x01c22000 {
compatible = "allwinner,sunxi-daudio";
reg = <0x0 0x1c22000 0x0 0x58>;
clocks = <0x2 0x42>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <0x43>;
pinctrl-1 = <0x44>;
pcm_lrck_period = <0x20>;
pcm_lrckr_period = <0x1>;
slot_width_select = <0x20>;
pcm_lsb_first = <0x0>;
tx_data_mode = <0x0>;
rx_data_mode = <0x0>;
daudio_master = <0x4>;
audio_format = <0x1>;
signal_inversion = <0x1>;
frametype = <0x0>;
tdm_config = <0x1>;
tdm_num = <0x0>;
status = "disabled";
linux,phandle = <0x4e>;
phandle = <0x4e>;
device_type = "daudio0";
};
daudio@0x01c22400 {
compatible = "allwinner,sunxi-daudio";
reg = <0x0 0x1c22400 0x0 0x58>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <0x45>;
pinctrl-1 = <0x46>;
clocks = <0x2 0x47>;
pcm_lrck_period = <0x20>;
pcm_lrckr_period = <0x1>;
slot_width_select = <0x20>;
pcm_lsb_first = <0x0>;
tx_data_mode = <0x0>;
rx_data_mode = <0x0>;
daudio_master = <0x4>;
audio_format = <0x1>;
signal_inversion = <0x1>;
frametype = <0x0>;
tdm_config = <0x1>;
tdm_num = <0x1>;
status = "disabled";
linux,phandle = <0x4f>;
phandle = <0x4f>;
device_type = "daudio1";
};
daudio@0x01c22800 {
compatible = "allwinner,sunxi-tdmhdmi";
reg = <0x0 0x1c22800 0x0 0x58>;
clocks = <0x2 0x48>;
status = "okay";
linux,phandle = <0x50>;
phandle = <0x50>;
device_type = "daudio2";
};
spdif-controller@0x01c21000 {
compatible = "allwinner,sunxi-spdif";
reg = <0x0 0x1c21000 0x0 0x38>;
clocks = <0x2 0x49>;
pinctrl-names = "default", "sleep";
pinctrl-0 = <0x4a>;
pinctrl-1 = <0x4b>;
status = "disabled";
linux,phandle = <0x51>;
phandle = <0x51>;
device_type = "spdif";
};
sound@0 {
compatible = "allwinner,sunxi-codec-machine";
interrupts = <0x0 0x1c 0x4>;
sunxi,i2s-controller = <0x4c>;
sunxi,audio-codec = <0x4d>;
aif2fmt = <0x3>;
aif3fmt = <0x3>;
aif2master = <0x1>;
hp_detect_case = <0x1>;
status = "okay";
device_type = "sndcodec";
};
sound@1 {
compatible = "allwinner,sunxi-daudio0-machine";
sunxi,daudio0-controller = <0x4e>;
status = "disabled";
device_type = "snddaudio0";
};
sound@2 {
compatible = "allwinner,sunxi-daudio1-machine";
sunxi,daudio1-controller = <0x4f>;
status = "disabled";
device_type = "snddaudio1";
};
sound@3 {
compatible = "allwinner,sunxi-hdmi-machine";
sunxi,hdmi-controller = <0x50>;
status = "okay";
device_type = "sndhdmi";
};
sound@4 {
compatible = "allwinner,sunxi-spdif-machine";
sunxi,spdif-controller = <0x51>;
status = "disabled";
device_type = "sndspdif";
};
spi@01c68000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-spi";
device_type = "spi0";
reg = <0x0 0x1c68000 0x0 0x1000>;
interrupts = <0x0 0x41 0x4>;
clocks = <0x4 0x52>;
clock-frequency = <0x5f5e100>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x55>;
spi0_cs_number = <0x1>;
spi0_cs_bitmap = <0x1>;
status = "okay";
pinctrl-0 = <0xa7 0xa8>;
spidev@0 {
compatible = "allwinner,sun50i-spi";
reg = <0x0>;
// spi-max-frequency = <0x2faf080>;
spi-max-frequency = <0x00af080>;
};
};
spi@01c69000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sun50i-spi";
device_type = "spi1";
reg = <0x0 0x1c69000 0x0 0x1000>;
interrupts = <0x0 0x42 0x4>;
clocks = <0x4 0x56>;
clock-frequency = <0x5f5e100>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x59>;
spi1_cs_number = <0x1>;
spi1_cs_bitmap = <0x1>;
status = "okay";
pinctrl-0 = <0xa9 0xaa>;
spidev@0 {
compatible = "allwinner,sun50i-spi";
reg = <0x0>;
spi-max-frequency = <0x2faf080>;
};
};
sdmmc@01C11000 {
compatible = "allwinner,sun50i-sdmmc2";
device_type = "sdc2";
reg = <0x0 0x1c11000 0x0 0x1000>;
interrupts = <0x0 0x3e 0x104>;
clocks = <0x6 0x5a 0x5b 0x5c 0x5d>;
clock-names = "osc24m", "pll_periph", "mmc", "ahb", "rst";
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x5f>;
bus-width = <0x8>;
max-frequency = <0x5f5e100>;
sdc_tm4_sm0_freq0 = <0x0>;
sdc_tm4_sm0_freq1 = <0x0>;
sdc_tm4_sm1_freq0 = <0x0>;
sdc_tm4_sm1_freq1 = <0x0>;
sdc_tm4_sm2_freq0 = <0x0>;
sdc_tm4_sm2_freq1 = <0x0>;
sdc_tm4_sm3_freq0 = <0x5000000>;
sdc_tm4_sm3_freq1 = <0x405>;
sdc_tm4_sm4_freq0 = <0x50000>;
sdc_tm4_sm4_freq1 = <0x408>;
status = "disabled";
non-removable;
pinctrl-0 = <0xb4>;
cd-gpios;
sunxi-power-save-mode;
sunxi-dis-signal-vol-sw;
mmc-ddr-1_8v;
mmc-hs200-1_8v;
mmc-hs400-1_8v;
vmmc = "vcc-emmc";
vqmmc = "vcc-lpddr";
vdmmc = "none";
};
sdmmc@01c0f000 {
compatible = "allwinner,sun50i-sdmmc0";
device_type = "sdc0";
reg = <0x0 0x1c0f000 0x0 0x1000>;
interrupts = <0x0 0x3c 0x104>;
clocks = <0x6 0x5a 0x60 0x61 0x62>;
clock-names = "osc24m", "pll_periph", "mmc", "ahb", "rst";
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x64>;
max-frequency = <0x2faf080>;
bus-width = <0x4>;
broken-cd;
status = "okay";
pinctrl-0 = <0xb2>;
cd-gpios = <0x30 0x5 0x6 0x0 0x1 0x2 0xffffffff>;
sunxi-power-save-mode;
vmmc = "none";
vqmmc = "none";
vdmmc = "vcc-sdc";
};
sdmmc@1C10000 {
compatible = "allwinner,sun50i-sdmmc1";
device_type = "sdc1";
reg = <0x0 0x1c10000 0x0 0x1000>;
interrupts = <0x0 0x3d 0x104>;
clocks = <0x6 0x5a 0x65 0x66 0x67>;
clock-names = "osc24m", "pll_periph", "mmc", "ahb", "rst";
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x69>;
max-frequency = <0x8f0d180>;
bus-width = <0x4>;
sunxi-dly-52M-ddr4 = <0x1 0x0 0x0 0x0 0x2>;
sunxi-dly-104M = <0x1 0x0 0x0 0x0 0x1>;
sunxi-dly-208M = <0x1 0x0 0x0 0x0 0x1>;
status = "okay";
pinctrl-0 = <0xb3>;
sd-uhs-sdr50;
sd-uhs-ddr50;
sd-uhs-sdr104;
cap-sdio-irq;
keep-power-in-suspend;
ignore-pm-notify;
};
disp@01000000 {
fb_base = <0x47400000>;
boot_disp = <0x40a>;
compatible = "allwinner,sun50i-disp";
reg = <0x0 0x1000000 0x0 0x300000 0x0 0x1c0c000 0x0 0x17fc 0x0 0x1ca0000 0x0 0x10fc>;
interrupts = <0x0 0x56 0x104 0x0 0x57 0x104 0x0 0x59 0x104>;
clocks = <0x6a 0x6b 0x6c 0x6d 0x6e>;
status = "okay";
device_type = "disp";
disp_init_enable = <0x1>;
disp_mode = <0x0>;
screen0_output_type = <0x3>;
screen0_output_mode = <0xa>;
screen1_output_type = <0x3>;
screen1_output_mode = <0xa>;
fb0_format = <0x0>;
fb0_width = <0x0>;
fb0_height = <0x0>;
fb1_format = <0x0>;
fb1_width = <0x0>;
fb1_height = <0x0>;
};
lcd0@01c0c000 {
compatible = "allwinner,sunxi-lcd0";
pinctrl-names = "active", "sleep";
status = "okay";
device_type = "lcd0";
lcd_used = <0x0>;
lcd_driver_name = "mb709_mipi";
lcd_backlight = <0x32>;
lcd_if = <0x4>;
lcd_x = <0x400>;
lcd_y = <0x258>;
lcd_width = <0x0>;
lcd_height = <0x0>;
lcd_dclk_freq = <0x37>;
lcd_pwm_used = <0x1>;
lcd_pwm_ch = <0x10>;
lcd_pwm_freq = <0xc350>;
lcd_pwm_pol = <0x1>;
lcd_pwm_max_limit = <0xfa>;
lcd_hbp = <0x78>;
lcd_ht = <0x604>;
lcd_hspw = <0x14>;
lcd_vbp = <0x17>;
lcd_vt = <0x27b>;
lcd_vspw = <0x2>;
lcd_dsi_if = <0x2>;
lcd_dsi_lane = <0x4>;
lcd_dsi_format = <0x0>;
lcd_dsi_eotp = <0x0>;
lcd_dsi_vc = <0x0>;
lcd_dsi_te = <0x0>;
lcd_frm = <0x0>;
lcd_gamma_en = <0x0>;
lcd_bright_curve_en = <0x0>;
lcd_cmap_en = <0x0>;
lcd_bl_en = <0x30 0x7 0xa 0x1 0x0 0xffffffff 0x1>;
lcd_bl_en_power = "none";
lcd_power = "vcc-mipi";
lcd_fix_power = "vcc-dsi-33";
lcd_gpio_0 = <0x30 0x3 0x18 0x1 0x0 0xffffffff 0x1>;
};
hdmi@01ee0000 {
compatible = "allwinner,sunxi-hdmi";
reg = <0x0 0x1ee0000 0x0 0x20000>;
clocks = <0x6f 0x70>;
device_type = "hdmi";
status = "okay";
hdmi_power = "vcc-hdmi-33";
hdmi_hdcp_enable = <0x0>;
hdmi_cts_compatibility = <0x0>;
};
tr@01000000 {
compatible = "allwinner,sun50i-tr";
reg = <0x0 0x1000000 0x0 0x200bc>;
interrupts = <0x0 0x60 0x104>;
clocks = <0x6a>;
status = "okay";
};
pwm@01c21400 {
compatible = "allwinner,sunxi-pwm";
reg = <0x0 0x1c21400 0x0 0x3c>;
pwm-number = <0x1>;
pwm-base = <0x0>;
pwms = <0x71>;
};
pwm0@01c21400 {
compatible = "allwinner,sunxi-pwm0";
pinctrl-names = "active", "sleep";
reg_base = <0x1c21400>;
reg_busy_offset = <0x0>;
reg_busy_shift = <0x1c>;
reg_enable_offset = <0x0>;
reg_enable_shift = <0x4>;
reg_clk_gating_offset = <0x0>;
reg_clk_gating_shift = <0x6>;
reg_bypass_offset = <0x0>;
reg_bypass_shift = <0x9>;
reg_pulse_start_offset = <0x0>;
reg_pulse_start_shift = <0x8>;
reg_mode_offset = <0x0>;
reg_mode_shift = <0x7>;
reg_polarity_offset = <0x0>;
reg_polarity_shift = <0x5>;
reg_period_offset = <0x4>;
reg_period_shift = <0x10>;
reg_period_width = <0x10>;
reg_active_offset = <0x4>;
reg_active_shift = <0x0>;
reg_active_width = <0x10>;
reg_prescal_offset = <0x0>;
reg_prescal_shift = <0x0>;
reg_prescal_width = <0x4>;
linux,phandle = <0x71>;
phandle = <0x71>;
device_type = "pwm0";
pwm_used = <0x0>;
pinctrl-0 = <0xad>;
pinctrl-1 = <0xae>;
};
s_pwm@1f03800 {
compatible = "allwinner,sunxi-s_pwm";
reg = <0x0 0x1f03800 0x0 0x3c>;
pwm-number = <0x1>;
pwm-base = <0x10>;
pwms = <0x72>;
};
spwm0@0x01f03800 {
compatible = "allwinner,sunxi-pwm16";
pinctrl-names = "active", "sleep";
reg_base = <0x1f03800>;
reg_busy_offset = <0x0>;
reg_busy_shift = <0x1c>;
reg_enable_offset = <0x0>;
reg_enable_shift = <0x4>;
reg_clk_gating_offset = <0x0>;
reg_clk_gating_shift = <0x6>;
reg_bypass_offset = <0x0>;
reg_bypass_shift = <0x9>;
reg_pulse_start_offset = <0x0>;
reg_pulse_start_shift = <0x8>;
reg_mode_offset = <0x0>;
reg_mode_shift = <0x7>;
reg_polarity_offset = <0x0>;
reg_polarity_shift = <0x5>;
reg_period_offset = <0x4>;
reg_period_shift = <0x10>;
reg_period_width = <0x10>;
reg_active_offset = <0x4>;
reg_active_shift = <0x0>;
reg_active_width = <0x10>;
reg_prescal_offset = <0x0>;
reg_prescal_shift = <0x0>;
reg_prescal_width = <0x4>;
linux,phandle = <0x72>;
phandle = <0x72>;
device_type = "spwm0";
s_pwm_used = <0x1>;
pinctrl-0 = <0xaf>;
pinctrl-1 = <0xb0>;
};
boot_disp {
compatible = "allwinner,boot_disp";
device_type = "boot_disp";
output_disp = <0x0>;
output_type = <0x3>;
output_mode = <0xa>;
};
cci@0x01cb3000 {
compatible = "allwinner,sunxi-csi_cci";
reg = <0x0 0x1cb3000 0x0 0x1000>;
interrupts = <0x0 0x55 0x4>;
status = "okay";
};
csi_res@0x01cb0000 {
compatible = "allwinner,sunxi-csi";
reg = <0x0 0x1cb0000 0x0 0x1000>;
status = "okay";
};
vfe@0 {
device_type = "csi0";
compatible = "allwinner,sunxi-vfe";
interrupts = <0x0 0x54 0x4>;
clocks = <0x73 0x74 0x75 0x4 0x6 0x5>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x77>;
csi0_sensor_list = <0x1>;
status = "okay";
pinctrl-0 = <0xb1>;
csi0_mck = <0x30 0x4 0x1 0x0 0x0 0x1 0x0>;
dev@0 {
csi0_dev0_mname = "hm5065";
csi0_dev0_twi_addr = <0x3e>;
csi0_dev0_pos = "rear";
csi0_dev0_isp_used = <0x1>;
csi0_dev0_fmt = <0x0>;
csi0_dev0_stby_mode = <0x1>;
csi0_dev0_vflip = <0x0>;
csi0_dev0_hflip = <0x0>;
csi0_dev0_iovdd = "iovdd-csi";
csi0_dev0_iovdd_vol = <0x2ab980>;
csi0_dev0_avdd = "avdd-csi";
csi0_dev0_avdd_vol = <0x2ab980>;
csi0_dev0_dvdd = "dvdd-csi-18";
csi0_dev0_dvdd_vol = <0x1b7740>;
csi0_dev0_flash_used = <0x0>;
csi0_dev0_flash_type = <0x2>;
csi0_dev0_flvdd = "vdd-csi-led";
csi0_dev0_flvdd_vol = <0x325aa0>;
csi0_dev0_act_used = <0x0>;
csi0_dev0_act_name = "ad5820_act";
csi0_dev0_act_slave = <0x18>;
status = "okay";
device_type = "csi0_dev0";
csi0_dev0_afvdd;
csi0_dev0_afvdd_vol;
csi0_dev0_power_en;
csi0_dev0_reset = <0x30 0x4 0xe 0x0 0x0 0x1 0x0>;
csi0_dev0_pwdn = <0x30 0x4 0xf 0x0 0x0 0x1 0x0>;
csi0_dev0_flash_en;
csi0_dev0_flash_mode;
csi0_dev0_af_pwdn;
};
dev@1 {
csi0_dev1_mname = "gc2145";
csi0_dev1_twi_addr = <0x78>;
csi0_dev1_pos = "front";
csi0_dev1_isp_used = <0x1>;
csi0_dev1_fmt = <0x0>;
csi0_dev1_stby_mode = <0x1>;
csi0_dev1_vflip = <0x0>;
csi0_dev1_hflip = <0x0>;
csi0_dev1_iovdd = "iovdd-csi";
csi0_dev1_iovdd_vol = <0x2ab980>;
csi0_dev1_avdd = "avdd-csi";
csi0_dev1_avdd_vol = <0x2ab980>;
csi0_dev1_dvdd = "dvdd-csi-18";
csi0_dev1_dvdd_vol = <0x1b7740>;
csi0_dev1_flash_used = <0x0>;
csi0_dev1_flash_type = <0x2>;
csi0_dev1_flvdd = "vdd-csi-led";
csi0_dev1_flvdd_vol = <0x325aa0>;
csi0_dev1_act_used = <0x0>;
csi0_dev1_act_name = "ad5820_act";
csi0_dev1_act_slave = <0x18>;
status = "okay";
device_type = "csi0_dev1";
csi0_dev1_afvdd;
csi0_dev1_afvdd_vol;
csi0_dev1_power_en;
csi0_dev1_reset = <0x30 0x4 0x10 0x0 0x0 0x1 0x0>;
csi0_dev1_pwdn = <0x30 0x4 0x11 0x0 0x0 0x1 0x0>;
csi0_dev1_flash_en;
csi0_dev1_flash_mode;
csi0_dev1_af_pwdn;
};
};
vdevice@0 {
compatible = "allwinner,sun50i-vdevice";
pinctrl-names = "default";
test-gpios = <0x79 0xb 0x0 0x1 0x2 0x3 0x4>;
status = "okay";
device_type = "Vdevice";
pinctrl-0 = <0xb9>;
};
onewire_device@0 {
compatible = "w1-gpio";
gpios = <0x30 0x2 0x8 0x0 0x0 0x0 0x0>;
pinctrl-names = "default";
pinctrl-0 = <0xba>;
status = "okay";
};
ce@1c15000 {
compatible = "allwinner,sunxi-ce";
reg = <0x0 0x1c15000 0x0 0x80 0x0 0x1c15800 0x0 0x80>;
interrupts = <0x0 0x5e 0xff01 0x0 0x50 0xff01>;
clock-frequency = <0x11e1a300 0xbebc200>;
clocks = <0x7a 0x7b>;
};
deinterlace@0x01e00000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sunxi-deinterlace";
reg = <0x0 0x1e00000 0x0 0x77c>;
interrupts = <0x0 0x5d 0x4>;
clocks = <0x7c 0x4>;
status = "okay";
device_type = "di";
};
smartcard@0x01c2c400 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sunxi-scr";
reg = <0x0 0x1c2c400 0x0 0x100>;
interrupts = <0x0 0x53 0x4>;
clocks = <0x7d 0x7e>;
clock-frequency = <0x16e3600>;
pinctrl-names = "default";
pinctrl-0 = <0x7f>;
status = "okay";
device_type = "smc";
smc_used;
smc_rst;
smc_vppen;
smc_vppp;
smc_det;
smc_vccen;
smc_sck;
smc_sda;
};
nmi@0x01f00c00 {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "allwinner,sunxi-nmi";
reg = <0x0 0x1f00c00 0x0 0x50>;
nmi_irq_ctrl = <0xc>;
nmi_irq_en = <0x40>;
nmi_irq_status = <0x10>;
nmi_irq_mask = <0x50>;
status = "okay";
};
pmu0@0 {
compatible = "allwinner,pmu0";
device_type = "pmu0";
pmu_batdeten = <0x1>;
pmu_init_chgend_rate = <0x14>;
pmu_init_chg_enabled = <0x1>;
pmu_init_adc_freq = <0x320>;
pmu_init_adcts_freq = <0x320>;
pmu_init_chg_pretime = <0x46>;
pmu_init_chg_csttime = <0x2d0>;
pmu_batt_cap_correct = <0x1>;
pmu_chg_end_on_en = <0x0>;
pmu_pwroff_vol = <0xce4>;
pmu_pwron_vol = <0xa28>;
pmu_powkey_off_delay_time = <0x0>;
pmu_pwrok_time = <0x40>;
pmu_reset_shutdown_en = <0x1>;
pmu_restvol_adjust_time = <0x3c>;
pmu_ocv_cou_adjust_time = <0x3c>;
pmu_vbusen_func = <0x1>;
pmu_reset = <0x0>;
pmu_IRQ_wakeup = <0x1>;
pmu_hot_shutdowm = <0x1>;
pmu_inshort = <0x0>;
pmu_bat_shutdown_ltf = <0xc80>;
pmu_bat_shutdown_htf = <0xed>;
status = "okay";
pmu_id = <0x6>;
pmu_twi_addr = <0x34>;
pmu_twi_id = <0x1>;
pmu_irq_id = <0x40>;
pmu_chg_ic_temp = <0x0>;
pmu_battery_rdc = <0x58>;
pmu_battery_cap = <0x12c0>;
pmu_runtime_chgcur = <0x1c2>;
pmu_suspend_chgcur = <0x5dc>;
pmu_shutdown_chgcur = <0x5dc>;
pmu_init_chgvol = <0x1068>;
pmu_ac_vol = <0xfa0>;
pmu_ac_cur = <0xdac>;
pmu_usbpc_vol = <0x1130>;
pmu_usbpc_cur = <0x1f4>;
pmu_battery_warning_level1 = <0xf>;
pmu_battery_warning_level2 = <0x0>;
pmu_chgled_func = <0x0>;
pmu_chgled_type = <0x0>;
pmu_bat_para1 = <0x0>;
pmu_bat_para2 = <0x0>;
pmu_bat_para3 = <0x0>;
pmu_bat_para4 = <0x0>;
pmu_bat_para5 = <0x0>;
pmu_bat_para6 = <0x0>;
pmu_bat_para7 = <0x1>;
pmu_bat_para8 = <0x1>;
pmu_bat_para9 = <0x2>;
pmu_bat_para10 = <0x3>;
pmu_bat_para11 = <0x4>;
pmu_bat_para12 = <0xa>;
pmu_bat_para13 = <0x11>;
pmu_bat_para14 = <0x1a>;
pmu_bat_para15 = <0x29>;
pmu_bat_para16 = <0x2e>;
pmu_bat_para17 = <0x33>;
pmu_bat_para18 = <0x38>;
pmu_bat_para19 = <0x3b>;
pmu_bat_para20 = <0x41>;
pmu_bat_para21 = <0x45>;
pmu_bat_para22 = <0x4b>;
pmu_bat_para23 = <0x4f>;
pmu_bat_para24 = <0x53>;
pmu_bat_para25 = <0x59>;
pmu_bat_para26 = <0x5f>;
pmu_bat_para27 = <0x62>;
pmu_bat_para28 = <0x64>;
pmu_bat_para29 = <0x64>;
pmu_bat_para30 = <0x64>;
pmu_bat_para31 = <0x64>;
pmu_bat_para32 = <0x64>;
pmu_bat_temp_enable = <0x1>;
pmu_bat_charge_ltf = <0x8d5>;
pmu_bat_charge_htf = <0x184>;
pmu_bat_temp_para1 = <0x1d2a>;
pmu_bat_temp_para2 = <0x1180>;
pmu_bat_temp_para3 = <0xdbe>;
pmu_bat_temp_para4 = <0xae2>;
pmu_bat_temp_para5 = <0x8af>;
pmu_bat_temp_para6 = <0x6fc>;
pmu_bat_temp_para7 = <0x5a8>;
pmu_bat_temp_para8 = <0x3c9>;
pmu_bat_temp_para9 = <0x298>;
pmu_bat_temp_para10 = <0x1d2>;
pmu_bat_temp_para11 = <0x189>;
pmu_bat_temp_para12 = <0x14d>;
pmu_bat_temp_para13 = <0x11b>;
pmu_bat_temp_para14 = <0xf2>;
pmu_bat_temp_para15 = <0xb3>;
pmu_bat_temp_para16 = <0x86>;
pmu_powkey_off_time = <0x1770>;
pmu_powkey_off_func = <0x0>;
pmu_powkey_off_en = <0x1>;
pmu_powkey_long_time = <0x5dc>;
pmu_powkey_on_time = <0x3e8>;
power_start = <0x0>;
};
regu@0 {
compatible = "allwinner,pmu0_regu";
regulator_count = <0x17>;
status = "okay";
device_type = "pmu0_regu";
regulator1 = "axp81x_dcdc1 none vcc-nand vcc-emmc vcc-sdc vcc-usb-30 vcc-io vcc-pd";
regulator2 = "axp81x_dcdc2 none vdd-cpua";
regulator3 = "axp81x_dcdc3 none";
regulator4 = "axp81x_dcdc4 none";
regulator5 = "axp81x_dcdc5 none vcc-dram";
regulator6 = "axp81x_dcdc6 none vdd-sys";
regulator7 = "axp81x_dcdc7 none";
regulator8 = "axp81x_rtc none";
regulator9 = "axp81x_aldo1 none vdd-csi-led iovdd-csi vcc-pe";
regulator10 = "axp81x_aldo2 none vcc-pl";
regulator11 = "axp81x_aldo3 none vcc-avcc vcc-pll";
regulator12 = "axp81x_dldo1 none vcc-hdmi-33";
regulator13 = "axp81x_dldo2 none vcc-mipi";
regulator14 = "axp81x_dldo3 none avdd-csi";
regulator15 = "axp81x_dldo4 none vcc-deviceio";
regulator16 = "axp81x_eldo1 none vcc-cpvdd vcc-wifi-io vcc-pc vcc-pg";
regulator17 = "axp81x_eldo2 none vcc-lcd-0";
regulator18 = "axp81x_eldo3 none dvdd-csi-18";
regulator19 = "axp81x_fldo1 none vcc-hsic-12";
regulator20 = "axp81x_fldo2 none vdd-cpus";
regulator21 = "axp81x_gpio0ldo none vcc-ctp";
regulator22 = "axp81x_gpio1ldo none";
regulator23 = "axp81x_dc1sw none vcc-lvds vcc-dsi-33";
};
nand0@01c03000 {
compatible = "allwinner,sun50i-nand";
device_type = "nand0";
reg = <0x0 0x1c03000 0x0 0x1000>;
interrupts = <0x0 0x46 0x4>;
clocks = <0x4 0x80>;
pinctrl-names = "default", "sleep";
pinctrl-1 = <0x83>;
nand0_regulator1 = "vcc-nand";
nand0_regulator2 = "none";
nand0_cache_level = <0x55aaaa55>;
nand0_flush_cache_num = <0x55aaaa55>;
nand0_capacity_level = <0x55aaaa55>;
nand0_id_number_ctl = <0x55aaaa55>;
nand0_print_level = <0x55aaaa55>;
nand0_p0 = <0x55aaaa55>;
nand0_p1 = <0x55aaaa55>;
nand0_p2 = <0x55aaaa55>;
nand0_p3 = <0x55aaaa55>;
status = "disabled";
nand0_support_2ch = <0x0>;
pinctrl-0 = <0xab 0xac>;
};
thermal_sensor {
compatible = "allwinner,thermal_sensor";
reg = <0x0 0x1c25000 0x0 0x400>;
interrupts = <0x0 0x1f 0x0>;
clocks = <0x6 0x84>;
sensor_num = <0x3>;
shut_temp = <0x78>;
status = "okay";
combine0 {
#thermal-sensor-cells = <0x1>;
combine_cnt = <0x3>;
combine_type = "max";
combine_chn = <0x0 0x1 0x2>;
linux,phandle = <0x85>;
phandle = <0x85>;
};
};
cpu_budget_cool {
compatible = "allwinner,budget_cooling";
#cooling-cells = <0x2>;
status = "okay";
state_cnt = <0xa>;
cluster_num = <0x1>;
state0 = <0x119400 0x4>;
state1 = <0x10d880 0x4>;
state2 = <0x101d00 0x4>;
state3 = <0xf6180 0x4>;
state4 = <0xea600 0x4>;
state5 = <0xdea80 0x4>;
state6 = <0xc7380 0x4>;
state7 = <0x9e340 0x4>;
state8 = <0x9e340 0x2>;
state9 = <0x9e340 0x1>;
linux,phandle = <0x87>;
phandle = <0x87>;
};
gpu_cooling {
compatible = "allwinner,gpu_cooling";
reg = <0x0 0x0 0x0 0x0>;
#cooling-cells = <0x2>;
status = "okay";
state_cnt = <0x3>;
state0 = <0x0>;
state1 = <0x168>;
state2 = <0x90>;
linux,phandle = <0x8c>;
phandle = <0x8c>;
};
thermal-zones {
soc_thermal {
polling-delay-passive = <0x1f4>;
polling-delay = <0x7d0>;
thermal-sensors = <0x85 0x0>;
trips {
t0 {
temperature = <0x50>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x86>;
phandle = <0x86>;
};
t1 {
temperature = <0x55>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x88>;
phandle = <0x88>;
};
t2 {
temperature = <0x5a>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x89>;
phandle = <0x89>;
};
t3 {
temperature = <0x5f>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x8a>;
phandle = <0x8a>;
};
t4 {
temperature = <0x55>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x8b>;
phandle = <0x8b>;
};
t5 {
temperature = <0x5a>;
type = "passive";
hysteresis = <0x0>;
linux,phandle = <0x8d>;
phandle = <0x8d>;
};
t6 {
temperature = <0x6c>;
type = "critical";
hysteresis = <0x0>;
};
};
cooling-maps {
bind0 {
contribution = <0x0>;
trip = <0x86>;
cooling-device = <0x87 0x1 0x1>;
};
bind1 {
contribution = <0x0>;
trip = <0x88>;
cooling-device = <0x87 0x2 0x2>;
};
bind2 {
contribution = <0x0>;
trip = <0x89>;
cooling-device = <0x87 0x3 0x6>;
};
bind3 {
contribution = <0x0>;
trip = <0x8a>;
cooling-device = <0x87 0x7 0x9>;
};
bind4 {
contribution = <0x0>;
trip = <0x8b>;
cooling-device = <0x8c 0x1 0x1>;
};
bind5 {
contribution = <0x0>;
trip = <0x8d>;
cooling-device = <0x8c 0x2 0x2>;
};
};
};
};
keyboard {
compatible = "allwinner,keyboard_2000mv";
reg = <0x0 0x1c21800 0x0 0x400>;
interrupts = <0x0 0x1e 0x0>;
status = "okay";
key_cnt = <0x5>;
key1 = <0xf0 0x73>;
key2 = <0x1f4 0x72>;
key3 = <0x2bc 0x8b>;
key4 = <0x37a 0x1c>;
key5 = <0x7d0 0x66>;
};
eth@01c30000 {
compatible = "allwinner,sunxi-gmac";
reg = <0x0 0x1c30000 0x0 0x10000 0x0 0x1c00000 0x0 0x30>;
pinctrl-names = "default";
interrupts = <0x0 0x52 0x4>;
interrupt-names = "gmacirq";
clocks = <0x8f>;
clock-names = "gmac";
phy-mode = "rgmii";
tx-delay = <0x3>;
rx-delay = <0x0>;
gmac_power1 = "axp81x_dc1sw:0";
status = "okay";
device_type = "gmac0";
pinctrl-0 = <0x9e>;
gmac_power2;
gmac_power3;
};
product {
device_type = "product";
version = "100";
machine = "evb";
};
platform {
device_type = "platform";
eraseflag = <0x1>;
};
target {
device_type = "target";
boot_clock = <0x3f0>;
storage_type = <0xffffffff>;
burn_key = <0x0>;
};
power_sply {