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/b5de2ccdbcf16e68ad82f892fa3f93b1 to your computer and use it in GitHub Desktop.
Save notro/b5de2ccdbcf16e68ad82f892fa3f93b1 to your computer and use it in GitHub Desktop.
--- /dev/fd/63 2016-10-03 16:20:14.108032098 +0200
+++ /dev/fd/62 2016-10-03 16:20:14.108032098 +0200
@@ -17,8 +17,8 @@
i2c0_baudrate = [00 00 00 1b 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c1 = [00 00 00 1c 73 74 61 74 75 73 00];
i2c1_baudrate = [00 00 00 1c 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_baudrate = "", "", "", "\rclock-frequency:0";
- i2c2_iknowwhatimdoing = "", "", "", "\rstatus";
+ i2c2_baudrate = "", "", "", "\fclock-frequency:0";
+ i2c2_iknowwhatimdoing = "", "", "", "\fstatus";
i2s = [00 00 00 19 73 74 61 74 75 73 00];
random = [00 00 00 15 73 74 61 74 75 73 00];
sd_overclock = <0x16 0x6272636d 0x2c6f7665 0x72636c6f 0x636b2d35 0x303a3000>;
@@ -31,7 +31,6 @@
aliases {
audio = "/soc/audio";
aux = "/soc/aux@0x7e215000";
- clocks = "/clocks";
dma = "/soc/dma@7e007000";
fb = "/soc/fb";
gpio = "/soc/gpio@7e200000";
@@ -40,7 +39,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";
@@ -49,7 +48,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";
@@ -62,19 +61,31 @@
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 = <0x2>;
phandle = <0x2>;
- reg = <0x6>;
+ reg = <0x3>;
+ };
+ };
+
+ leds: leds {
+ compatible = "gpio-leds";
+
+ act_led: act {
+ gpios = <0x8 0x2f 0x0>;
+ label = "led0";
+ linux,default-trigger = "mmc0";
+ linux,phandle = <0x12>;
+ phandle = <0x12>;
};
};
@@ -105,12 +116,12 @@
#clock-cells = <0x1>;
clocks = <0x3 0x14>;
compatible = "brcm,bcm2835-aux";
- linux,phandle = <0xb>;
- phandle = <0xb>;
+ linux,phandle = <0xa>;
+ phandle = <0xa>;
reg = <0x7e215000 0x8>;
};
- cprman: cprman@7e101000 {
+ cprman: clocks: cprman@7e101000 {
#clock-cells = <0x1>;
clocks = <0x2>;
compatible = "brcm,bcm2835-cprman";
@@ -160,8 +171,8 @@
gpio-controller;
interrupt-controller;
interrupts = <0x2 0x11 0x2 0x12>;
- linux,phandle = <0x7>;
- phandle = <0x7>;
+ linux,phandle = <0x8>;
+ phandle = <0x8>;
reg = <0x7e200000 0xb4>;
audio_pins: audio_pins {
@@ -172,22 +183,22 @@
i2c0_pins: i2c0 {
brcm,function = <0x4>;
brcm,pins = <0x0 0x1>;
- linux,phandle = <0xa>;
- phandle = <0xa>;
+ linux,phandle = <0x9>;
+ phandle = <0x9>;
};
i2c1_pins: i2c1 {
brcm,function = <0x4>;
brcm,pins = <0x2 0x3>;
- linux,phandle = <0xc>;
- phandle = <0xc>;
+ linux,phandle = <0xb>;
+ phandle = <0xb>;
};
i2s_pins: i2s {
brcm,function = <0x4>;
brcm,pins = <0x12 0x13 0x14 0x15>;
- linux,phandle = <0x6>;
- phandle = <0x6>;
+ linux,phandle = <0x5>;
+ phandle = <0x5>;
};
mmc_pins: mmc_pins {
@@ -198,32 +209,31 @@
sdhost_pins: sdhost_pins {
brcm,function = <0x4>;
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
- linux,phandle = <0x5>;
- phandle = <0x5>;
+ linux,phandle = <0xe>;
+ phandle = <0xe>;
};
spi0_cs_pins: spi0_cs_pins {
brcm,function = <0x1>;
brcm,pins = <0x8 0x7>;
- linux,phandle = <0x9>;
- phandle = <0x9>;
+ linux,phandle = <0x7>;
+ phandle = <0x7>;
};
spi0_pins: spi0_pins {
brcm,function = <0x4>;
brcm,pins = <0x9 0xa 0xb>;
- linux,phandle = <0x8>;
- phandle = <0x8>;
+ linux,phandle = <0x6>;
+ phandle = <0x6>;
};
};
gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x1000>;
- status = "okay";
};
- gpu: gpu {
+ gpu: vc4: gpu {
compatible = "brcm,bcm2835-vc4";
status = "disabled";
};
@@ -232,15 +242,17 @@
clock-names = "pixel", "hdmi";
clocks = <0x3 0x10 0x3 0x19>;
compatible = "brcm,bcm2835-hdmi";
- ddc = <0xd>;
- hpd-gpios = <0x7 0x2e 0x0>;
- power-domains = <0xe 0x5>;
+ ddc = <0xc>;
+ hpd-gpios = <0x8 0x2e 0x0>;
+ interrupts = <0x2 0x8 0x2 0x9>;
+ power-domains = <0xd 0x5>;
reg = <0x7e902000 0x600 0x7e808000 0x100>;
status = "disabled";
};
hvs: hvs@7e400000 {
compatible = "brcm,bcm2835-hvs";
+ interrupts = <0x2 0x1>;
reg = <0x7e400000 0x6000>;
status = "disabled";
};
@@ -254,7 +266,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x1b>;
phandle = <0x1b>;
- pinctrl-0 = <0xa>;
+ pinctrl-0 = <0x9>;
pinctrl-names = "default";
reg = <0x7e205000 0x1000>;
status = "disabled";
@@ -269,7 +281,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x1c>;
phandle = <0x1c>;
- pinctrl-0 = <0xc>;
+ pinctrl-0 = <0xb>;
pinctrl-names = "default";
reg = <0x7e804000 0x1000>;
status = "disabled";
@@ -282,8 +294,8 @@
clocks = <0x3 0x14>;
compatible = "brcm,bcm2708-i2c";
interrupts = <0x2 0x15>;
- linux,phandle = <0xd>;
- phandle = <0xd>;
+ linux,phandle = <0xc>;
+ phandle = <0xc>;
reg = <0x7e805000 0x1000>;
status = "disabled";
};
@@ -296,7 +308,7 @@
dmas = <0x4 0x2 0x4 0x3>;
linux,phandle = <0x19>;
phandle = <0x19>;
- pinctrl-0 = <0x6>;
+ pinctrl-0 = <0x5>;
pinctrl-names = "default";
reg = <0x7e203000 0x24>;
status = "disabled";
@@ -311,18 +323,6 @@
reg = <0x7e00b200 0x200>;
};
- leds: leds {
- compatible = "gpio-leds";
-
- act_led: act {
- gpios = <0x7 0x2f 0x0>;
- label = "led0";
- linux,default-trigger = "mmc0";
- linux,phandle = <0x12>;
- phandle = <0x12>;
- };
- };
-
mailbox: mailbox@7e00b800 {
#mbox-cells = <0x0>;
compatible = "brcm,bcm2835-mbox";
@@ -347,18 +347,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";
};
@@ -367,8 +370,8 @@
#power-domain-cells = <0x1>;
compatible = "raspberrypi,bcm2835-power";
firmware = <0x10>;
- linux,phandle = <0xe>;
- phandle = <0xe>;
+ linux,phandle = <0xd>;
+ phandle = <0xd>;
};
pwm: pwm@7e20c000 {
@@ -386,7 +389,6 @@
linux,phandle = <0x15>;
phandle = <0x15>;
reg = <0x7e104000 0x10>;
- status = "okay";
};
sdhost: sdhost@7e202000 {
@@ -399,7 +401,7 @@
dmas = <0x4 0xd>;
interrupts = <0x2 0x18>;
non-removable;
- pinctrl-0 = <0x5>;
+ pinctrl-0 = <0xe>;
pinctrl-names = "default";
reg = <0x7e202000 0x100>;
status = "okay";
@@ -418,7 +420,7 @@
};
uart1: serial@7e215040 {
- clocks = <0xb 0x0>;
+ clocks = <0xa 0x0>;
compatible = "brcm,bcm2835-aux-uart";
interrupts = <0x1 0x1d>;
linux,phandle = <0x18>;
@@ -443,18 +445,18 @@
status = "disabled";
};
- spi0: spi@7e204000 {
+ spi0: spi: spi@7e204000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
clocks = <0x3 0x14>;
compatible = "brcm,bcm2835-spi";
- cs-gpios = <0x7 0x8 0x1 0x7 0x7 0x1>;
+ cs-gpios = <0x8 0x8 0x1 0x8 0x7 0x1>;
dma-names = "tx", "rx";
dmas = <0x4 0x6 0x4 0x7>;
interrupts = <0x2 0x16>;
linux,phandle = <0x1a>;
phandle = <0x1a>;
- pinctrl-0 = <0x8 0x9>;
+ pinctrl-0 = <0x6 0x7>;
pinctrl-names = "default";
reg = <0x7e204000 0x1000>;
status = "disabled";
@@ -479,17 +481,17 @@
spi1: spi@7e215080 {
#address-cells = <0x1>;
#size-cells = <0x0>;
- clocks = <0xb 0x1>;
+ clocks = <0xa 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 = <0xb 0x2>;
+ clocks = <0xa 0x2>;
compatible = "brcm,bcm2835-aux-spi";
interrupts = <0x1 0x1d>;
reg = <0x7e2150c0 0x40>;
@@ -509,6 +511,8 @@
};
usb: usb@7e980000 {
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
compatible = "brcm,bcm2708-usb";
interrupts = <0x2 0x0 0x1 0x9>;
reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
@@ -516,6 +520,7 @@
v3d: v3d@7ec00000 {
compatible = "brcm,vc4-v3d";
+ interrupts = <0x1 0xa>;
reg = <0x7ec00000 0x1000>;
status = "disabled";
};
@@ -535,7 +540,6 @@
linux,phandle = <0x14>;
phandle = <0x14>;
reg = <0x7e100000 0x28>;
- status = "okay";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment