Skip to content

Instantly share code, notes, and snippets.

@notro
Created October 3, 2016 16:22
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 notro/98bcb05097bd9ecc17fb6e23ef066916 to your computer and use it in GitHub Desktop.
Save notro/98bcb05097bd9ecc17fb6e23ef066916 to your computer and use it in GitHub Desktop.
--- /dev/fd/63 2016-10-03 16:20:14.192032103 +0200
+++ /dev/fd/62 2016-10-03 16:20:14.192032103 +0200
@@ -18,8 +18,8 @@
i2c0_baudrate = [00 00 00 1c 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c1 = [00 00 00 1d 73 74 61 74 75 73 00];
i2c1_baudrate = [00 00 00 1d 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_baudrate = [00 00 00 0e 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_iknowwhatimdoing = [00 00 00 0e 73 74 61 74 75 73 00];
+ i2c2_baudrate = "", "", "", "\rclock-frequency:0";
+ i2c2_iknowwhatimdoing = "", "", "", "\rstatus";
i2s = [00 00 00 1a 73 74 61 74 75 73 00];
pwr_led_activelow = <0x1f 0x6770696f 0x733a3800>;
pwr_led_gpio = <0x1f 0x6770696f 0x733a3400>;
@@ -38,7 +38,6 @@
aliases {
audio = "/soc/audio";
aux = "/soc/aux@0x7e215000";
- clocks = "/clocks";
dma = "/soc/dma@7e007000";
fb = "/soc/fb";
gpio = "/soc/gpio@7e200000";
@@ -47,7 +46,7 @@
i2c2 = "/soc/i2c@7e805000";
i2s = "/soc/i2s@7e203000";
intc = "/soc/interrupt-controller@7e00b200";
- leds = "/soc/leds";
+ leds = "/leds";
mailbox = "/soc/mailbox@7e00b800";
mmc = "/soc/mmc@7e300000";
random = "/soc/rng@7e104000";
@@ -56,7 +55,7 @@
sound = "/soc/sound";
spi0 = "/soc/spi@7e204000";
spi1 = "/soc/spi@7e215080";
- spi2 = "/soc/spi@7e2150C0";
+ spi2 = "/soc/spi@7e2150c0";
thermal = "/soc/thermal";
uart0 = "/soc/serial@7e201000";
uart1 = "/soc/serial@7e215040";
@@ -69,19 +68,19 @@
bootargs = [00];
};
- clocks: clocks {
+ clocks {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "simple-bus";
- clk_osc: clock@6 {
+ clk_osc: clock@3 {
#clock-cells = <0x0>;
clock-frequency = <0x124f800>;
clock-output-names = "osc";
compatible = "fixed-clock";
linux,phandle = <0x3>;
phandle = <0x3>;
- reg = <0x6>;
+ reg = <0x3>;
};
};
@@ -126,6 +125,26 @@
};
};
+ leds: leds {
+ compatible = "gpio-leds";
+
+ act_led: act {
+ gpios = <0x9 0x2f 0x0>;
+ label = "led0";
+ linux,default-trigger = "mmc0";
+ linux,phandle = <0x1e>;
+ phandle = <0x1e>;
+ };
+
+ pwr_led: pwr {
+ gpios = <0x9 0x23 0x0>;
+ label = "led1";
+ linux,default-trigger = "input";
+ linux,phandle = <0x1f>;
+ phandle = <0x1f>;
+ };
+ };
+
memory {
device_type = "memory";
reg = <0x0 0x0>;
@@ -157,12 +176,12 @@
#clock-cells = <0x1>;
clocks = <0x4 0x14>;
compatible = "brcm,bcm2835-aux";
- linux,phandle = <0xc>;
- phandle = <0xc>;
+ linux,phandle = <0xb>;
+ phandle = <0xb>;
reg = <0x7e215000 0x8>;
};
- cprman: cprman@7e101000 {
+ cprman: clocks: cprman@7e101000 {
#clock-cells = <0x1>;
clocks = <0x3>;
compatible = "brcm,bcm2835-cprman";
@@ -212,8 +231,8 @@
gpio-controller;
interrupt-controller;
interrupts = <0x2 0x11 0x2 0x12>;
- linux,phandle = <0x8>;
- phandle = <0x8>;
+ linux,phandle = <0x9>;
+ phandle = <0x9>;
reg = <0x7e200000 0xb4>;
audio_pins: audio_pins {
@@ -226,53 +245,52 @@
i2c0_pins: i2c0 {
brcm,function = <0x4>;
brcm,pins = <0x0 0x1>;
- linux,phandle = <0xb>;
- phandle = <0xb>;
+ linux,phandle = <0xa>;
+ phandle = <0xa>;
};
i2c1_pins: i2c1 {
brcm,function = <0x4>;
brcm,pins = <0x2 0x3>;
- linux,phandle = <0xd>;
- phandle = <0xd>;
+ linux,phandle = <0xc>;
+ phandle = <0xc>;
};
i2s_pins: i2s {
brcm,function = <0x4>;
brcm,pins = <0x12 0x13 0x14 0x15>;
- linux,phandle = <0x7>;
- phandle = <0x7>;
+ linux,phandle = <0x6>;
+ phandle = <0x6>;
};
sdhost_pins: sdhost_pins {
brcm,function = <0x4>;
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
- linux,phandle = <0x6>;
- phandle = <0x6>;
+ linux,phandle = <0xf>;
+ phandle = <0xf>;
};
spi0_cs_pins: spi0_cs_pins {
brcm,function = <0x1>;
brcm,pins = <0x8 0x7>;
- linux,phandle = <0xa>;
- phandle = <0xa>;
+ linux,phandle = <0x8>;
+ phandle = <0x8>;
};
spi0_pins: spi0_pins {
brcm,function = <0x4>;
brcm,pins = <0x9 0xa 0xb>;
- linux,phandle = <0x9>;
- phandle = <0x9>;
+ linux,phandle = <0x7>;
+ phandle = <0x7>;
};
};
gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x1000>;
- status = "okay";
};
- gpu: gpu {
+ gpu: vc4: gpu {
compatible = "brcm,bcm2835-vc4";
status = "disabled";
};
@@ -281,15 +299,17 @@
clock-names = "pixel", "hdmi";
clocks = <0x4 0x10 0x4 0x19>;
compatible = "brcm,bcm2835-hdmi";
- ddc = <0xe>;
- hpd-gpios = <0x8 0x2e 0x1>;
- power-domains = <0xf 0x5>;
+ ddc = <0xd>;
+ hpd-gpios = <0x9 0x2e 0x1>;
+ interrupts = <0x2 0x8 0x2 0x9>;
+ power-domains = <0xe 0x5>;
reg = <0x7e902000 0x600 0x7e808000 0x100>;
status = "disabled";
};
hvs: hvs@7e400000 {
compatible = "brcm,bcm2835-hvs";
+ interrupts = <0x2 0x1>;
reg = <0x7e400000 0x6000>;
status = "disabled";
};
@@ -303,7 +323,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x1c>;
phandle = <0x1c>;
- pinctrl-0 = <0xb>;
+ pinctrl-0 = <0xa>;
pinctrl-names = "default";
reg = <0x7e205000 0x1000>;
status = "disabled";
@@ -318,7 +338,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x1d>;
phandle = <0x1d>;
- pinctrl-0 = <0xd>;
+ pinctrl-0 = <0xc>;
pinctrl-names = "default";
reg = <0x7e804000 0x1000>;
status = "disabled";
@@ -331,8 +351,8 @@
clocks = <0x4 0x14>;
compatible = "brcm,bcm2708-i2c";
interrupts = <0x2 0x15>;
- linux,phandle = <0xe>;
- phandle = <0xe>;
+ linux,phandle = <0xd>;
+ phandle = <0xd>;
reg = <0x7e805000 0x1000>;
status = "disabled";
};
@@ -345,7 +365,7 @@
dmas = <0x5 0x2 0x5 0x3>;
linux,phandle = <0x1a>;
phandle = <0x1a>;
- pinctrl-0 = <0x7>;
+ pinctrl-0 = <0x6>;
pinctrl-names = "default";
reg = <0x7e203000 0x24>;
status = "disabled";
@@ -362,26 +382,6 @@
reg = <0x7e00b200 0x200>;
};
- leds: leds {
- compatible = "gpio-leds";
-
- act_led: act {
- gpios = <0x8 0x2f 0x0>;
- label = "led0";
- linux,default-trigger = "mmc0";
- linux,phandle = <0x1e>;
- phandle = <0x1e>;
- };
-
- pwr_led: pwr {
- gpios = <0x8 0x23 0x0>;
- label = "led1";
- linux,default-trigger = "input";
- linux,phandle = <0x1f>;
- phandle = <0x1f>;
- };
- };
-
local_intc: local_intc {
#interrupt-cells = <0x1>;
compatible = "brcm,bcm2836-l1-intc";
@@ -414,18 +414,21 @@
pixelvalve0: pixelvalve@7e206000 {
compatible = "brcm,bcm2835-pixelvalve0";
+ interrupts = <0x2 0xd>;
reg = <0x7e206000 0x100>;
status = "disabled";
};
pixelvalve1: pixelvalve@7e207000 {
compatible = "brcm,bcm2835-pixelvalve1";
+ interrupts = <0x2 0xe>;
reg = <0x7e207000 0x100>;
status = "disabled";
};
pixelvalve2: pixelvalve@7e807000 {
compatible = "brcm,bcm2835-pixelvalve2";
+ interrupts = <0x2 0xa>;
reg = <0x7e807000 0x100>;
status = "disabled";
};
@@ -434,8 +437,8 @@
#power-domain-cells = <0x1>;
compatible = "raspberrypi,bcm2835-power";
firmware = <0x11>;
- linux,phandle = <0xf>;
- phandle = <0xf>;
+ linux,phandle = <0xe>;
+ phandle = <0xe>;
};
pwm: pwm@7e20c000 {
@@ -453,7 +456,6 @@
linux,phandle = <0x22>;
phandle = <0x22>;
reg = <0x7e104000 0x10>;
- status = "okay";
};
sdhost: sdhost@7e202000 {
@@ -467,7 +469,7 @@
interrupts = <0x2 0x18>;
linux,phandle = <0x23>;
phandle = <0x23>;
- pinctrl-0 = <0x6>;
+ pinctrl-0 = <0xf>;
pinctrl-names = "default";
reg = <0x7e202000 0x100>;
status = "okay";
@@ -486,7 +488,7 @@
};
uart1: serial@7e215040 {
- clocks = <0xc 0x0>;
+ clocks = <0xb 0x0>;
compatible = "brcm,bcm2835-aux-uart";
interrupts = <0x1 0x1d>;
linux,phandle = <0x19>;
@@ -511,18 +513,18 @@
status = "disabled";
};
- spi0: spi@7e204000 {
+ spi0: spi: spi@7e204000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
clocks = <0x4 0x14>;
compatible = "brcm,bcm2835-spi";
- cs-gpios = <0x8 0x8 0x1 0x8 0x7 0x1>;
+ cs-gpios = <0x9 0x8 0x1 0x9 0x7 0x1>;
dma-names = "tx", "rx";
dmas = <0x5 0x6 0x5 0x7>;
interrupts = <0x2 0x16>;
linux,phandle = <0x1b>;
phandle = <0x1b>;
- pinctrl-0 = <0x9 0xa>;
+ pinctrl-0 = <0x7 0x8>;
pinctrl-names = "default";
reg = <0x7e204000 0x1000>;
status = "disabled";
@@ -547,17 +549,17 @@
spi1: spi@7e215080 {
#address-cells = <0x1>;
#size-cells = <0x0>;
- clocks = <0xc 0x1>;
+ clocks = <0xb 0x1>;
compatible = "brcm,bcm2835-aux-spi";
interrupts = <0x1 0x1d>;
reg = <0x7e215080 0x40>;
status = "disabled";
};
- spi2: spi@7e2150C0 {
+ spi2: spi@7e2150c0 {
#address-cells = <0x1>;
#size-cells = <0x0>;
- clocks = <0xc 0x2>;
+ clocks = <0xb 0x2>;
compatible = "brcm,bcm2835-aux-spi";
interrupts = <0x1 0x1d>;
reg = <0x7e2150c0 0x40>;
@@ -574,15 +576,9 @@
firmware = <0x11>;
};
- timer {
- always-on;
- clock-frequency = <0x124f800>;
- compatible = "arm,armv7-timer";
- interrupt-parent = <0x2>;
- interrupts = <0x0 0x1 0x3 0x2>;
- };
-
usb: usb@7e980000 {
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
compatible = "brcm,bcm2708-usb";
interrupts = <0x2 0x0 0x1 0x9>;
reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
@@ -590,6 +586,7 @@
v3d: v3d@7ec00000 {
compatible = "brcm,vc4-v3d";
+ interrupts = <0x1 0xa>;
reg = <0x7ec00000 0x1000>;
status = "disabled";
};
@@ -609,7 +606,14 @@
linux,phandle = <0x21>;
phandle = <0x21>;
reg = <0x7e100000 0x28>;
- status = "okay";
};
};
+
+ timer {
+ always-on;
+ clock-frequency = <0x124f800>;
+ compatible = "arm,armv7-timer";
+ interrupt-parent = <0x2>;
+ interrupts = <0x0 0x1 0x3 0x2>;
+ };
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment