x86: dts: link: Add board ID GPIOs
authorSimon Glass <sjg@chromium.org>
Mon, 7 Mar 2016 02:28:12 +0000 (19:28 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:23 +0000 (10:27 +0800)
At present the board ID GPIOs are hard-coded. Move them to the device tree
so that we can use general SDRAM init code.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/dts/chromebook_link.dts

index 12f315e66a71567fc3d5b927fd859cfad22aa9f4..a702ea9d60d1b874539009992034f53aa3608157 100644 (file)
@@ -74,6 +74,8 @@
                northbridge@0,0 {
                        reg = <0x00000000 0 0 0 0>;
                        compatible = "intel,bd82x6x-northbridge";
+                       board-id-gpios = <&gpio_b 9 0>, <&gpio_b 10 0>,
+                                       <&gpio_b 11 0>, <&gpio_a 10 0>;
                        u-boot,dm-pre-reloc;
                        spd {
                                compatible = "memory-spd";