Create a gist now

Instantly share code, notes, and snippets.

FreeBSD dtsi file for OMAP4 boards
/ {
#address-cells = <1>;
#size-cells = <1>;
compatible = "ti,omap4430", "ti,omap4";
interrupt-parent = <&gic>;
gic: interrupt-controller@48241000 {
compatible = "arm,cortex-a9-gic";
interrupt-controller;
#interrupt-cells = <1>;
reg = <0x48241000 0x1000>,
<0x48240100 0x0100>;
};
L2: l2-cache-controller@48242000 {
compatible = "arm,pl310-cache";
reg = <0x48242000 0x1000>;
interrupts = <32>;
cache-level = <2>;
};
soc: omap4430 {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges;
bus-frequency = <0>;
omap4_prcm@4a306000 {
compatible = "ti,omap4_prcm";
reg = <0x4a306000 0x2000
0x4a004000 0x1000
0x4a008000 0x2000
0x4a30a000 0x0520>;
};
mp_tmr@48240200 {
compatible = "arm,mpcore-timers";
#address-cells = <1>;
#size-cells = <0>;
reg = <0x48240200 0x100>,
<0x48240600 0x100>;
interrupts = <27 29>;
};
sdma: dma-controller@x4a056000 {
compatible = "ti,omap4430-sdma", "ti,sdma";
reg = <0x4A056000 0x1000>;
interrupts = <44 45 46 47>;
};
GPIO: gpio {
#gpio-cells = <3>;
compatible = "ti,omap4-gpio";
gpio-controller;
reg = <0x4a310000 0x1000
0x48055000 0x1000
0x48057000 0x1000
0x48059000 0x1000
0x4805b000 0x1000
0x4805d000 0x1000>;
interrupts = <61 62 63 64 65 66>;
};
uart3: serial@48020000 {
compatible = "ti,omap4-uart", "ti,ns16550";
reg = <0x48020000 0x400>;
reg-shift = <2>;
interrupts = <106>;
clock-frequency = <48000000>;
uart-device-id = <3>;
};
uart1: serial@4806a000 {
compatible = "ti,omap4-uart", "ti,ns16550";
reg = <0x4806a000 0x400>;
reg-shift = <2>;
interrupts = <104>;
clock-frequency = <48000000>;
uart-device-id = <1>;
};
uart2: serial@4806c000 {
compatible = "ti,omap4-uart", "ti,ns16550";
reg = <0x4806c000 0x400>;
reg-shift = <2>;
interrupts = <105>;
clock-frequency = <48000000>;
uart-device-id = <2>;
};
uart4: serial@4806e000 {
compatible = "ti,omap4-uart", "ti,ns16550";
reg = <0x4806e000 0x400>;
reg-shift = <2>;
interrupts = <102>;
clock-frequency = <48000000>;
uart-device-id = <4>;
};
i2c1: i2c@48070000 {
compatible = "ti,omap4-i2c", "ti,i2c";
reg = <0x48070000 0x100>;
interrupts = <88>;
i2c-device-id = <1>;
clock-frequency = <100000>;
};
i2c2: i2c@48072000 {
compatible = "ti,omap4-i2c", "ti,i2c";
reg = <0x48072000 0x100>;
interrupts = <89>;
i2c-device-id = <2>;
clock-frequency = <400000>;
};
i2c3: i2c@48060000 {
compatible = "ti,omap4-i2c", "ti,i2c";
reg = <0x48060000 0x100>;
interrupts = <93>;
i2c-device-id = <3>;
clock-frequency = <100000>;
};
i2c4: i2c@48350000 {
compatible = "ti,omap4-i2c", "ti,i2c";
reg = <0x48350000 0x100>;
interrupts = <95>;
i2c-device-id = <4>;
clock-frequency = <100000>;
};
mmc1: mmc@x4809C000 {
compatible = "ti,omap4-hsmmc";
reg = <0x4809C000 0x1000>;
interrupts = <115>;
mmchs-device-id = <1>;
non-removable;
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment