Skip to content

Instantly share code, notes, and snippets.

@notro
Created October 3, 2016 16:24
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/f439d7d36b4d230f05299e7df6fba30e to your computer and use it in GitHub Desktop.
Save notro/f439d7d36b4d230f05299e7df6fba30e to your computer and use it in GitHub Desktop.
--- /dev/fd/63 2016-10-03 16:20:14.388032113 +0200
+++ /dev/fd/62 2016-10-03 16:20:14.388032113 +0200
@@ -19,8 +19,8 @@
i2c0_baudrate = "", "", "", "!clock-frequency:0";
i2c1 = "", "", "", "\"status";
i2c1_baudrate = "", "", "", "\"clock-frequency:0";
- i2c2_baudrate = [00 00 00 12 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_iknowwhatimdoing = [00 00 00 12 73 74 61 74 75 73 00];
+ i2c2_baudrate = [00 00 00 10 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
+ i2c2_iknowwhatimdoing = [00 00 00 10 73 74 61 74 75 73 00];
i2s = [00 00 00 1f 73 74 61 74 75 73 00];
random = "", "", "", "&status";
sd_debug = "", "", "", "'brcm,debug";
@@ -36,7 +36,6 @@
aliases {
audio = "/soc/audio";
aux = "/soc/aux@0x7e215000";
- clocks = "/clocks";
dma = "/soc/dma@7e007000";
fb = "/soc/fb";
gpio = "/soc/gpio@7e200000";
@@ -45,7 +44,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";
@@ -54,7 +53,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";
@@ -67,19 +66,19 @@
bootargs = "8250.nr_uarts=1";
};
- 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>;
};
};
@@ -130,6 +129,18 @@
};
};
+ leds: leds {
+ compatible = "gpio-leds";
+
+ act_led: act {
+ gpios = <0x17 0x0 0x0>;
+ label = "led0";
+ linux,default-trigger = "mmc0";
+ linux,phandle = <0x23>;
+ phandle = <0x23>;
+ };
+ };
+
memory {
device_type = "memory";
reg = <0x0 0x0>;
@@ -153,7 +164,7 @@
compatible = "brcm,bcm2835-audio";
linux,phandle = <0x24>;
phandle = <0x24>;
- pinctrl-0 = <0x17>;
+ pinctrl-0 = <0x16>;
pinctrl-names = "default";
status = "disabled";
};
@@ -162,12 +173,12 @@
#clock-cells = <0x1>;
clocks = <0x4 0x14>;
compatible = "brcm,bcm2835-aux";
- linux,phandle = <0xe>;
- phandle = <0xe>;
+ linux,phandle = <0xd>;
+ phandle = <0xd>;
reg = <0x7e215000 0x8>;
};
- cprman: cprman@7e101000 {
+ cprman: clocks: cprman@7e101000 {
#clock-cells = <0x1>;
clocks = <0x3>;
compatible = "brcm,bcm2835-cprman";
@@ -217,15 +228,15 @@
gpio-controller;
interrupt-controller;
interrupts = <0x2 0x11 0x2 0x12>;
- linux,phandle = <0xa>;
- phandle = <0xa>;
+ linux,phandle = <0xb>;
+ phandle = <0xb>;
reg = <0x7e200000 0xb4>;
audio_pins: audio_pins {
brcm,function = <0x4>;
brcm,pins = <0x28 0x29>;
- linux,phandle = <0x17>;
- phandle = <0x17>;
+ linux,phandle = <0x16>;
+ phandle = <0x16>;
};
bt_pins: bt_pins {
@@ -239,51 +250,51 @@
i2c0_pins: i2c0 {
brcm,function = <0x4>;
brcm,pins = <0x0 0x1>;
- linux,phandle = <0xd>;
- phandle = <0xd>;
+ linux,phandle = <0xc>;
+ phandle = <0xc>;
};
i2c1_pins: i2c1 {
brcm,function = <0x4>;
brcm,pins = <0x2 0x3>;
- linux,phandle = <0x11>;
- phandle = <0x11>;
+ linux,phandle = <0xf>;
+ phandle = <0xf>;
};
i2s_pins: i2s {
brcm,function = <0x4>;
brcm,pins = <0x12 0x13 0x14 0x15>;
- linux,phandle = <0x9>;
- phandle = <0x9>;
+ linux,phandle = <0x8>;
+ phandle = <0x8>;
};
sdhost_pins: sdhost_pins {
brcm,function = <0x4>;
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
- linux,phandle = <0x8>;
- phandle = <0x8>;
+ linux,phandle = <0x12>;
+ phandle = <0x12>;
};
sdio_pins: sdio_pins {
brcm,function = <0x7>;
brcm,pins = <0x22 0x23 0x24 0x25 0x26 0x27>;
brcm,pull = <0x0 0x2 0x2 0x2 0x2 0x2>;
- linux,phandle = <0x10>;
- phandle = <0x10>;
+ linux,phandle = <0x13>;
+ phandle = <0x13>;
};
spi0_cs_pins: spi0_cs_pins {
brcm,function = <0x1>;
brcm,pins = <0x8 0x7>;
- linux,phandle = <0xc>;
- phandle = <0xc>;
+ linux,phandle = <0xa>;
+ phandle = <0xa>;
};
spi0_pins: spi0_pins {
brcm,function = <0x4>;
brcm,pins = <0x9 0xa 0xb>;
- linux,phandle = <0xb>;
- phandle = <0xb>;
+ linux,phandle = <0x9>;
+ phandle = <0x9>;
};
uart0_pins: uart0_pins {
@@ -298,18 +309,17 @@
brcm,function;
brcm,pins;
brcm,pull;
- linux,phandle = <0xf>;
- phandle = <0xf>;
+ linux,phandle = <0xe>;
+ phandle = <0xe>;
};
};
gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x1000>;
- status = "okay";
};
- gpu: gpu {
+ gpu: vc4: gpu {
compatible = "brcm,bcm2835-vc4";
status = "disabled";
};
@@ -318,15 +328,17 @@
clock-names = "pixel", "hdmi";
clocks = <0x4 0x10 0x4 0x19>;
compatible = "brcm,bcm2835-hdmi";
- ddc = <0x12>;
- hpd-gpios = <0xa 0x2e 0x1>;
- power-domains = <0x13 0x5>;
+ ddc = <0x10>;
+ hpd-gpios = <0xb 0x2e 0x1>;
+ interrupts = <0x2 0x8 0x2 0x9>;
+ power-domains = <0x11 0x5>;
reg = <0x7e902000 0x600 0x7e808000 0x100>;
status = "disabled";
};
hvs: hvs@7e400000 {
compatible = "brcm,bcm2835-hvs";
+ interrupts = <0x2 0x1>;
reg = <0x7e400000 0x6000>;
status = "disabled";
};
@@ -340,7 +352,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x21>;
phandle = <0x21>;
- pinctrl-0 = <0xd>;
+ pinctrl-0 = <0xc>;
pinctrl-names = "default";
reg = <0x7e205000 0x1000>;
status = "disabled";
@@ -355,7 +367,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x22>;
phandle = <0x22>;
- pinctrl-0 = <0x11>;
+ pinctrl-0 = <0xf>;
pinctrl-names = "default";
reg = <0x7e804000 0x1000>;
status = "disabled";
@@ -368,8 +380,8 @@
clocks = <0x4 0x14>;
compatible = "brcm,bcm2708-i2c";
interrupts = <0x2 0x15>;
- linux,phandle = <0x12>;
- phandle = <0x12>;
+ linux,phandle = <0x10>;
+ phandle = <0x10>;
reg = <0x7e805000 0x1000>;
status = "disabled";
};
@@ -382,7 +394,7 @@
dmas = <0x7 0x2 0x7 0x3>;
linux,phandle = <0x1f>;
phandle = <0x1f>;
- pinctrl-0 = <0x9>;
+ pinctrl-0 = <0x8>;
pinctrl-names = "default";
reg = <0x7e203000 0x24>;
status = "disabled";
@@ -399,18 +411,6 @@
reg = <0x7e00b200 0x200>;
};
- leds: leds {
- compatible = "gpio-leds";
-
- act_led: act {
- gpios = <0x16 0x0 0x0>;
- label = "led0";
- linux,default-trigger = "mmc0";
- linux,phandle = <0x23>;
- phandle = <0x23>;
- };
- };
-
local_intc: local_intc {
#interrupt-cells = <0x1>;
compatible = "brcm,bcm2836-l1-intc";
@@ -439,7 +439,7 @@
dmas = <0x7 0xb>;
interrupts = <0x2 0x1e>;
non-removable;
- pinctrl-0 = <0x10>;
+ pinctrl-0 = <0x13>;
pinctrl-names = "default";
reg = <0x7e300000 0x100>;
status = "okay";
@@ -447,18 +447,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";
};
@@ -467,8 +470,8 @@
#power-domain-cells = <0x1>;
compatible = "raspberrypi,bcm2835-power";
firmware = <0x15>;
- linux,phandle = <0x13>;
- phandle = <0x13>;
+ linux,phandle = <0x11>;
+ phandle = <0x11>;
};
pwm: pwm@7e20c000 {
@@ -486,7 +489,6 @@
linux,phandle = <0x26>;
phandle = <0x26>;
reg = <0x7e104000 0x10>;
- status = "okay";
};
sdhost: sdhost@7e202000 {
@@ -500,7 +502,7 @@
interrupts = <0x2 0x18>;
linux,phandle = <0x27>;
phandle = <0x27>;
- pinctrl-0 = <0x8>;
+ pinctrl-0 = <0x12>;
pinctrl-names = "default";
reg = <0x7e202000 0x100>;
status = "okay";
@@ -521,12 +523,12 @@
};
uart1: serial@7e215040 {
- clocks = <0xe 0x0>;
+ clocks = <0xd 0x0>;
compatible = "brcm,bcm2835-aux-uart";
interrupts = <0x1 0x1d>;
linux,phandle = <0x1e>;
phandle = <0x1e>;
- pinctrl-0 = <0xf>;
+ pinctrl-0 = <0xe>;
pinctrl-names = "default";
reg = <0x7e215040 0x40>;
status = "okay";
@@ -548,18 +550,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 = <0xa 0x8 0x1 0xa 0x7 0x1>;
+ cs-gpios = <0xb 0x8 0x1 0xb 0x7 0x1>;
dma-names = "tx", "rx";
dmas = <0x7 0x6 0x7 0x7>;
interrupts = <0x2 0x16>;
linux,phandle = <0x20>;
phandle = <0x20>;
- pinctrl-0 = <0xb 0xc>;
+ pinctrl-0 = <0x9 0xa>;
pinctrl-names = "default";
reg = <0x7e204000 0x1000>;
status = "disabled";
@@ -584,17 +586,17 @@
spi1: spi@7e215080 {
#address-cells = <0x1>;
#size-cells = <0x0>;
- clocks = <0xe 0x1>;
+ clocks = <0xd 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 = <0xe 0x2>;
+ clocks = <0xd 0x2>;
compatible = "brcm,bcm2835-aux-spi";
interrupts = <0x1 0x1d>;
reg = <0x7e2150c0 0x40>;
@@ -629,6 +631,7 @@
v3d: v3d@7ec00000 {
compatible = "brcm,vc4-v3d";
+ interrupts = <0x1 0xa>;
reg = <0x7ec00000 0x1000>;
status = "disabled";
};
@@ -648,8 +651,8 @@
compatible = "brcm,bcm2835-virtgpio";
firmware = <0x15>;
gpio-controller;
- linux,phandle = <0x16>;
- phandle = <0x16>;
+ linux,phandle = <0x17>;
+ phandle = <0x17>;
status = "okay";
};
@@ -658,7 +661,6 @@
linux,phandle = <0x25>;
phandle = <0x25>;
reg = <0x7e100000 0x28>;
- status = "okay";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment